Você está na página 1de 3

Group Assignment of MS3200 Numerical Analysis

One group consists of maximum 5 members

Submit on 7 February 2019 (before course start)

Report must be covered with group data consisting of Student Name, Student Number, and
Signature of the member

1. The strain value of axial changes in the rectangular rod is given as ε = F


h 2E

where: F = axial force (N), h = height of cross section (m), E = Modulus Young (Pa), The
experimental results give F = 72 + 0.9 N, h = 4 + 0.1 mm, and E = 70+1.5 GPa.
Determine the error range of the strain measurement.

2. The natural exponent form can be expressed in the MacLaurin series as written below.
Make a flow chart and program code to get results of the series up to an error of less than
0.01% and the maximum number of iterations 1000 times. Give results from the
computer from the program code that you created. Also explain if in this series only the
first 3 terms are taken, what kind of error arises from the action.

Hint: array arrangement in the following order:


1
x
x2 x3 xn 1+
ex = 1+ x + + ++  1
2 3! n! x x x
1+ + ⋅
1 1 2
x x x x x x
1+ + ⋅ + ⋅ ⋅
1 1 2 1 2 3

etc.

3. Sine functions can be evaluated using a non-infinite series:

Make an algorithm and program code to evaluate the function of the sinus. To prevent
infinite repetitive loops, parameters that control significance of the calculation looping
must be introduced in the algorithm.
4. Evaluate the following polynomial at x = 2.36. Use three arithmetic numbers with cuts.
Evaluation of the percentage of relative errors with respect to the values obtained from
the results of double precision calculations.
𝑦𝑦 = 𝑥𝑥 3 − 7𝑥𝑥 2 + 8𝑥𝑥 − 0.35

5. Apply the following equation for the problem of jumpers when free fall:
𝑔𝑔𝑔𝑔
𝑣𝑣(𝑡𝑡) = �1 − 𝑒𝑒 −(𝑐𝑐/𝑚𝑚 )𝑡𝑡 �
𝑐𝑐
Write down the assumptions used in decreasing the equation. Use first-order analysis to
estimate errors from v at t = 7.5 seconds. Use the following data: g = 9.8 m/s2, m = 55 kg,
but c = 10.7 ± 1.5.

6. Determine the real root of the following equation:


𝑓𝑓(𝑥𝑥) = −26 + 85𝑥𝑥 − 91𝑥𝑥 2 + 44𝑥𝑥 3 − 8𝑥𝑥 4 + 𝑥𝑥 5
a. Using the graph method with excel
b. Using the bisection method with a relative error smaller than ɛs = 5% with the initial
guess value xl = 0.5 and xu = 1.0..
c. Using the modified secant method with errors relatively smaller than ɛs = 0.1% and
the initial guessing value x = 0.6 and dx = 0.001
d. Using the Newton Raphson method with an initial guess x = 1

7. You are asked to design a ball-shaped tank to hold water in a village (see picture). The
volume of water that must be able to be accommodated can be calculated by the
following equation:

[3𝑅𝑅 − ℎ]
𝑉𝑉 = 𝜋𝜋ℎ2
3
Where V = volume (m3), h = height of water in tank (m), and R = radius of tank (m). If R
= 3.5 m, what is the depth of the tank that must be filled with water so that the water
volume reaches 35 m3? Use the Secant method to determine your answer and determine
the relative error for every iteration that has been made.
8. Create a generally accepted program code to calculate the root of the Polynomal equation
which ranks n with the Bairstow method. Give an example of the calculation results for a
polynomial equation with all its real roots, and for polynomial equations whose roots are
real and complex.

9. Make group discussions about existing root methods and summarize the main advantages
and disadvantages of each method.

10. Create general algorithms and program codes using the simple fixed point iteration
method to calculate x from the xn = b, where n is greater than 0 and lower 8 and b is a
positive number. Test for example case n = 2, 3, 5, and 7, b = 100, count x, and other
examples. Give examples of results running on the program code that you have created.
Compare with the root method given in the following flow diagram, can this method be
called simple fixed point iteration.

Good Luck

Você também pode gostar