{"id":22954,"date":"2021-09-29T20:14:00","date_gmt":"2021-09-29T14:44:00","guid":{"rendered":"https:\/\/python-programs.com\/?p=22954"},"modified":"2021-11-22T18:35:35","modified_gmt":"2021-11-22T13:05:35","slug":"python-program-for-area-of-square-circumscribed-by-circle","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-for-area-of-square-circumscribed-by-circle\/","title":{"rendered":"Python Program for Area of Square Circumscribed by Circle"},"content":{"rendered":"

In the previous article, we have discussed Python Program for Area of a Circumscribed Circle of a Square<\/a>
\nGiven the radius of the circle, the task is to calculate the area of a square circumscribed by the circle.<\/p>\n

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

The formula to find the area of a square circumscribed by the circle = 2*(radius**2)<\/strong><\/p>\n

Where ** indicates power value<\/p><\/blockquote>\n

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

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

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

Given radius = 8<\/pre>\n

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

The area of a square circumscribed by the circle for the given radius{ 8 } =  128<\/pre>\n

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

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

Given radius = 5<\/pre>\n

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

The area of a square circumscribed by the circle for the given radius{ 5 } =  50<\/pre>\n

Program for Area of Square Circumscribed by Circle in Python<\/h2>\n

Below are the ways to calculate the area of a square circumscribed by the circle in Python:<\/p>\n