Reg. No.
:
Name :
TERM END EXAMINATIONS (TEE)
Programme [Link]. Semester xxxxxx
Introduction to Computational
Course Title Course Code PHY1003
Physics
Date xxxxxx Slot xxxxxx
Time 3 hours Max. Marks 100
Answer ALL the Questions
Module RBT
Q. No. Question Description Marks CO
No. Level
PART - A ( 30 Marks)
1 (a) A dataset represents the following points: 8 1st KL4 CO3
x= [ 1 , 2 , 3 , 4 , 5 ] Modul
e
y= [ 2.3 , 4.1 , 5.8 , 8.5 ,11.1 ]
Find a best linear fit using least-square method of curve fitting.
(b) Predict the value of y at x=8. 4 1st KL3 CO3
Modul
e
OR
(c) A dataset contains temperature values at different times of the 12 1st KL4 CO1
day over a week. Modul
e
- Describe how you would visualize this data in both 2D
and 3D.
- Discuss the interpretation insights of each type of
visualization as well.
2 Find the eigenvalues of the following matrix: 6 2nd KL3 CO2
(a) Modul
e
(b) Determine if the vector field is conservative: 6 2nd KL3 CO2
Modul
e
F = 6x i + (2y - y2) j + (6z - x3) k
OR
(c) Write an algorithm to illustrate the calculation of the inverse of a 12 2nd KL4 CO3
matrix using the Gauss-Jordan elimination method. Modul
e
Page 1 of
3
3 (a) Find the roots of function x 2 − 2=0 using initial guess x 0 =1. 12 3rd KL3 CO3
Modul
Report the percentage error if the root x is 1.4142.
e
OR
(b) Describe the process of Numerical integration. 12 3rd KL3 CO3
Write an algorithm for Numerical integration of a given function Modul
e
using the midpoint method.
4 (a) A 10 kg block is pushed along a rough horizontal surface a force 12 4th KL5 CO2
F=( 30 i+40 j ) N . The block moves 5 meters, with the Modul
e
displacement vector given as d = 5i m. The coefficient of kinetic
friction between the block and the surface is μ k = 0.2. Compute
the total work done on the block.
OR
(b) Write a Python pseudo-code that simulates the motion of a 12 4th KL3 CO4
projectile launched from the ground with an initial velocity v 0and Modul
e
launch angle θ.
Print the equations for Range, maximum height.
5 (a) Write a flowchart to simulate the motion of a body falling under 12 5th KL4 CO4
influence of air resistance. Assume air resistance is proportional Modul
e
to its velocity.
OR
(b) A block of mass 2 kg is attached to a spring with spring constant 12 5th KL5 CO3
Modul
50 N/m. The system experiences a damping force with a e
damping coefficient of 0.5 Ns/m.
- Find the time period of the damped oscillations.
- Determine if the system is underdamped, critically
damped, or overdamped.
PART - B (40 Marks)
6 What are the components and control structures of 1st KL3 CO2
Modul
programming languages? Give suitable examples in case of e
Python.
7 Prove the vector triple product identity: 2nd KL1 CO1
A ×( B × C )=( A ⋅C ) B −( A ⋅ B )C Modul
e
8 Prove work-energy theorem for free falling body of mass 10kg 3rd KL2 CO3
from height 100 m to 20 m above the ground. Modul
e
9 For initial velocity v0=25 m/s find the launch angle θ at which 4th KL3 CO4
maximum height covered by the projectile is the same as its Range. Modul
e
10 Write a Python program to simulate the motion of a simple 5th KL5 CO4
harmonic oscillator. The program should calculate and plot the Modul
e
displacement of the mass as a function of time.
Page 2 of
3
⇔⇔⇔
Page 3 of
3