Saturday, February 12, 2011

Assignment - 2 & 3 -- Scientific And Statistical Computing

Scientific and Statistical Computing

Assignment – II

  1. Write a program in C/C++ to convert a decimal number to binary number.
  2. Write a program to convert binary number to decimal number.
  3. Write a program to calculate roots of the following quadratic equation.

ax2 + bx + c = 0

  1. Write a program to implement Lagrange’s interpolation method.

Assignment – III

  1. Write a program in C/C++ to implement Newton’s forward difference interpolation method.
  2. Write a program in C/C++ to implement Newton’s backward difference interpolation method.
  3. Write a program to implement Newton’s divided difference interpolation method.
  4. Write a program to solve the values of x and y from the following equations:

A1x + B1y = 0

A2x + B2y = 0

2 comments:

upasana said...

sir wer v hve to submit d assgnment??

Vimal Soni said...

sir what about the practical lab for statistical computing??