Skip to content

Latest commit

 

History

History
243 lines (169 loc) · 9.25 KB

README.md

File metadata and controls

243 lines (169 loc) · 9.25 KB

✅ Numerical Methods

Numerical-Methods

🤔Not familiar with GitHub Interface?



📜Practical Questions

Q1)   Write a C program to calculate the Mean, Median and Mean Deviation of a simple distribution.

Q2)   Write a C program to compute the Standard Deviation.

Q3)   Write a C program to implement the Least Square Approximation for fitting a Straight line y=mx+c, where "m" is the slope and "c" is the intercept on the y-axis for data points:

(-1,10), (0,9), (1,7), (2,5), (3,4), (4,3), (5,0), (6,-1)

Q4)   Write a C program to find the real root of the equation x3-4x+1 = 0 by using the Method of Successive Approximation.

Q5)   Write a C program to find a real root of the equation x2-sin(x)-9 = 0 by using the Bisection Method.

Q6)   Write a C program to find a root of the equation x2-25 = 0 by using the Regula-False Method.

Q7)   Write a C program to find a real root of the equation sin(x) = 1+x3 correct to 3 decimal places by using the Newton-Raphson Method.

Q8)   Write a C program to solve the following set of equations by Gauss Elimination Method:

2.x1 + 4.x2 + 2.x3 = 15

2.x1 + x2 + 2.x3 = -54

x1 + x2 - 2.x3 = 0

Q9)   Write a C program to solve the following set of equations by Gauss-Seidel Method:

27x + 6y - z = 85
6x + 15y + 2z = 72
x + y + 54z = 110	

Q10)   Write a C program to interpolate a function using Newton's Divided Difference Formula. Use it to find the value of f(8). Given:

   x:	4	 	5	 	7		10		11	12
f(x):	48	 	100		294		900		1210	2028

Q11)   Write a C program to interpolate using Newton's Forward Interpolation Method. Use it to find the value of y when x = 1.05. Given:

x:	1.0		    1.1		    1.2		    1.3		    1.4		    1.5
y:	0.24197		0.21785		0.19419		0.17137		0.14973		0.12952	

Q12)   Write a C program to interpolate using Newton's Backward Interpolation Method. Use it to find the value of y when x = 0.75. Given:

x:	0.0		 0.2		   0.4		   0.6		 0.8	    1.0
y:	1.0		0.961538	0.833333	0.555556	0.3125		0.2

Q13)   Write a C program to interpolate using Lagrange's Interpolation Method. Use it to find the value of y when x = 6. Given:

x:	 3		 7		 9		10
y:	168		120		72		63		

Q14)   Write a C program to evaluate the following using Trapezoidal Rule.

Q15)   Write a C program for Integrating Simpson's One-Third Rule when the function values are given as:

   x:	0.8		    0.9		    1.0		    1.1		    1.2
f(x):	0.71736		0.78333		0.84147		0.92314		0.96356

Q16)   Write a C program to evaluate the following using Simpson's One-Third Rule.

Q17)   Write a C program to evaluate the following using Simpson's Three-Eighth Rule.

Q18)   Write a C program for solving a differential equation

and y(0)=1. Find the values of y(0,1) and y(0,2) by using the Taylor Series Method.

Q19)   Write a C program for solving a differential equation

and y(0)=1. Find y(0,2) when h=0.01 by Euler's Method.

Q20)   Write a C program for solving a differential equation

and y(0)=1. Find y(0.02) when h=0.01 by Modified Euler's Method.

Q21)   Write a C program to approximate y when x=0.1, 0.2, 0.3 and h=0.1 using Runge-Kutta Method. Given x=0, when y=1 and f(y,x)=x+y.

Q22)   Huen's Method.





🤖Join Community!

- Stuck at any question?
- Confusions regarding any solution provided?
- Want to discuss something regarding above topics?
- Want to connect with other students?

  • join JOIN HERE !!

     discord



🔁Connect With Me!



Give this Repository a STAR⭐

(If you find this repository helpful)
Thank You!!💞

Made with 💖 by Anuj Das