**PLEASE AN IPO CHART AND A C++ PROGRAM FOR EACH QUESTION**
20. 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 5 0.6%. The first month’s interest on $1,000 is 1000 3 0.006 5 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 2 6 5 19. This means after making the first payment, the loan amount is 1, 000 2 19 5 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 3 0.006 5 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 2 5.89 5 19.11 and the remain- ing balance after the second payment is 981 2 19.11 5 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 out- puts the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first month’s 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.)

28. (Apartment problem) A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximize the profit?

Write a program that prompts the user to enter:

a. The total number of units.

b. The rent to occupy all the units.

c. The increase in rent that results in a vacant unit.

d. Amount to maintain a rented unit.

The program then outputs the number of units to be rented to maximize the profit.

30. Let n be an integer. The value of the expression lim (1 1 1 ) is n→` n written as e. This number e appears in many places in mathematics. For example, it appears in the formula A 5 Pert to compute the total mount accumulated when the interest is compounded continuously. It also appears in problems relating to exponential growth and decay. It is known that e is an irrational number. The value of e to nine decimal places is e 5 2.718281827. Write a program that computes the value n of the expression lim (1 1 1 ) between certain values of n and then n→` n compare the values with e. For example, you can compute the values of the expression between 100 and 10,000 with an increment of 100, or between 1,000 and 1,000,000 with an increment of 1,000.

Answers

Answer 1

answer is b

rtyujhygtrcdxrtgyhgtfr


Related Questions

Please Fix This For Me


print ("Please enter a number between 1 and 100")
n = input

if = n < 1 and n > 100:

