ASSIGNMENT 1
[Link] of the circle given the diameter
[Link] of the circle given the circumference.(circumference=2*pi*r)
[Link] of the circle given center point (x1,y1) and one point on the perimeter (x2,y2).
4)area of a triangle given three sides a,b,c.(use Heron's formula)
5)Area and perimeter of a right angled triangle given width(w) and height(h).
[Link] area of a cube given the length of an edge.
7)Circumference,volume and surface area of a sphere given the radius.
8. Area of an equilateral triangle given one side
9)Volume and surface area of the cylinder given radius(r) and height(h).
10) Volume and surface area of a cube given one side ( s).
11)hypotenuse of a right-angled triangle, given the length of the other two sides.
12)Enter length and breadth of a rectangle and find its area and perimeter.
13)Enter name and marks in 6 subjects of a student and find the total, average and
percentage.
14)Enter temperature in Celsius and covert it into Fahrenheit.
15,[Link] a program to read P,T, R and calculate simple interest and compound
interest
17)Input a time in seconds and print the time in HH:MM:SS format ( university question)
18)Write a Python program to print the value of 2**(2n)+n+5 for n provided by the
user.
19)An Employee's total weekly pay equals the hourly wage multiplied by the total hours
worked plus any overtime [Link] pay equals the total overtime hours multiplied
by 1.5 times the hourly wage.
Write a Python Program that takes as inputs hourly wage, total regular hours and total
overtime hours and displays an employee's total weekly pay
20)Calculate number of minutes in a Year (Let 1 year = 365 days 5 hours 48 minutes
46 seconds)