You are on page 1of 4
Printed Pages — 4 Roll No, 328451(28) B. E. (Fourth Semester) Examination, April-May 2020 (New Scheme) (Et & T Branch) NUMERICAL ANALYSIS Using C Time Allowed : Three hours Maximum Marks : 80 Minimum Pass Marks : 28 Note : Attempt ali questions. Part (a) of each question is compulsory and carries 2 marks. Attempt any two from (b), (c) and (a) which carry 7 marks each, * ~ Unit 1. (a) What do you mean by variable? 2 328451 (28) PTO (b) © @) (a) (b) © @) (a) (b) ©) {2] Explain different operators used in C with example Write a ‘c’ program to calculate factorial of a number. Explain if and else construct with example. Unit-IT What do you mean by array? Explain various loop’ control structures with example. What do you mean by call by value and call by reference support your answer by example. Write a program to find out average marks obtained by class of 30 students in a class. Unit-IL What do you mean by pointer? Explain recursion with an example. Write the usage of following function : @ stropy .. (i) strlen 328451(28) x @ 4. (a) (b) (©) @ 5. (a) (b) [3] (iii) strcmp (iv) streat What is structure? Support your ensure with example. Unit-IV What are applications of numerical method? Find the root of equation ye‘ = cos x, using the second method correct to four decimal places. Find by Newton’s Raphson method the real root of equation 3x =cos.x+1 correct to four decimal places. Find a root of equation y?-4y-9=0, using the Bisection method correct to three decimal places. Unit-V Give Simpson's 1/3 rule for numerical integration. Apply Runge-Kutta fourth order method to find an appromate value of y when x —().2 given that 328451(28) Pro 14] dy —=x+y and y=1 when y=0. 7 dx . (©) Using Milne’s method and y=(4-3) given 5x + v7 =0 given v(4) = 1.(4-1) = 1-0049, v(4-2) = 1-0097. y(4-3)=1-0143, y(4-4) = 1-0187 7 (d) Using Eular’s method find approximate value of y corresponding to y =}, given that dv —=x+yy=1 when y=-0. 7 dx 100] 328451(28)

You might also like