Question: 1. Write Python code that asks the user to enter a value for x and then prints out the value of the following polynomial: 3x

 1. Write Python code that asks the user to enter a

1. Write Python code that asks the user to enter a value for x and then prints out the value of the following polynomial: 3x + 2c* - 52 r + 7.2 - 6. 2. Modify your code from question one so that the polynomial is evaluated using Horner's Rule. 3. Write Python code that asks the user for a loan amount, length of loan, and the annual percentage rate and then prints out the monthly payment amount, the total interest paid on the loan, and the total amount paid. You can use the following formula to calculate monthly payments: P 12t] 1200 1 (1 + 1200) where; P is the principle or loan amount, t is the loan amount in years, and r is the annual interest rate. For example: >>> Enter amount of loan: 500000 >>> Enter length of loan, in years: 30 >>> Enter the annual percentage rate: 4.25 Monthly payments: Total Interest Paid: Total Amount Paid: 2459.7 385492.0 885492.0

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!