Question: Using python, write a code for the following problem. This rule is used to approximate the time required for prices to double due to inflation.

Using python, write a code for the following problem.

Using python, write a code for the following problem. This rule is

This rule is used to approximate the time required for prices to double due to inflation. If the inflation rate is r%, then the Rule of 72 estimates that prices will double in 72/r years. For instance, at an inflation rate of 6% prices double in about 72/6 or 12 years. Write a program to test the accuracy of this rule. For each interest rate from 1 to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (Assume prices increase at the end of each year.) Fig 3.82 shows the first five sets of values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!