Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
I B.Tech. Regular Examinations, June -2005
INTRODUCTION TO COMPUTERS
( Common to Civil Engineering, Mechanical Engineering, Chemical
Engineering, Mechatronics, Metallurgy & Material Technology and
Production Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1 of 2
Code No: RR10106 Set No.1
(b) Write an algorithm for Gauss - Jordan method.
7. (a) Derive the formula to estimate the polynomial of degree n using Lagrange
interpolation method.
(b) Find the 3rd polynomial to fit the following points:
i 1 0 1 3
F(X) 6 2 2 10
Using Newton’s forward formula.
8. (a) Use simple Runge-Kutta 4th order method of order 2 to obtain solution to
dy
differential equation dx = xy 2 ; y(1) = 2 at the points x=1.2,x=1.4 taking h
= .2.
R3 p
(b) Using trapezoidal rule, approximately calculate the value of 1 dx/ (1 + x)
with
i. four intervals and
ii. six intervals.
?????
2 of 2
Code No: RR10106 Set No.2
I B.Tech. Regular Examinations, June -2005
INTRODUCTION TO COMPUTERS
( Common to Civil Engineering, Mechanical Engineering, Chemical
Engineering, Mechatronics, Metallurgy & Material Technology and
Production Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
4. (a) What is a function? Explain the difference between user defined and library
functions
(b) Write a user defined function to compare two strings in C
7. (a) Given the following table find approximately the value of y-0.5.
x: 0 1 2 3 4 5
y: 27 32 25 36 32 41
Using Newton’s forward difference formula.
1 of 2
Code No: RR10106 Set No.2
(b) Fit a straight line for the following data.
x: 1 2 3 4 5
y: 3 4 5 6 8
Rb
8. (a) Derive the formula to evaluate a ydx using trapezoidal rule.
R1 dx
(b) Use the trapezoidal rule with n=4 to estimate 1+x2
Correct to four decimal
0
places.
dy
(c) Tabulate the values of y at x=.1 to .5 using Eulers method given that dx
=
x + y, y(0) = 1
?????
2 of 2
Code No: RR10106 Set No.3
I B.Tech. Regular Examinations, June -2005
INTRODUCTION TO COMPUTERS
( Common to Civil Engineering, Mechanical Engineering, Chemical
Engineering, Mechatronics, Metallurgy & Material Technology and
Production Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
7. (a) Explain the difference between the forward difference table and backward dif-
ference table?
(b) Construct difference table for the following data:
x 0.1 0.3 0.5 0.7 0.9 1.1 1.3
F(x) 0.003 0.067 0.148 0.248 0.370 0.518 0.697
1 of 2
Code No: RR10106 Set No.3
And find F(0.6) using a cube that fits at x=0.3, 0.5, 0.7 and 0.9 using Newton’s
forward formula.
Rπ
8. (a) By dividing the range into ten equal parts, evaluate Sinxdx by Simpsons
0
rule. Verify your answer with integration.
(b) Solve the following differential equation by Euler modified method
dy
dx
= 2xy, y (0) = 0.5 solution for 1 ≥ x ≥ 0
?????
2 of 2
Code No: RR10106 Set No.4
I B.Tech. Regular Examinations, June -2005
INTRODUCTION TO COMPUTERS
( Common to Civil Engineering, Mechanical Engineering, Chemical
Engineering, Mechatronics, Metallurgy & Material Technology and
Production Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????
1 of 2
Code No: RR10106 Set No.4
(b) Construct difference table for the following data:
x 0.1 0.3 0.5 0.7 0.9 1.1 1.3
F(x) 0.003 0.067 0.148 0.248 0.370 0.518 0.697
And find F(0.6) using a cube that fits at x=0.3, 0.5, 0.7 and 0.9 using Newton’s
forward formula.
dy
8. (a) Use Eulers modified method to find approximate values of the solution of dx
= y-x + 5 at the points x = 2.1, 2.2. with initial condition y(2) = 1
(b) State the trapezoidal rule and describe the algorithmic procedure for the trape-
zoidal rule.
?????
2 of 2