11"""
2- Description : Centripetal force is the force acting on an object in
3- curvilinear motion directed towards the axis of rotation
4- or centre of curvature.
5-
6- The unit of centripetal force is newton.
7-
8- The centripetal force is always directed perpendicular to the
9- direction of the object's displacement. Using Newton's second
10- law of motion, it is found that the centripetal force of an object
11- moving in a circular path always acts towards the centre of the circle.
12- The Centripetal Force Formula is given as the product of mass (in kg)
13- and tangential velocity (in meters per second) squared, divided by the
14- radius (in meters) that implies that on doubling the tangential velocity,
15- the centripetal force will be quadrupled. Mathematically it is written as:
162F = mv²/r
17- Where, F is the Centripetal force, m is the mass of the object, v is the
18- speed or velocity of the object and r is the radius.
19-
20- Reference: https://byjus.com/physics/centripetal-and-centrifugal-force/
3+ Where, m = mass
4+ v = tangential velocity
5+ r = radius of circular path
216"""
227
238
@@ -36,8 +21,6 @@ def centripetal(mass: float, velocity: float, radius: float) -> float:
3621 >>> round(centripetal(50,100,50),2)
3722 10000.0
3823 """
39- if mass < 0 :
40- raise ValueError ("The mass of the body cannot be negative" )
4124 if radius <= 0 :
4225 raise ValueError ("The radius is always a positive non zero integer" )
4326 return (mass * (velocity ) ** 2 ) / radius
0 commit comments