Semester : SEMESTER 5
Subject : Computational Physics
Year : 2022
Term : NOVEMBER
Branch : PHYSICS
Scheme : 2020 Full Time
Course Code : PHY 5B 06
Page:2
15.
16.
17.
18.
19.
20.
21.
245375
2 D 30584
Write a Python program to create a 3 x 3 matrix and find its inverse.
Write a program to convert Fahrenheit to Celcius.
Find the cubic polynomial which takes the following values
y(0)=1, y (1)=0, y(2)=1and y(3)=10. Obtain y(4) using Newton’s forward interpolation
formula.
Write a note on graphical simulation ; take a horizontally thrown projectile as an example.
Write a Python program to simulate motion of a freely falling object.
(Ceiling 30)
Section C (Essay Type)
Answer in about two pages, any one question.
Each correct answer carries 10 marks.
Write an essay on different data types in Python.
Obtain Trapezoidal rule and Simpson’s 1/3 rule for numerical integration.
(1 x 10 = 10 marks)
245375