Bengal Engineering and Science University 2007 B.E Electrical Engineering Numerical Methods and Computer Programming - Question Paper
Bx/BESUS/ EE-605/07
B.E. (EE) Part-III 6th Semester Examination, 2007
Numerical Methods and Computer Programming
Time : 3 hours Full Marks : 100
Use separate answerscript for each half.
Answer SIX questions, taking THREE from each half.
Two marks are reserved for neatness in each half.
1. a) What is LINUX and how it is different from UNIX?
b) Explain the features of LINUX processes and process manipulation commands.
c) Discuss about the file system permission in UNIX environment. [2+6+8]
2. a) Discuss function call by value and by reference with examples.
b) Fill up the blanks :
i) vi is an _
ii) Is stands for _
iii) killall is used to _
iv) A valid C variable name must be started with _
v) chown is used to _
vi) cp is used to _. [10+6]
3. a) Write a C function to find out the root of an equation.
b) Discuss functions and recursive function calls in C. [7+9]
4. a) How <, , > and | operators of UNIX operating system can be used with
appropriate examples.
b) What is a header file and why we need it? Write a sample library and header to integrate a function. [7+9]
5. Write short notes on any three of the following : [4x4]
a) Pointers in C
b) Global and local variables in C
c) GNU Plot
d) Type of loops and control structures in C.
Solve the following system of equations by Gaussian Elemination Method. xi + x2 + V2X3 + x4 = 3.5
x j + 2x2 + x4 = -2
3x[ + x2 + 2x3 + x4 =-3
-X] + 2x4 =0 (16]
7. a) Using the method of false position, find a real root (correct to two decimal
places) of the equation f(x) = x3 - 2x - 5 = 0 that lies between 2 & 3.
0.8
b) Evaluate J (log(l + x) + sin2x) dx using Simpsons V3 rule with step size h = 0.1. 0 110+6]
8. a) In a zoological study the length of an insect at various times have been
recorded as follows :
Days |
10 |
25 |
47 |
81 |
Length (mm) |
14.1321 |
17.2172 |
19.1729 |
21.1892 |
Using Lagranges Interpolation, find the length in 28 days.
b) = 1 + y2, where y = 0 when x = 0. Find y(0.4) using fourth order Runge -dx
Kutta method. Use h=0.2. [9+7]
9. a) Using Newton-Raphson method, find a real root (correct to 3 decimal places) of the equation x3 - 3x-5 = 0 that lies between 2 and 3.
Ax
b) Find the exponential bit y = Ce , for the five data points (0, 1.5), (1, 2.5), (2, 3.5), (3, 5.0) and (4, 7.5). Use data linearization method. [9+7]
10. a) Solve using Eulers method
5 = 3x3y , y(0) = 1 dx
for the interval 0 < x < 0.3, with step size h=0.1. -j b) Using the following table find tan0.12
X |
0.10 |
0.15 |
0.20 |
0.25 |
0.30 |
tanx |
0.1003 |
0.1511 |
0.2027 |
0.2553 |
0.3093 |
[7+9]
Attachment: |
Earning: Approval pending. |