The area of an equilateral triangle is ¼(√3a2) where "a" represents a side of the triangle. You are provided with the side "a". Find the area of the equilateral triangle.
Created 1 year ago
67
Views
2
Comments
import numpy as np
a = int(input())
y = np.square (a)
z = np.sqrt(3)*(y)
v = (1 / 4) * z
round (v,2)