subject

Code Problem 1 in Python 2. Problem 1

A deposit of d dollars is invested at r interest rate (compounded continuously) for t yields: y(d, r, t) = de^rt
y(1000, .02, 10) = 1221.40275816017
For this first financial problem, don’t worry about rounding, just work to get the answer. Use import math and math. exp() which is the function that raises e to its arguments. math. exp(1) produces 2.718281828459045.

Non-Required Practice: If you would like to create a nicer answer and round your answers, use the round(value, places) function. Where value is the value you wish to round and places is the number of places you wish to round to.
round(1221.40275816017, 2) = 1221.40

Code in Python 2 and add “comments” explaining what the code is doing.


Code Problem 1 in Python 2.

Problem 1
A deposit of d dollars is invested at r interest rate (comp

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
You know the right answer?
Code Problem 1 in Python 2. Problem 1

A deposit of d dollars is invested at r interest...
Questions
question
Mathematics, 14.06.2021 21:20
question
Mathematics, 14.06.2021 21:20
Questions on the website: 13722361