You are on page 1of 1

Computational Techniques and Programming-II (PH-518)

Assignment No.1 (E) Calculation of Maxima and Minima


Submission date 21.02.2011 Solve following problems for calculation of maxima and minima. Write a computer code for these calculations and compare output of this code with calculated results. Q.NO.1) From the table given below, for what value of x, y has maximum value. Also find the value of y. x y 3.0 0.205 4.0 0.240 5.0 0.259 6.0 0.262 7.0 0.250 8.0 0.224 Ans: x = 5.6875, y = 0.2628 Q.NO.2) Using the following table, find the value of x for which y is minimum. Also find this value of y. x y 0.60 0.6221 0.65 0.6155 0.70 0.6138 0.75 0.6170

Ans: x = 0.6900, y= 0.6137 Q.NO. 3) From the following table fine the value of x for which, when y is maximum. Also find maximum value. x y 1.2 0.9320 1.3 0.9636 1.4 0.9855 1.5 0.9975 1.6 0.9996 Ans: x = 1.57, y = 1.00