0% found this document useful (0 votes)
27 views

Numerical Methods Lab4

This document provides an activity on numerical interpolation methods in MATLAB. Students are tasked with using direct interpolation, Newton's divided difference, and Lagrange interpolation to find the velocity of a rocket at t=16 seconds given a table of velocities over time. The activity involves writing pseudocode, implementing the code in MATLAB, running the simulations, and analyzing the results.

Uploaded by

ALlan ABiang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Numerical Methods Lab4

This document provides an activity on numerical interpolation methods in MATLAB. Students are tasked with using direct interpolation, Newton's divided difference, and Lagrange interpolation to find the velocity of a rocket at t=16 seconds given a table of velocities over time. The activity involves writing pseudocode, implementing the code in MATLAB, running the simulations, and analyzing the results.

Uploaded by

ALlan ABiang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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

You might also like