Question: please provide python for Q5 Q6 Q7 each in seperate txt boxes Q1: Collect the data you need to amortize a note (from a user).






Q1: Collect the data you need to amortize a note (from a user). - interestrate - term (number of periods) - loar amount Use an infinite loop to ensure valid data was provided by the uset. C. Fnter the anual interest rate: 2 Enter the tern in periods 3 - Vecify and transform interest rate (if necessary) to a decimal value - Are time-units consistent (e. 9 , are note term & interest, fate both the same units, such as monthly, if not, trans form values to make them them consistent). Did you ask a sufficiently specific question? When inspecting at the term of the note, what would be a reasonable tange of values if the user entered a value in years (use "and" logical operators to include both high and low limits)? When inspecting the interet rate, what would be a reasonable range of values if the user entered an annual rate (use and/or Iogical operator to include both high and low limits)? If time-units are not as you need them to be, make the necessary transformations to the values saved in the variables. + Code + Text If time-units are not as you need them to be, make the necessary transformations to the values saved in the variables. (x) Q3: Calculate payment amount (each period). - Payment for each period will be the same for the entire term of the note. PMT=P(i+1)n1i(i+1)n - PMT = payment due each period - P= intial borrowed amount - i= interest rate for the note - n= term of note - n= term of note Q4: We know, for each PMT: PMT = interest_expense + principle_payment - note_payable = amount borrowed (but only before the first payment) - For each payment: interest_expense = note_payable * interest_rate principle. payment = PMT - interest_expense note_-ayable = note_payable - principle_payment Calculate the following for your first payment: - interest_expense - principle payment - note_payment (before and after first payment) 1 k-pow(interent_rate+1, term) 2 3 pMr-loan_amount* (interest_rate)*k 4 5 PMT=PMT ((k1) 6 7 interest_expense=loan_amount interest_rate 8 princple payment-PMT-interest_expense 9 note_payment-loan_amount-princple_payment 10 Q5: Create a while loop to cycle through each period in the term of the note. Print the period number each time the loop cycles. - Must define a counter-variable to hold the current-period-number. - Loop stopping condition will consider the term of the loan. - Must remember to increment your counter-variable Q6: Of the many variables we have created, which values remain constant for the life of the note? Which values will change each period? Since this is a text solution, show your response as a comment. in [10]1 Q7: The variables that remain constant will appear above your period-loop. The variables - that change each period, will be placed inside the period-loop you created above. Print each variable each period (including the period number)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
