e followir reater tha
Q: IIsina Picat Writ ea tu uncti on sn bere volume tunction that Com nute s the volu me ota s bere Cven…
A: Algorithm Step1: open a function in picat Step2: to compute the volume of a sphere we have a formula…
Q: go; going lie O ling O lying
A: Answer: lying given, go; going lie using proportional logic let's solve it:
Q: It . almost every day in Manchester rain O rains O is raining O do rain O
A: Here the process is about both present and past. Hence is raining cannot be used. Therefore rains…
Q: JESTIOF n Hadoop O Yes
A: It is only suitable for Batch Processing of Huge amount of Data, which is already in Hadoop System.…
Q: When would yo Oa. When w A hor
A: Explanation When software is being created by teams who are not co-located, Agile should not be…
Q: Friend, friendly. Joy joyful O joyous O
A: The second form is the adjective form of the first word.
Q: .Hi, my name is Mohammed Same to you O pleased to meet you O good night O
A: Answer to the given question: Hi, My name is Mohammed is the starting sentence when we meet someone…
Q: s a) Hoore to Healy Con hest the b) Medly to Moome
A:
Q: Dy = Aj Aj + Az Ai
A:
Q: Wh ded te me e O R O PO O Serve
A: LAN or Local area network is a network in which some computers are connected to each other to form a…
Q: A A e TI detey eu spron aae so d ON OF
A:
Q: k with me that sing tin Oto ach
A:
Q: C = ceacsie!=me>ece==iell lie%me/tip+ceall+tip'ece%me; 12 1 -20
A: c = cea<=ie!=me>ece==ie || (ie%me/(tip+cea))+tip*ece%me; I have simplified both the…
Q: ed into New York Harbour in 1524
A: given - Verrazzano, an Italian ____ little is known, sailed into New York Harbour in 1524
Q: tell = told, told, see SO seed O
A: A verb is a word that use to refer to action .
Q: Caider he Cons the cammur focoo Tis cas? The Tal tms of ion
A: Solution: Given,
Q: Living in France is hard work O a mess fast asleep O exciting O оо
A: Answer: Exciting Living in France is.
Q: ea/ea, SL ae/ea,RR la/ce,RR eb/eb, SL be/eb,RR 2b/ee,RR ec/ec, SL ce/ec,RR 3c/ee,RR ze/ee, SL…
A: It works from the middle out. The language is over a,b,ca,b,c. But this also uses tape symbols a,b,c…
Q: Astudent wants to measue the oue ofa irulr jaged genstone. The sudent shoud measue he volume of…
A: As per the Guidelines, we can only answer one question at a time. We are answering first question,…
Q: (LOM)* SLOM LL LL = L+ L* = LL* + {2}
A: A regular expression is a pattern that the regular expression engine attempts to match in the input…
Q: Ame he ceofeetisnd pe cloet i Qw dc Ter cle Qwik de e w e ed give inpe for which Qui
A: The answer is
Q: ivate otected
A: Explanation The private modifiers can be used for members but cannot be utilized for classes and…
Q: he lloing pranar Bb/Cd elan
A: The answer for the following grammar is
Q: he H llow
A: On the harr wavelet we will find tge averages and the coefficients as…
Q: onsider lass A
A: class A{int i;void display(){System.out.println(i);}}class B extends A{int j;void…
Q: y apponet, and (4he vinning magia" fo ce berween the nns scoed by Redar and gam should pri, cleaty…
A: The given sum of the function is explained in below code with the example as shown.
Q: Piease discuss wh nguages which you e hich la
A: The language I know is C++ C ++ is a platform language that can be used to create advanced…
Q: *I brought vegetables some O any
A: In the above question we have to complete the sentence.
Q: wo numbe sum is le rect answe
A:
Q: Which of th notebook p anopto-me-
A: A trackball is basically an optomechanical mouse turned upside down Trackball
Q: an inst kes 10 ry inst Assur
A:
Q: Thou Lunoh at 1:0o
A: 1. They have lunch at 1 pm They -----> plural So have is used plurals ---->are,have,had…
Q: Attached Files: sample.txt (11.069 KB) You will only get one submission. I need a python…
A: Three counters are used to keep track of the running count of the words being read from the supplied…
Q: I wonder why Maha . . so nice to .me today. She doesn't usually like that are O is being O is O was…
A: This requires a sentence to be completed with grammatically right word chosen from the options. In…
Q: nemory ze of a mber o et the c or to tr
A:
Q: Do you know how age tha puilding is? "I would say th
A: "Do you know how age that building is? "I would say that it was built at least 100 years ago," True…
Q: 2 Fiod a solticn to de follwig remr euation
A: The answer for the following recurrence equation is
Q: Where ........ your father come ?from Do O Does had
A: This question is answered as per English grammar rules.
Q: om cyl he tota algorit Fthe va
A:
Q: o. C i the ca n the sa mory ac s. Calcu
A:
Q: oite CH puaguam to prent forcst Stouting from loo even numbers 2.)
A: Print first 100 even numbers starting from 2. Solution- While loop that runs 100 times, print the…
Q: i Gir THREE camls of dekty ukiskng seftwan. i. Gomment on the following statement "Tdrióm was a big…
A: NOTE :- Below i explain the answer in my own words by which you understand it well. Otherwise…
Q: ns this
A: a. Prove that Q is true with: 1. P → Q 2. L ∧ M → P 3. B ∧ L → M 4. A ∧ P → L 5. A ∧ B → L 6. A 7. B
Q: tion tha
A: #create method which is used for creating account as per your requirement
Q: mory ons am the me ck cycl ne brar s each
A:
Q: /hich of the hen we kno erations:
A: given - Which of the following loops is best when we know the number of iterations:
Q: Is il parsible lo aveid dala hazals vio Hhr use of for waning ?
A: Solution - In the given question, we have to tell is it possible to avoid the data hazard via the…
Q: lacall te mlaepbal.ty Hat tHhe 2014 Jey Clarobee had uhich made t psible for o obe lijaded nendely…
A: answer is given below as
Q: my friend . . visited me with his ... ...... family shall O will O have O had O
A: the answer to this question:
Q: Ploae spacty tde tatumant ia ruor Ti rietty expinin why a. In ar lutranes, all parkra mn anscal:…
A: To do : True or false with explanation
![i and j are two double variables.
Which of the following increases j by
12% if i is greater than half j.
if(i > 0.5 * j) j += 0.12 * j;
O if(i > 0.5 * j) j = 0.12 * j;
O if(i > Math.pow(j, 0.5)) j += j %12;
O if(i > 0.5 * j) j += 12%;](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F345452f0-ce9d-46a4-9b1b-fcf190df7b17%2F914276c3-7327-4d29-ad37-8665ad22504d%2Fweodgbn_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- Interest on a credit card’s unpaid balance is calculated using the average daily balance. Suppose that netBalanceis the balance shown in the bill, paymentis the payment made, d1is the number of days in the billing cycle, and d2is the number of days payment is made before the billing cycle. Then the average daily balance is: averageDailyBalance = (netBalance * d1 –payment * d2) / d1 if the interest rate per month is say, 0.0152, then the interest on the unpaid balanceis: interest = averageDailyBalance * 0.0152 Design a program that accepts as input netBalance, payment, d1, d2, and interest rate per month. The program outputs the interest charged. Format your output to two decimal places. C++Interest on a credit card’s unpaid balance is calculated using the average daily balance. Suppose that netBalance is the balance shown in the bill, payment is the payment made, d1 is the number of days in the billing cycle, and d2 is the number of days payment is made before billing cycle. Then, the average daily balance is: averageDailyBalance = (netBalance * d1 – payment * d2) / d1 If the interest rate per month is, say, 0.0152, then the interest on the unpaid balance is: interest = averageDailyBalance * 0.0152 Instructions Write a program that accepts as input netBalance, d1, payment, d2, and interest rate per month (interestRate). The program outputs the interest. Format your output to two decimal places. Input: 100 30 50 7 9.7 Output: 856.83 Test case 2: Input: 255.76 31 55 3 12.3 output: 3080.38Interest on a credit card’s unpaid balance is calculated using the average daily balance. Suppose that netBalance is the balance shown in the bill, payment is the payment made, d1 is the number of days in the billing cycle, and d2 is the number of days payment is made before billing cycle. Then, the average daily balance is: averageDailyBalance = (netBalance * d1 – payment * d2) / d1 If the interest rate per month is, say, 0.0152, then the interest on the unpaid balance is: interest = averageDailyBalance * 0.0152 Write a program that accepts as input netBalance, d1, payment, d2, and interest rate per month (interestRate). The program outputs the interest. Format your output to two decimal places.
- Interest on a credit card’s unpaid balance is calculated using the averagedaily balance. Suppose that netBalance is the balance shown in the bill, payment is the payment made, d1 is the number of days in the billing cycle, and d2 is the number of days payment is made before billing cycle. Then, the average daily balance is:averageDailyBalance = (netBalance * d1 – payment * d2) / d1If the interest rate per month is, say, 0.0152, then the interest on the unpaid balance is:interest = averageDailyBalance * 0.0152Write a program that accepts as input netBalance, payment, d1, d2, and interest rate per month. The program outputs the interest. Format your output to two decimal places.Which of the following will count up from 1 to 10 correctly? for ( int j= 10; j 1; j-- ) O for ( int j = 1;j<= 10; j-- )When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first months interest on $1,000 is 1000 0.006 = 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 6 = 19. This means after making the first payment, the loan amount is 1,000 19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 0.006 = 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 5.89 = 19.11 and the remaining balance after the second payment is 981 19.11 = 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then outputs the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first months interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)
- Question 4 Rewrite the following statement without using variables. Then, give an exam- ple that shows the statement is true. There exist two real numbers a and b such that ab > a + b. Question 5 Rewrite the following statement without using variables. Then, give an exam- ple that shows the statement is false. For any positive integer n, n³ > n².: While travelling in a train, you observe some college students pulling the alarm chain simply to get down at their desired point. Out of n students m<=n times students pull the chain .You have to print according to the following: 1) If m is >=80 % of n then print strict action is required to restrict this event 2) If m is between 50 to 80 % then print guidelines should be issued 3) If between 10 to 50% then print request to restrict the event 4) If less than 10% then print No action requiredThere are two variables about graduate students’ time use: hrschool = average number of hours spent on school each week and hrjob = average number of hours spent on their jobs each week. (These two variables do not overlap and there are no missing data.) You want to create a new variable hschjob, which: = 1 if the number of hours for school and for the job are each less than or equal to 20 hours per week, = 2 if school is more than 20 hours but job is 20 or less, = 3 if school is 20 or less, but job is over 20, and = 4 if both school and job are each more than 20 hours per week. Write Stata code to create hrschjob
- Interest on a credit card’s unpaid balance is calculated using the average daily balance. Suppose that netBalance is the balance shown in the bill, payment is the payment made, d1 is the number of days in the billing cycle, and d2 is the number of days payment is made before billing cycle. Then, the average daily balance is: averageDailyBalance = (netBalance * d1 - payment * d2) / d1. The interest on the unpaid balance is: interest = averageDailyBalance * interestRate where interestRate is the interest rate per month. Write a program that accepts as input netBalance, payment, d1, d2, and interestRate. The program outputs the interest. Format your output to two decimal places. Analyze and design this program. Write the code, compile and run it. Upload your analysis and design document and your .cpp source code file here.38. The geometric mean g of n numbers x; is defined as the nth root of the product of x;: g=Vx1x2X3•…Xn (This is useful, for example, in finding the average rate of return for an investment which is something you'd do in engineering economics). If an investment returns 15% the first year, 50% the second, and 30% the third year, the average rate of return would be (1.15*1.50*1.30)") Compute this.Assume you work as a cashier in a restaurant. You must keep track of the amount of money your restaurant earns each day and report it to your boss. If a customer purchases something, that amount is added to the daily income book.Take a customer's order and if a customer enters an "X," the order is complete, and print "Total cost of the items: ". In this way, 3 customers can order at maximum as your restaurant only serves three customers per day; after the service, print the day's total income; if the total money exceeds 500tk, print "Great Work". Otherwise, print "Do Best Next Day."Note: Write a function called “take_order()” that asks users to input food names, calculate the amount and show it to the customer. When the last customer buys, you need to also calculate the total income of the day and show it at the end. Assume that no customers enter invalid food names.The Dictionary ‘price_list’ is set for you and use it in the code for your convenience.price_list={'Juice':30, 'Fried…
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)