Syllabus

Course Code: MMATH20-106    Course Name: Practical-I

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 List of Programs: The following practicals will be done using the programming language C and record of those will be maintained in the practical Note Book:
2 1. Use of nested if.. .else in finding the smallest of four or more numbers.
3 2. To find if a given 4-digit year is a leap year or not.
4 3. To compute AM, GM and HM of three given real values.
5 4. To invert the order of digits in a given positive integral value.
6 5. Use series sum to compute sin(x) and cos(x) for given angle x in degrees. Then, check error in verifying sin2x+cos2(x) = 1 or other such T-identities.
7 6. Verify ∑n3 = {∑n}2, (where n=1, 2,…, m) & check that prefix and postfix increment operator gives the same result.
8 7. Compute simple interest and compound interest for a given amount, time period, rate of interest and period of compounding.
9 8. Program to multiply two given matrices in a user defined function.
10 9. Calculate standard deviation for a set of values {x(j), j = l, 2,..., n} having the corresponding frequencies {f(j), j = l,2,...,n}.
11 10. Write the user-defined function to compute GCD of two given values and use it to compute the LCM of three given integer values.
12 11. Compute GCD of 2 positive integer values using recursion / pointer to pointer.
13 12. Check a given square matrix for its positive definite/ negative definite forms.
14 13. To find the inverse of a given non-singular square matrix.
15 14. To convert a decimal number to its binary representation and vice-versa.
16 15. Use array of pointers for alphabetic sorting of given list of English words.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.