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

MC0074

This document contains two assignments for a Statistical and Numerical Methods using C++ course. Each assignment contains 6 questions testing various statistical and numerical analysis techniques. Assignment 1 covers calculating values to a specified number of significant digits, finding real roots of equations, calculating adjoints and inverses of matrices, determining eigenvectors and eigenvalues using power method, fitting curves using group averages method, and fitting straight lines using least squares method. Assignment 2 covers finding linear laws connecting variables using data, fitting cubic polynomials, using Lagrange interpolation, evaluating derivatives and integrals numerically, and applying the Runge-Kutta method.

Uploaded by

dashingvicky15
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
607 views

MC0074

This document contains two assignments for a Statistical and Numerical Methods using C++ course. Each assignment contains 6 questions testing various statistical and numerical analysis techniques. Assignment 1 covers calculating values to a specified number of significant digits, finding real roots of equations, calculating adjoints and inverses of matrices, determining eigenvectors and eigenvalues using power method, fitting curves using group averages method, and fitting straight lines using least squares method. Assignment 2 covers finding linear laws connecting variables using data, fitting cubic polynomials, using Lagrange interpolation, evaluating derivatives and integrals numerically, and applying the Runge-Kutta method.

Uploaded by

dashingvicky15
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

August 2010

Subject Code : MC0074 Assignment No: 01


Subject Name: Statistical and Numerical methods using C++
Marks: 60
Credits : 4 Bk Id B0812

Answer the following: Each question carries 10 Marks


1. Calculate the value of 102  101 , correct to four significant digits.

2. Find the real root of the equation xe x


 1  0 correct to four decimal places.

1 2 3
3. Find the adjoint and hence the inverse of A  1 3 4  .
1 4 3 

4. Determine the largest eigen value and the corresponding eigen vector of the
 6 2 2 
matrix A   2 3  1 by power method taking the initial vector as
 2 1 3 
1 1 1 t .

5. Use the method of group averages and find a curve of the form y  mx n that fits
the following data.
x 10 20 30 40 50 60 70 80

y 1.06 1.33 1.52 1.68 1.81 1.91 2.01 2.11

6. Using the method of least squares, find the straight line y = ax + b that fits the
following data
x 0.5 1.0 1.5 2.0 2.5 3.0

y 15 17 19 14 10 7

August 2010
Subject Code : MC0074 Assignment No: 02
Subject Name: Statistical and Numerical methods using C++
Marks: 60
Credits: 4 Bk Id B0812

Answer the following: Each question carries 10 Marks


1. If P is the pull required to lift a load W by means of a pulley block, find a linear
law of the form P = mW + C connecting P and W, using the following data
P 12 15 21 25
W 50 70 100 120

2. Find the cubic polynomial which takes the following values y(0) = 1, y(1) = 0,
y(2) = 1 and y(3) = 10 , hence obtain the value of y(0.5)?

3. Use Lagrange’s interpolation formula to fit a polynomial for the data


x 0 1 3 4
y -12 0 6 12
Hence estimate y at x = 2.

dy d 2y
4. Find and at x = 1 and x = 0 from the following data
dx dx 2
x 0 2 4 6 8
y 7 13 43 145 367

1
dx
5. Evaluate  1 x
0
2 using trapezoidal rule with h = 0.2, hence find the value of

.

6. Apply Runge-Kutta fourth order method to find an approximate value of y when


dy
x = 0.1 given that  x 2  y and y(0) = 1.
dx

You might also like