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

Write Python code that asks the user to enter a value for x and then prints out the value of the following polynomial: 3x5+2x4-5x3-x2+7x-6.
Modify your code from question one so that the polynomial is evaluated using Horner's Rule.
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 the amortized monthly payments:
=rP1200[1-(1+r1200)-12t]
where; P is the principle or loan amount, t is the length of the loan 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
\table[[Monthly payments:,2459.7],[Total Interest Paid:,385491.8],[Total Amount Paid:,885491.8]]
 Write Python code that asks the user to enter a value

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!