#1
| |||
| |||
![]() SATHYABAMA INSTITUTE OF SCIENCE AND TECHNOLOGY SBS4302 PYTHON LAB LIST OF EXPERIMENTS 1. Write a menu driven program to convert the given temperature from Fahrenheit to Celsius and vice versa depending upon user’s choice. 2. WAP to calculate total marks, percentage and grade of a student. Marks obtained in each of the three subjects are to be input by the user. Assign grades according to the following criteria : Grade A: Percentage >=80 Grade B: Percentage>=70 and =60 and =40 and 3. Write a menu-driven program, using user-defined functions to find the area of rectangle, square, circle and triangle by accepting suitable input parameters from user. 4. WAP to display the first n terms of Fibonacci series. 5. WAP to find factorial of the given number. 6. WAP to find sum of the following series for n terms: 1 – 2/2! + 3/3! - - - - - n/n! 7. WAP to calculate the sum and product of two compatible matrices. 8. Write a menu-driven program to create mathematical 3D objects I. curve II. sphere III. cone IV. arrow V. ring VI. Cylinder. 9. WAP to read n integers and display them as a histogram. 10. WAP to display sine, cosine, polynomial and exponential curves. 11. WAP to plot a graph of people with pulse rate p vs. height h. The values of p and h are to be entered by the user. 12. WAP to calculate the mass m in a chemical reaction. The mass m (in gms) disintegrates according to the formula m=60/(t+2), where t is the time in hours. Sketch a graph for t vs. m, where t>=0. 13. A population of 1000 bacteria is introduced into a nutrient medium. The population p grows as follows: P(t) = (15000(1+t))/(15+ e) where the time t is measured in hours. WAP to determine the size of the population at given time t and plot a graph for P vs t for the specified time interval. |
![]() |
Thread Tools | Search this Thread |
|