Numerical Methods
Interpolation
Laboratory Activity 4
I. Objectives
1. Develop algorithms for a given task using pseudocodes.
2. Implement the pseudocodes into a program using Matlab.
II.Problems
The upward velocity of a rocket is given as a function of time in Table 1.
Find the velocity at t=16 seconds
t V(t)
0 0
10 227.04
15 362.78
20 517.35
22.5 602.97
30 901.67
Table 1. Velocity as a function of time
Use Direct, Newton’s Divided Difference and Langrange.
III. Methodology
<Discuss your solution to the problems here, including the pseudocodes and the code
themselves. Put the codes inside a box, labeling them appropriately. Use Courier
New font when typing the codes>
Problem 1
Problem 2
Problem 3
Problem 4
IV. RESULTS AND INTERPRETATION
<For each of the problems, provide screenshots on the flow of the program just created.
Interpret the results of the algorithm as to its accuracy, precision, etc.>
Problem 1
Problem 2
Problem 3
Problem 4
V. CONCLUSIONS AND RECOMMENDATIONS
VI. REFERENCES