Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help with this code idk what i am doing wrong WRITE IN PYTHON Let p be a bank's interest rate in percent per

image text in transcribedi need help with this code idk what i am doing wrong WRITE IN PYTHON

Let p be a bank's interest rate in percent per year. An initial amount A_0 has then grown to A = A_0(1 + p/100)^n after n years. Make a program for computing how much money A has resulted from a given initial amount of money A0. (In other words, after your program executes, the variable A should contain the final amount of money resulting from the principle A0.) Your code should carry out the following steps: You should not define values for A0, n, and p in your answer, but will need to when composing your code. Calculate A from the necessary variables. For example, 1000 for three years at 5% interest becomes 1157.63. (Don't worry about rounding.) (This assignment is based on Langtangen, Exercise 1.6.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago