{"id":22919,"date":"2021-09-29T20:14:31","date_gmt":"2021-09-29T14:44:31","guid":{"rendered":"https:\/\/python-programs.com\/?p=22919"},"modified":"2021-11-22T18:35:35","modified_gmt":"2021-11-22T13:05:35","slug":"python-program-to-find-area-of-a-circular-sector","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-find-area-of-a-circular-sector\/","title":{"rendered":"Python Program To Find Area of a Circular Sector"},"content":{"rendered":"

In the previous article, we have discussed Python Program for Arc Length from Given Angle<\/a>
\nA circular sector, also known as a circle sector, is a portion of a disc bounded by two radii and an arc, with the smaller area known as the minor sector and the larger as the major sector.<\/p>\n

Given the radius and angle of a circle, the task is to calculate the area of the circular sector in python.<\/p>\n

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

Area of sector = (angle\/360)*(pi * radius\u00b2)<\/p>\n

where pi=3.1415….<\/p><\/blockquote>\n

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

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

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

Given radius = 24\r\nGiven Angle = 90<\/pre>\n

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

The area of circular sector for the given angle { 90 } degrees =  452.57142857142856<\/pre>\n

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

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

Given radius = 15.5\r\nGiven Angle =  45<\/pre>\n

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

The area of circular sector for the given angle { 45.0 } degrees = 94.38392857142857<\/pre>\n

Program To Find Area of a Circular Sector in Python<\/h2>\n

Below are the ways to calculate the area of the circular sector for the given radius and angle in python:<\/p>\n