



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




I B.Tech Semester Supplimentary Examinations, June 2009 COMPUTER PROGRAMMING AND NUMERICAL METHODS ( Common to Mechanical Engineering, Chemical Engineering, Mechatronics, Metallurgy & Material Technology, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆ ⋆ ⋆ ⋆ ⋆
(a) To print out hotels of a given grade in order of charges. (b) To print out hotels with room charges less than a given value. [8+8]
x 1.7 1.8 1.9 2.0 2.1 2. y 5.474 6.05 6.686 7.389 8.166 9. (b) Find y(30) using Gauss forward interpolation formula given that y(21)=18.4708, y(25)=17.8144, y(29)=17.107, y(33)=16.3432, y(37)=15.5154. [8+8]
0
dx 1+x using Booles rule taking h=.
(b) The table below shows the temperature f(t) as a function of time
t 1 2 3 4 5 6 7 f(t) 81 75 80 83 78 70 60
Use Simpson’s 1/3 method to estimate
1
f (t)dt [8+8]
i. Simpson’s 13 rd rule
ii. Trapezoidal rule. [8+8]
I B.Tech Semester Supplimentary Examinations, June 2009 COMPUTER PROGRAMMING AND NUMERICAL METHODS ( Common to Mechanical Engineering, Chemical Engineering, Mechatronics, Metallurgy & Material Technology, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆ ⋆ ⋆ ⋆ ⋆
x 4 5 7 10 11 13 f(x) 48 100 294 900 1210 2028 (b) Find the unique polynomial P(x) of degree2 or less such that P(1)=1, P(3)=27, P(4)=64 using Lagrange interpoaltion formula and Newton divided difference formula. [8+8]
I B.Tech Semester Supplimentary Examinations, June 2009 COMPUTER PROGRAMMING AND NUMERICAL METHODS ( Common to Mechanical Engineering, Chemical Engineering, Mechatronics, Metallurgy & Material Technology, Production Engineering and Automobile Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆ ⋆ ⋆ ⋆ ⋆
(a) Array of structures. (b) Structures within structures. [8+8]
x 0 1 2 3 4 y 5 12 37 86 165 (b) For X=20,25,32,49 and Cos(x) = 0.939, 0.906, 0.848, 0.656 find Cos(43) using Lagrange’s formula. [8+8]