# Bouncing Ball and Bank Account

2 Pages200 Words155 Views
|
|
|
1. Bouncing ball Problem: Dry run:Initial height = 9750 cmCount = 1;After First iteration:Height = 40 % off 9750 = 3900 cmCount = 2After Second iteration:Height = 40 % off 3900 = 1560 cmCount = 3After Third iteration:Height = 40 % off 1560 = 624 cmCount = 4Iteraion NumberHeight BeforeHeight afterStatus197503900Continued239001560Continued31560624DoneSo, After third bounce back ball will reach to height of 624 cm.2. Bank Account interestDry run:Initial Amount = 1375 poundsCount = 1;After 1st year:Amount = 1375 + 80% of 1375 = 2475 PoundsCount = 2After 2nd YearAmount = 2475 + 80% of 2475 = 4455 PoundsCount = 3;After 3rd yearAmount = 4455 + 80 % of 4455 = 8019 PoundsCount = 4Iteraion NumberAmount beforeAmount AfterStatus113752475Continued224754455Continued344558019DoneSo, After 3 years total amount will become 8019 Pounds

## End of preview

Want to access all the pages? Upload your documents or become a member.

### Support

#### +1 306 205-2269

Chat with our experts. we are online and ready to help.