# lab 12

please read the instructions file , then go ahead and write the code that is being asked using the formula that I uploaded , so that you get the produced graph that is needed.
the_produced_graph.pdf

lab12_instructions.pdf

Don't use plagiarized sources. Get Your Custom Essay on
lab 12
Just from \$13/Page

compound_interest_formula.pdf

Unformatted Attachment Preview

4/7/2018
https://www.cs.montana.edu/paxton/classes/csci127/inlabs/lab12/graph.png
graph.png (667×566)
1/1
4/7/2018
CSCI 127, In-Lab 12
Lab 12: matplotlib
Logistics
Due: Thursday, April 12th no later than 11:59 p.m.
Partner Information: Complete this assignment individually.
Submission Instructions: Upload your solution, named YourFirstName-YourLastName-Lab12.py to the
BrightSpace Lab 12 Dropbox.
Deadline Reminder: Once this deadline passes, BrightSpace will no longer accept your Python submission
and you will no longer be able to earn credit. Thus, if you are not able to fully complete the assignment,
submit whatever you have before the deadline so that partial credit can be earned.
Learning Outcomes
Gain experience with matplotlib to display information.
Background
If an initial amount of money is deposited in a bank that pays interest, the future account balance can be
calculated using this Compound Interest Formula.
For this assignment, assume that interest is compounded once per year. In other words, for the formula
above, n = 1.
For this assignment, assume that the initial amount deposited is \$100 in the year 2018. In other words, P =
100.
Assignment
Write a python program that is named according to the instructions above. The program should use
matplotlib to visualize the impact of a 5% versus a 10% interest rate on an initial deposit of \$100.00. The
bank account amount should be displayed annually, starting in the year 2018 and ending in the year 2068.
The program should produce this graph as closely as possibly.
Grading – 10 points
1 point – The upper gray bar contains the words Compound Interest Display for Starting Amount of \$100.
1 point – The x-axis is labeled Year and the y-axis is labeled Dollars.
1 point – The x-axis goes from 2018 to 2068 and the y-axis goes from 0 to 12500.
1 point – A box in the upper left part of the graph labels the black plus symbols as 5% interest and the blue
plus symbols as 10% interest.
2 points – 51 black plus symbols appear in the graph (1 point) and show the correct amounts (1 point).
2 points – 51 blue plus symbols appear in the graph (1 point) and show the correct amounts (1 point).
2 points – The underlying python code is of high quality and uses functions appropriately to avoid repeated
code (all or nothing).
If Time Remains
Work on Program 5, seeking feedback from your lab assistant if desired.
https://www.cs.montana.edu/paxton/classes/csci127/inlabs/lab12/
1/1
4/7/2018
Compound Interest Formula
Compound Interest Formula
P
r
t
A
n
= principal amount (the initial amount you borrow or deposit)
= annual rate of interest (as a decimal)
= number of years the amount is deposited or borrowed for.
= amount of money accumulated after n years, including interest.
= number of times the interest is compounded per year
Example:
An amount of \$1,500.00 is deposited in a bank paying an annual interest rate of 4.3%,
compounded quarterly. What is the balance after 6 years?
Solution:
Using the compound interest formula, we have that
P = 1500, r = 4.3/100 = 0.043, n = 4, t = 6. Therefore,
So, the balance after 6 years is approximately \$1,938.84.
https://qrc.depaul.edu/StudyGuide2009/Notes/Savings%20Accounts/Compound%20Interest.htm
1/1

Purchase answer to see full
attachment

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works?

Follow these simple steps to get your paper done

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

## Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.