Semester : SEMESTER 6
Year : 2019
Term : MAY
Branch : CIVIL ENGINEERING
Scheme : 2015 Full Time
Course Code : CE 306
Page:2
b)
a)
b)
a)
b)
a)
b)
b)
F1053 Pages:
Write a program (using structure) to read the details of m students in a class
including Roll no., name and marks of 3 subjects and print average mark of each
student.
Explain the various file input and output streams commonly used in C++?
Bring out the difference between procedure oriented programming and object
oriented programming
PART ட
Answer any two full questions, each carries20 marks.
Using method of successive approximations find a real root of the equation
sinx — 1/2 = 0. For iteration the trial value of root may be taken as 1.0. چو
Develop a program to fit a straight line to a given set of coordinates.
The following table gives the results of the measurements of resistance felt by a
running train, where V the velocity of travel in km/hr and R is the resistance in
KN.
۷ 20 40 60 80 100 120
| ^ | ೨೨ 9.1 14.9 22.8 33.3 46
Develop a 274 degree polynomial (parabola) relationship connecting R and V
using the method of least squares.
Write a program to perform numerical integration using Trapezoidal rule when
the function is tabulated as data points.
Solve the following simultaneous system of equations using Gauss elimination
method. 3x, - 0.14 - 0.2 x3 = 7.85;
0.1 ೫] +7 ಖಾ 0.3 ج26 - -19.3; 0.3 1- 0.2 22 +10 23 - 71.4.
Demonstrate the finite difference method of numerical solution of partial
⋅ ⋅ ⋅ ⋅ ⋅ 937 837
differential equations for the case of a Laplace equation given by موق يق = 0
Page 2 of 2
(7)
(8)
(10)
(10)
(10)
(10)
(10)
(10)