{"id":17894,"date":"2021-08-26T10:42:20","date_gmt":"2021-08-26T05:12:20","guid":{"rendered":"https:\/\/python-programs.com\/?p=17894"},"modified":"2021-11-22T18:37:13","modified_gmt":"2021-11-22T13:07:13","slug":"python-program-to-find-isosceles-triangle-area","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-find-isosceles-triangle-area\/","title":{"rendered":"Python Program to Find Isosceles Triangle Area"},"content":{"rendered":"

In the previous article, we have discussed Python Program to Find Volume and Surface Area of Sphere<\/a>
\nIsosceles triangle :<\/strong><\/p>\n

An isosceles triangle is a triangle with two equal-length sides in geometry.It is sometimes stated as having exactly two equal-length sides and other times as having at least two equal-length sides, with the latter containing the equilateral triangle as a particular scenario.<\/p>\n

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

The formula to find the area of an isosceles triangle = (y * math.sqrt((4 * x * x) – (y * y)))\/4;<\/strong><\/p>\n

where x , y are the two side lengths of an isosceles triangle.<\/p>\n

Given two sides of an isosceles triangle and the task is to find the area of the given isosceles triangle.<\/p>\n

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

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

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

Given length of first side = 5\r\nGiven length of second side = 9<\/pre>\n

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

The Given Isosceles Triangle area with sides [ 5 , 9 ]= 9.808<\/pre>\n

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

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

Given length of first side =  12\r\nGiven length of second side = 17.2<\/pre>\n

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

The Given Isosceles Triangle area with sides [ 12 , 17.2 ]= 71.973<\/pre>\n

Program to Find Isosceles Triangle Area<\/h2>\n

Below are the ways to find the area of the given isosceles triangle:<\/p>\n