Presentation is loading. Please wait.

Presentation is loading. Please wait.

CREATE THE DIFFERENCE Before you start Please press F5 to run this show.

Similar presentations


Presentation on theme: "CREATE THE DIFFERENCE Before you start Please press F5 to run this show."— Presentation transcript:

1 CREATE THE DIFFERENCE Before you start Please press F5 to run this show.

2 CREATE THE DIFFERENCE Mathematical Software with Applications This module introduces MAPLE, some powerful mathematical software to help with for solving problems. The assessments consist of solving a problem with a ‘real-world’ application. The following is a typical example.

3 CREATE THE DIFFERENCE Root Finding Simulation software for marine applications requires the solution to the following problem: A spherical ball of radius r is submerged to a depth d in water as shown. Assuming that the ball has a radius of 10cm and a density of 0.3, how much of the ball will be submerged?

4 CREATE THE DIFFERENCE Solution Archimedes’ Principle states that That is, the mass of water displaced by the ball is equal to the mass of the ball. The mass of water displaced is: The mass of the ball is: Equating gives: This simplifies to a cubic equation for d:

5 CREATE THE DIFFERENCE Solution Substituting r=10 andgives: Plotting using MAPLE… This is the root needed

6 CREATE THE DIFFERENCE Solution A root-finding algorithm, Newton-Raphson iteration, is implemented within MAPLE. Choose a starting value and use an iterative formula to ‘home in’ on the root: > x[0]:=10; > for n from 0 to 5 do > x[n+1]:=x[n]- subs(d=x[n],f(d))/subs(d=x[n],diff(f(d),d)); > od;

7 CREATE THE DIFFERENCE Solution This generates a sequence of approximations to the root, each better than the last: Hence the ball floats submerged to a depth of 7.265 cm

8 CREATE THE DIFFERENCE The End Click here to go back to module informationhere


Download ppt "CREATE THE DIFFERENCE Before you start Please press F5 to run this show."

Similar presentations


Ads by Google