{"id":16982,"date":"2021-08-12T09:25:23","date_gmt":"2021-08-12T03:55:23","guid":{"rendered":"https:\/\/python-programs.com\/?p=16982"},"modified":"2021-11-22T18:38:31","modified_gmt":"2021-11-22T13:08:31","slug":"python-program-to-find-out-the-arc-length-of-an-angle","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-find-out-the-arc-length-of-an-angle\/","title":{"rendered":"Python Program to Find out the Arc Length of an Angle"},"content":{"rendered":"

In the previous article, we have discussed Python Program to Calculate Surface Area and Volume of a Cylinder<\/a>
\nArc Length :<\/strong><\/p>\n

The length of an arc is defined as the length of a circle’s circumference.<\/p>\n

The arc length formula<\/strong> is as follows:<\/p>\n

Arc length = (\u03c0*d) * (A\/360)<\/strong><\/p>\n

where ‘d ‘ is the diameter of the circle.<\/p>\n

‘A’ is the angle.<\/p>\n

Given the diameter and angle of the circle, and the task is to find the arc length of the given angle.<\/p>\n

Examples:<\/strong><\/p>\n

Example 1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Diameter  = 10\r\nGiven Angle = 100<\/pre>\n

Output:\u00a0<\/strong><\/p>\n

The arc length of the given angle = 8.727<\/pre>\n

Example 2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

Given Diameter = 15\r\nGiven Angle =\u00a0 450<\/pre>\n

Output:\u00a0<\/strong><\/p>\n

The above Entered Angle is Invalid<\/pre>\n

Program to Find out the Arc Length of an Angle<\/h2>\n

Below are the ways to find the arc length of the given angle.<\/p>\n