Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
177 views

Comp It Assignment

This document contains 8 questions regarding the fitting of curves to data sets using the method of least squares. The questions involve: 1) Finding straight line fits to 5 different data sets 2) Fitting curves of varying forms (linear, quadratic, exponential) to 7 different data sets. The document provides the data sets and asks to find the curve of best fit using the least squares method for each question. It also asks to estimate values based on the fitted curves for some of the questions.

Uploaded by

gobinath
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views

Comp It Assignment

This document contains 8 questions regarding the fitting of curves to data sets using the method of least squares. The questions involve: 1) Finding straight line fits to 5 different data sets 2) Fitting curves of varying forms (linear, quadratic, exponential) to 7 different data sets. The document provides the data sets and asks to find the curve of best fit using the least squares method for each question. It also asks to estimate values based on the fitted curves for some of the questions.

Uploaded by

gobinath
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

V. V. P.

Engineering College
ASSINMENT-1
Sem IV Numerical and Statistical methods
Fitting of a curve

Q.1. By the method of least squares, find the straight line that best fits the following data :
X 1.53 1.78 2.60 2.95 3.42

Y 33.50 36.30 40.00 45.85 53.40

Q.2. A simply supported beam carries a concentrated load P(lb) at its midpoint. Corresponding to
various values of P, the maximum deflection Y(in) is measured. The data is given below:
P 100 120 140 160 180 200

Y 0.45 0.55 0.60 0.70 0.80 0.85


Find a law of the form Y = a + bP using least square method. [Summer, 2015]

Q.3. Obtain the least squares straight line fit to the following data :
X 0.2 0.4 0.6 0.8 1

Y 0.447 0.632 0.775 0.894 1

Q.4. Fit a second degree parabola y a x 2 b x c in the least square sense for the following data
and hence estimate y at x = 6.
X 1 2 3 4 5

Y 10 12 13 16 19

Q.5. Fit a second degree curve of the form y b x 2 a x to the following data by the method of
least squares.
X 1 2 3 4 5

Y 1.8 5.1 8.9 14.1 19.8

Q.6. Fit a curve of the form y a b x for the data and hence find the estimation for y when x = 8.

X 1 2 3 4 5 6 7

Y 87 97 113 129 202 195 193


Q.7. Fit a curve of the form y C e Ax for the data points: (0,1.5), (1,2.5),(2,3.5),(3,5.0),(4,7.5)

Q.8. Fit a curve of the form y a b x for the following data:.

X 50 450 780 1200 4400 4800 5300

Y 28 30 32 36 51 58 69
V. V. P. Engineering College
ASSIGNMENT-2
Sem IV Numerical and Statistical methods
Algebraic & transcendental

Q.1. Using Bisection/Bolzano method , Find the roots following equation correct up to 3
decimal places :
A) 2 x3 x2 20x 12 0
B) x2 4 x 10 0
B) x loge x 1.2
Q.2. State and Prove Newton-Raphson method.
Q.3. Using Newton-Raphson method, Find the roots following equation :
A) x cos x correct to 3 decimal places.

B) x 2sin x 0 near x0 . correct to 4 decimal places.
2
C) x sin x cos x 0 correct to 5 decimal places.
Q.4. Using Newton-Raphson method, Find the iterative formula of :
A) N and find 5 and 27
B) 3 N and find 3 82
1 1 1
C) and find and
N 7 365
Q.5. State and Prove Secant method in detail.
Q.6. Using Secant method , Find the root of the equation :
A) x 2 4 x 10 0 ( x 4, x 2 ) upto 6 iterations
0 1
B) e x 3x sin x 0 ( x0 0, x1 1 ) upto 4 decimal places
C) x3 2 x 5 0 ( x0 2, x1 3) upto x3
Q.7. Using Regula Falsi method , Find the root of the equation :
A) xe x 2
B) cos x 3 x 1
A) 2 x log x 6
V. V. P. Engineering College
ASSIGNMENT-3
Sem IV Numerical and Statistical Methods
Forward, Backward, Central

Q.1. Define:
1) Forward Difference Operator
2) Backward Difference Operator
3) Central Difference Operator
4) Average Operator

Q.2. Evaluate: 1) tan 1 x
1
2) n (e x ) 3)
f ( x)
f ( x)
4) 5) n sin(ax b)
g ( x)
6) 10 (1 ax)(1 bx2 )(1 cx3 )(1 dx4 ) 7) 4 (1 x )(1 2 x )(1 3x )(1 4 x )

1
Q.3. Verify: 1) 2) EE E 2 3) E ehD

4) h D sinh 1( ) 5) 2 6)

Q.4. Find the cubic Splines and evaluate y(1.5) and y '(3).
X 1 2 3 4
Y 1 2 5 11
Q.5. Obtain cubic Splines for every subinterval from the following data:
X 0 1 2 3
Y 1 2 33 244

