Syllabus

Course Code: MMATH20-206    Course Name: Practical-II

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 List of Programs: The following practicals will be done on the MATLAB/SCILAB/Octave platform and record of those will be maintained in the practical Note Book:
2 1. Plot a circle for given centre and a point on the boundary. Find its perimeter and area.
3 2. To compute the arithmetic mean, geometric mean and harmonic mean for the values {x(j), j=l,2,...,n} and the corresponding frequencies {f(j), j=l,2,...,n}.
4 3. Find the inverse of a given matrix and verify the result by using built-in function.
5 4. Use switch…case to calculate the income tax on a given income at the existing rates.
6 5. Write function for the greatest common divisor (gcd) of two given positive integers and use it to find the least common multiple (lcm) of three given positive integer values. Get the result using built-in functions as well.
7 6. Solve a cubic equation with given coefficients and verify the solution through built-in function.
8 7. Identify the location of a given point (x,y) i) at origin, ii) on x-axis or y-axis iii) in quadrant I, II, III or IV. Verify through x-y plot.
9 8. Write functions to calculate sin(x) and cos(x) as series sum of n terms. Use these functions to plot sin(x), cos(x), sin(x) +cos(x), x in [0,2π], for n=2,5,10. Display the deviation of curves from those obtained via built-in functions.
10 9. For given coefficients (a, b, c, d, e), solve the equation ax2+ by2+2cx+2dy+e=0 to plot the corresponding conic, viz. parabola/ hyperbola/ ellipse/ circle or else.
11 10. For given perimeter and number of sides, plot the polygon and calculate its area.
12 11. Use polar coordinates to plot 4 circles in a plot with common centre but of different radii.
13 12. For 4 spheres with given centre and radii, plot their surfaces as different subplots in a figure.
14 13. Least square fitting of a straight line to given set of points on a plane. Compare the plot this line with the plots of least-square fit polynomials of degree 2 to 5.
15 14. For a given square matrix A, find its eigenvalues (p) after solving the determinant |A-pI| into an algebraic equation.
16 15. For a given square matrix of order 3, find the eigen-values and eigen-vectors and check the result with the use of built-in function.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.