1. Bouncing ball Problem:. Dry run:. Initial height = 9

Added on - 16 Sep 2019

  • Dissertation

    type

  • 2

    pages

  • 200

    words

  • 41

    views

  • 0

    downloads

Showing pages 1 to 1 of 2 pages
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 1styear:Amount = 1375 + 80% of 1375 = 2475 PoundsCount = 2After 2ndYearAmount = 2475 + 80% of 2475 = 4455 PoundsCount = 3;After 3rdyearAmount = 4455 + 80 % of 4455 = 8019 PoundsCount = 4Iteraion NumberAmount beforeAmount AfterStatus113752475Continued224754455Continued344558019DoneSo,After 3 years total amount will become 8019 Pounds
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Unlock This Document