Q.6. Find the linear polynomial approximation to the function x3 2 on [1,2] by Chebyshev
polynomials
Q.7. Find the linear polynomial approximation to the function x3 on [0,1] by Chebyshev
polynomials
V. V. P. Engineering College
ASSIGNMENT-4
Sem IV Numerical and Statistical Methods
Forward, Backward

Q.1. Using Gregary-Newton Forward formula, Find the value of f(1.6) if


X 1 1.4 1.8 2.2
F(x) 3.49 4.82 5.96 6.5

Q.2. The area A of circle of diameter d is given for the following table :
d 80 85 90 95 100
A 5026 5674 6362 7088 7854

Calculate the area of the circle of diameter 105.

Q.3. Find the number of men getting wages between Rs. 10 and Rs. 15 from following table :
Wages in Rs. 0-10 10-20 20-30 30-40
Frequency 9 30 35 42

Q.4. Construct Newtons forward interpolation polynomial from following table:


X 4 6 8 10
Y 1 3 8 16

Q.5. Find a polynomial of degree two which takes the following values using Newtons Backward
interpolation formula:
X 0 1 2 3 4 5 6 7
Y 1 2 4 7 11 16 22 29

Q.6. Using Newtons Backward formula, find the polynomial of degree 3 passing through (3,6),
(4,24), (5,60) and (6,120).

Q.7. Using Gausss forward formula, evaluate f(3.75) from the table:
X 2.5 3.0 3.5 4.0 4.5 5.0
Y 24.145 22.043 20.225 18.644 17.262 16.047
Q.8. Apply Gausss backward formula to find sin 450 form the following table:

0 20 30 40 50 60 70 80
sin 0.34202 0.502 0.64279 0.76604 0.86603 0.93969 0.98481

V. V. P. Engineering College
ASSIGNMENT-5
Sem IV Numerical and Statistical Methods
Bessel, Stirling, Lagrange

Q.1. Using Stirling formula to evaluate f(1.22), given :


X 1.0 1.1 1.2 1.3 1.4
F(x) 0.841 0.891 0.932 0.963 0.985

Q.2. Employ Bessels formula to find the value of F at x = 1.95, given :


X 1.7 1.8 1.9 2.0 2.1 2.2 2.3
F 2.979 3.144 3.283 3.391 3.463 3.997 4.491
Which other interpolation formula can be used here? Which is more appropriate? Give
reason.
1
Q.3. If f ( x ) find the divided differences a , b and a , b , c .
x
Q.4. Given log10 654 2.8156, log10 658 2.8182, lo g10 659 2.8189, log10 661 2.8202, find by the
Langrange formula, the value of log10 656.
Q.5. Given f (0) 18, f (1) 0, f (3) 0, f (5) 248, f (6) 0, f (9) 13104, find f ( x).
3x 2 12 x 11
Q.6. Express the function f ( x) as a sum of partial fractions, using
( x 1)( x 2)( x 3)
Langranges formula.

Q.7. Using Newton Divided Difference formula, evaluate f(8) and f(15), given :
X 4 5 7 10 11 13
F(x) 48 100 244 950 1210 2028

Q.8. Using Newton Divided Difference formula,find f(x) from following table:
X 0 1 2 4 5 6
F(x) 1 14 15 5 6 19
V. V. P. Engineering College
ASSIGNMENT-6
Sem IV Numerical and Statistical Methods
Gauss Seidel & Elimination

Q.1. Apply Gauss Elimination method to solve the equations:


A) x 4 y z 5; x y 6z 12; 3x y z 4
B) 2x y z 10; 3x 2 y 3z 18; x 4 y 9 z 16
C) 2x 2 y z 12; 3x 2 y 2z 8; 5x 10 y 8 z 10
D) 8 y 2z 7; 3x 5 y 2z 8; 6x 2 y 8 z 26
Q.2. Apply Gauss-Seidel method to solve the equations:
A) 83x 11y 4z 95; 7 x 52 y 13z 104; 3x 8 y 29 z 71
B) 6x y z 6; x 8 y 2z 4; 3x 2 y 10 z 1
C) 20x y 2z 17; 3x 20 y z 18; 2 x 3 y 20 z 25
D) 10 x1 x2 x3 12 ; 2 x1 x3 13 ; 2 x1 2 x2 10x3 14 (Nov 2011)
Q.3. Find the dominant Eigen value of the following matrices by Power series method and hence
find the other Eigen value also verify your result by any other matrix theory:
3 5 1 2
A) B)
2 4 5 4
1 1 2 2 0 1

C) 0 1 1 D) 0 2 0
4 2 9 1 0 2

1 3 1 1 6 1

E) 3 2 4 D) 1 2 0
1 4 10 0 0 3
V. V. P. Engineering College
ASSIGNMENT-7
Sem IV Numerical and Statistical methods
Numerical Integration

6
1 1
Q.1. Evaluate 0 1 x dx taking h=1 using Simpsons
3
rule. Hence Obtain an approximate value

of ln7.
1.3
0.5 e
x2
Q.2. Evaluate dx using Simpsons rule with four strips and eight strips.

