You are on page 1of 1

CEN 103: Numerical Methods and Computer Programming

B.Tech. 1st year, Civil Engineering Autumn 2022-23

Practical 8: Numerical differentiation

P1. The table represents data pertaining to velocity of a body at different time
instants. Write a C++ program to find the acceleration of the body at t=1.1s
using Newton’s Forward Difference Method.

t (s) 1.0 1.1 1.2 1.3 1.4


v (m/s) 43.1 47.7 52.1 56.4 60.8

P2. Write a C++ program to find y′(0.24) from the following data using Central
Difference Method:

X 0.17 0.19 0.21 0.23 0.25 0.27 0.29


Y 0.1761 0.3222 0.3617 0.4314 0.5051 0.5441 0.5912

P3. Write a C++ program to find the value of y′(0.4) using Newton’s Backward
Difference Method.

x 0.1 0.2 0.3 0.4

y 1.10517 1.22140 1.34986 1.49182

****

You might also like