You are on page 1of 1

INDIAN STATISTICAL INSTITUTE

Physics and Applied Mathematics Unit


Ph.D. Course-work Examination (2022-2023)
Subject Name : Computer Application and Statistical Methods

Marks : 25 Duration : 1.5 hours Date : 10/04/23

No extra credit for attempting additional questions

1. Answer any one of the following questions


(a) Given x1 = 2.3, y1 = 3.0, x2 = −1.4, y2 = 4.4, x3 = 0.8, y = 4.8 the coordinates
of 3 points, write a program find out distances between each points.
(b) Write down a simple code to check if a four digit number is a palindrome itself.
(c) Read 10 numbers from an array and sort them in descending order. [10]

2. Answer any one of the following questions


(a) Given an equation x3 − 3x − 5 = 0, write a program to find out the root using
Newton Ralphson method.
R1
(b) Write down a program to find out the value of integral 0 x(1 − x)3 dx using
Trapizoidal method of integration.
(c) Year No. of Students qualified
1990 203
1995 168
2000 254
2005 389
2010 113
2015 203
Write a program to estimate the number of students qualified in certain exam
in the year 1998 using Lagrange’s interpolation formula using the given data.
[15]

You might also like