1
x2 1
Q.3. Evaluate
0
e dx by using trapezoidal rule and Simpsons rule with n=10. (June 2010)
3
6 3 1
Q.4. Evaluate the integral
2
(1 x 2 ) 2 dx by Simpsons
3
rule with taking 6 subintervals. Use

four digits after decimal point of calculations. (Dec 2012)


1
1 3
Q.5. Evaluate 0 1 x 2 dx taking n=10 using Simpsons
8
rule. (Nov 2011)

3
1 3
Q.6. Evaluate 0 1 x dx taking n=6 using Simpsons
8
rule and calculate ln2.

1.2
Q.7. Evaluate 0 ln(1 x 2 ) dx using Simpsons rule.

5.2
Q.8. Calculate the value of integral ln x dx (Nov 2011)
4
1
dx
Q.9. Evaluate 1 x taking 7 ordinates using Trapezoidal rule.
0
1
Q.10. Apply Trapezoidal and Simpson rule for 1 x 2 dx .
0
1
0 exp( x
2
Q.11. Evaluate ) dx by using Gaussian Integration formula for n=3.

2
Q.12. Evaluate 0 sin x dx by using Gaussian Quadrature three point formula.
1
x
cos x e dx by using Gauss-Legendre for four point formula.
2
Q.13. Evaluate
0
1
1
Q.14. Evaluate 1 x 2 dx
by using Gaussian Integration for n=2 and n=3.
1


2

Q.15. Evaluate 0 sin d by using Simpsons rule with h
12
.

3
Q.16. Find an approximate value of loge 5 by calculating to 4 decimal places by Simpsons rule,
8
5
dx
0 4 x 5 dividing the range into 10 equal parts.
3
3 1
0 sin x
2
Q.17. Evaluate dx by using Simpsons rule and Simpsons rule and compare result
8 3
with n=6.
1
dt
Q.18. Evaluate 1 t by the Gaussian formula. (Nov 2011)
0
3
Q.19. Evaluate sin x dx by using Gaussian Quadrature five point formula. ( Nov 2010)
1
Q.20. A river is 80 meters wide. The depth d in meters at a distance x meters from one bank is
given by the following table. Calculate the area of croos section of the river using Simpsons
1
. (Nov 2011)
3
X 0 10 20 30 40 50 60 70 80

D 0 4 7 9 12 15 14 8 3
V. V. P. Engineering College
ASSIGNMENT-8
Sem IV Numerical and Statistical Methods
Approximation of differential equation
Q.1. Using Taylor Series method, find correct to four decimal places
A)
dy x y and y(1) 0
dx
B) y ' 2 y 3 e x and y (0) 0
C) y ' x 2 y 1 and y (0) 1 and also find y (0.03)
D) y ' x 2 y 2 and y (0) 1 (June 2011)
E) y ' xy y 2 and y (0) 1 and also find y ( x ) at x 0.3

Q.2. Using Picards method solve the following O.D.E.


A) y ' x y2 and y(0) 1
B) y ' x y and y (0) 1
C) y ' 1 x y and y (0) 1 also find y(0.1) and y(0.2)
D) y ' x y and y (0) 1 also find y (0.2)
yx
E) y ' and y(0) 1 also find y(0.1)
yx
Q.3. Using Eulers method solve the following O.D.E.
A) y ' x 2 y and y (1) 1 also find y (2)
B) y ' x y and y(1) 1
2x
C) y ' y and y(0) 1 also find y(0.2)(Take h 0.1) (June 2011)
y
Q.4. Explain the Eulers method to find Numerical solution of
dy f ( x, y), y( x ) y .
dx 0 0

Q.5. Using Modified/Improved Eulers method solve the following O.D.E.


A) y ' x2 y and y(0) 1
B) y ' 2 x y and y(1) 1
C) y ' 1 2 xy and y (0) 0 taking h 0.2
D) y ' 2 xy 2 and y(0) 1 find y(1) (Take h 0.2) (June 2010)
dy
E) 1 y 2 and y(0) 0 and tabulate the solution at x 0.1, 0.2. Compare the answer
dx
with exact solution.
Q.6. Using Runge-Kutta method of 2nd order solve the following O.D.E.
A) y ' x2 y 2 and y(1) 0 and find the approximate value of y at x=1.2 (Take h = 0.1)
B) y ' x y 2 and y(0) 1 (Take h = 0.1)

Q.7. Using Runge-Kutta method of 4th order solve the following O.D.E.
A) y ' x
y and y(1) 2
x
B) y '
1
and y(0) 1 (Take h = 0.5)
x y
y2
C) y ' x2 and y (0) 1
4

D)
dy x y and y(0) 1 find y(0.2) (Take h 0.1)
dx
E)
dy x y 2 and y(0) 1.(Take h 0.1)
dx
dy
F) 1 y 2 and y(0) 0 and tabulate the solution at x 0.1, 0.2
dx

You might also like