::Cylindrical Container Manufacturing Cost Calculator ::
Description : A Python program designed to calculate the manufacturing cost of an open-top cylindrical container. The program takes several inputs including the radius of the container base, the container height, the material cost per square centimeter, and the number of containers to be produced. Using the surface area formula of a cylinder, the program calculates the material cost required to produce one container and the total cost for the entire production batch.
Mathematical Formula Used :
Surface Area = πr² + 2πrh
Where:
r = radius of the base
h = height of the container
π = pi value (from Python math library)
Cost per Container = Surface Area × Cost per cm²
Total Cost = Cost per Container × Number of Containers
Features:
Input container radius
Input container height
Input material cost per square centimeter
Input number of containers to produce
Calculate cost per container
Calculate total production cos
:: Student Marksheet and GPA Calculator ::
Description : A Python-based application that calculates a student's Grade Point Average (GPA) based on the grades obtained in multiple courses.
The program allows users to input the number of courses, course names, and numerical scores. It automatically converts the scores into letter grades and grade points, then calculates the final GPA.
This program helps simulate how academic grading systems calculatestudent performance using a standardized grading scale.
Grading System :
Score ≥ 81 → A (4.0)
Score ≥ 76 → A- (3.7)
Score ≥ 72 → B+ (3.3)
Score ≥ 68 → B (3.0)
Score ≥ 64 → B- (2.7)
Score ≥ 60 → C+ (2.3)
Score ≥ 56 → C (2.0)
Score ≥ 41 → D (1.0)
Score < 41 → E (0.0)
Formula Used :
GPA = (Total Grade Points) / (Number of Courses)
Features:
Input student name
Input number of courses
Input course names and scores
Automatic score-to-grade conversion
Grade point calculation
GPA calculation
Formatted marksheet output
:: Projectile Motion Simulation ::
Description : A Python program to simulate the parabolic motion of an object thrown with a certain initial velocity. The program calculates the horizontal distance achieved at various launch angles and determines the angle that results in the maximum distance. This simulation uses the basic equations of parabolic motion and was created using Python.
Formula for horizontal distance:
x = (v₀² / g) sin(2θ)
Where:
v₀ = velocity
g = gravity (9.8 m/s²)
θ = angle of throw
Features:
Enter the initial velocity
Enter the angle increment
Calculate the horizontal distance for each angle
Display the table of angles and distances
Determine the angle with the maximum distance