if = (n // 2 == 0):
print (n, "is even")

if = (n // 3 == 0):
print (n, "is odd")

else:
print("You have not entered a number between 1 and 100.")

Answers

Answer:

The correction is as follows:

n = int(input("Please [tex]enter\ a[/tex] [tex]number\ between\ 1[/tex] and 100: "))

if n < 1 or n > 100:

   print("You [tex]have\ not[/tex] entered a [tex]number\ between\ 1[/tex] and 100.")

elif n % 2 == 0:

   print (n, "is even")

else:

   print (n, "is odd")

Explanation:

See attachment for explanation

How SPARQL 1.1 has advantage over SPARQL 1.0??​

Answers

SPARQL 1.0 became an official W3C Recommendation on 15 January 2008. On 26 March 2013, the SPARQL Working Group has produced a new W3C Recommendation SPARQL 1.1 that introduces more features to 2008 version. SPARQL is emerging as the de facto RDF query language. Prior to SPARQL, there were some other popular RDF query languages, such as RQL, SeRQL, TRIPLE, RDQL, and so on. The comprehensive...

Consider the following method:
public static String joinTogether(int num, String[] arr)
{
String result = "";
for (String x : arr)
{
result = result + x.substring(0, num);
}
return result;
}

The following code appears in another method in the same class:
String[] words = {"dragon", "chicken", "gorilla"};
int number = 4;
System.out.println(joinTogether(number, words));

What is printed when the code above is executed?
a. dragonchickengorilla
b. drachigor
c. dragchicgori
d. dragochickgoril
e. There is an error in the program, it does not run

Answers

Answer: b.

Explanation:

When identifying who will send a presentation, what are the two types of audiences?

Answers

Answer:

Explanation:Demographic audience analysis focuses on group memberships of audience members. Another element of audience is psychographic information, which focuses on audience attitudes, beliefs, and values. Situational analysis of the occasion, physical setting, and other factors are also critical to effective audience analysis.

Using a tag, set the color to green for all tags.

Answers

Answer:

<style>

p {

background-color: rgb(255, 0, 0);

}

h1 {

background-color: rgb(0, 255, 0);

}

ol {

background-color: rgb(97,51,47);

}

</style>

Explanation:

Put this at the top of your code. It should target the paragraph tag, the header h1 tag, and the Ordered List (OL) tag individually and set their background colors respectively.

It's been a while since I've done CSS so you might have to tweak the syntax a bit, but it should look something like that.

Other Questions
Which fractions 1/3, 5/6, 3/4, 3/8 are closer to 0 than to 1? Which adaptations suit a beaver? What is the average? What is the area, in square meters, of the isosceles trapezoid below? 15.8 m 5-4 m 6.6 m Answer: A = ____ m squared Don drives his car 25 km east and then 312 km south. How far is he from his starting point? Round to the nearest tenth. pls helphow did president roosevelt acquire the right to build the panama canal? Name the polygon. Then tell whether it is a regular polygon or not a regular polygon. Please Help me and Thank you Find the measure of angle bplease help:) What is the speed of a wave that has a wavelength of 2m and frequency of 1.5 Hz?Doc Below Which sentence uses the past tense verb be in the subjunctive mood?(1 point)I wish he were more prolific.You are interested in reading.We were excited about his first book.He is an interesting author. Question 11. What is the product of 1.6 x 10- and 3.2 x 10' A. 5.12 x 10-4 B. 5.12 x 10 C.5.12 x 10 D. 5.12 x 104 please help will mark as brallinat in celebration of cyberproductions new fanfiction I am releasing links to everyone on brainly to check out in this question anyone who reads my fanfiction will get instant brainliest New Fanfiction is out now from Cyberproductions copy and paste the link to read the stories from the tales of team ultra-miraculous the adventures the cyber guard and now the battle of Detroit seen through the eyes of the crew of the U.S.S Cerritos as well as the Cyberlifers of the U.S.S Cerritos and the zenkaiger team of the Star trek universe this is also to celebrate the descendants of the zenkaiger team getting their own fanfiction as well as their own ship the U.S.S Zenkai in the works at cyberproductions as well all this and more is now available at fanfiction.net so get their now before their gone forever or gobbled up by the rest of the brainly community https://www.fanfiction.net/ https://www.fanfiction.net/s/13866010/1/Detroit-become-human-lower-decks https://www.fanfiction.net/s/13866633/1/star-trek-cyberlifehttps://www.fanfiction.net/s/13852747/1/Miraculous-Tales-of-Ladybug-and-cat-Noir-Become-Human What is the total surface area of this square pyramid? 204 cm2 384 cm2 72 cm2 240 cm2 LINKS = reported ,, anyways Ill give brainliest if ur right Find the volume of this sphere.Round to the nearest tenth.7inFormulas for SpheresS.A. = 41112Varr? 1 in 3 A food web is more realistic because a snakeA. has multiple adaptationsB. eats more than just frogsC. just feeds on birds The Student Monitor surveys 1200 undergraduates from 100 colleges semiannually to understand trends among college students. Recently, the Student Monitor reported that the average amount of time spent per week on the Internet was 19.0 hours. You suspect that this amount is far too small for your campus and plan a survey. You feel that a reasonable estimate of the standard deviation is 10.0 hours. What sample size is needed so that the expected margin of error of your estimate is not larger than one hour for 95% confidence George Washington is frequently considered the "Father of America." Likewise, his wife, Martha Washington, could also be considered the "Mother of America," as demonstrated by her roles as the general's wife and the first lady.During the American Revolution, Martha Washington earned the title of "Mother of America" for her caring nature as the general's wife. She was also very brave. Despite the danger of kidnapping, Martha refused to abandon her home, Mount Vernon, in Virginia. When Martha did leave the plantation for periods of time, she traveled to the military camps where Washington was staying. First, Martha had to be vaccinated so that she would not suffer from smallpox. Once she was inoculated, Martha made the risky trip to camp. British and American soldiers roamed the countryside, and capture was a real possibility. Nevertheless, Martha arrived at each winter camp. She acted as confidant and secretary to George Washington, who believed that her presence was crucial. She encouraged the soldiers, helped their wives, and comforted those who were wounded. One of her key roles was also to entertain important visitors to the camp. Occasionally, Martha Washington even represented George at events he could not attend. Martha used her position to contribute to fundraising efforts for military supplies in 1780 and knit socks for the soldiers herself. Overall, her care and attention to others' needs made her the "Mother of America" during the American Revolution.What evidence does the author use to support the idea that Martha Washington should be considered the "Mother of America"? aBritish and American soldiers roamed the countryside, and capture was a real possibility. bDespite the danger of kidnapping, Martha refused to abandon her home in Virginia. cFirst, Martha had to be vaccinated so that she would not suffer from smallpox. dShe encouraged the soldiers, helped their wives, and comforted those who were wounded. Can someone please help me with math. Y'know why do straight people have the word "straight" and us non-straight people have the word gay like why cant be called scenic or curvy