Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

Python prog

The document outlines a series of mathematical problems and programming assignments related to geometry, including calculations for areas, volumes, and circumferences of various shapes. It also includes tasks for calculating interest, converting temperature, and formatting time. Additionally, there are programming exercises involving employee pay calculations and basic arithmetic operations.

Uploaded by

sayoojps369
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Python prog

The document outlines a series of mathematical problems and programming assignments related to geometry, including calculations for areas, volumes, and circumferences of various shapes. It also includes tasks for calculating interest, converting temperature, and formatting time. Additionally, there are programming exercises involving employee pay calculations and basic arithmetic operations.

Uploaded by

sayoojps369
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ASSIGNMENT 1

1.Area of the circle given the diameter

2.Area of the circle given the circumference.(circumference=2*pi*r)

3.Area 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).

6.Surface 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,16.Write 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 pay.Overtime 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)

You might also like