0% found this document useful (0 votes)
14 views2 pages

Computational Physics 2021 November (2019 Admissions)

Uploaded by

sreeprasads06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Computational Physics 2021 November (2019 Admissions)

Uploaded by

sreeprasads06
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

8

12039

3
D 10681 (Pages : 2) Name.........................................

Reg. No.....................................

3
FIFTH SEMESTER U.G. DEGREE EXAMINATION, NOVEMBER 2021
(CBCSS—UG)

1
Physics/Applied Physics
PHY 5B 06/APH 5B 06—COMPUTATIONAL PHYSICS
(2019 Admissions)
Time : Two Hours Maximum : 60 Marks
The symbols used in question paper have their usual meanings.
Section A (Short Answer Type)

8
Answer at least eight questions.
Each question carries 3 marks.

3
All questions can be attended.
Overall Ceiling 24.
1. Identify the functional differences of the Compiler and the Interpreter in the context of high-level

3
computer languages.
2. Write an algorithm to check whether a given number is odd or even.
3. List the different datatypes in Python.

1
4. Write a Python program to print the multiplication table of 9 having 20 rows using while loop.
5. What is a tuple ? How it is different from list ?
6. Discuss about the functional differences of break and continue statements in Python.

7. Write a Python program to plot the function y = sin x within the region 0 to 2π .
8. Write a Python program to create a 3 × 2 matrix having random numbers ranging between 0 and
1 as elements.

8
9. Explain the least squares curve fitting procedures.
10. Construct a forward difference table for the following data :
x : 0 1 2 3 4

3
y : 1 3 9 27 81
11. How the subintervals width is associated with the error in Trapezoidal rule and Simpson’s 1/3 rule

3
for numerical integration ?
12. Discuss the advantages of numerical methods over analytical methods.

(8 × 3 = 24 marks)

1
Turn over

12039
8
12039

3
2 D 10681

Section B (Paragraph/Problem Type)

3
Answer at least five questions.
Each question carries 5 marks.
All questions can be attended.

1
Overall Ceiling 25.

13. Write a Python program to print the squares of the integer numbers within the range entered by
the user.

14. Discuss about different built-in operations on list in Python with the help of examples.

15. Write a program to create two 3 × 3 matrices and add them.

16. The table below gives the temperature T (in °C) and length l (in mm) of a heated rod. If l = a0 + a1 T,

8
find the best value for a0 and a1 :

T (in °C) : 20 30 40 50 60 70

3
1 (in mm) : 800.3 800.4 800.6 800.7 800.9 801.0

17. Using Newtons forward interpolation formula obtain y (2), given that, y (1) = 24, y (3) = 120,

3
y (5) = 336, and y (7) = 720.

18. Explain the Bisection method for finding the solutions of algebraic equations.

1
19. Write a Python program to simulate the motion of a body dropped into a highly viscous medium.

(5 × 5 = 25 marks)

Section C (Essay Type)

Answer any one question.


The question carries 11 marks.

20. (a) Find y (0.2) for y' = (x – y)/2, y (0) = 1, with step length 0.1 using Runge-Kutta method.

8
(b) Write a Python program to simulate a two-dimensional projectile motion using Euler’s method
in a table.

21. (a) Explain the Newton-Raphson method to find the roots of a function.

3
(b) Write a Python program to simulate a freely falling body using Euler’s method in a table.
(1 × 11 = 11 marks)

1 3
12039

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy