Area of Triangle using Side | Function to return the area of triangle using Side - Angle - Side formula ; Driver Code ; Function Call ; Prvar the final answer
function Area_of_Triangle ( a , b , k ) { var area = ( ( 1 / 2.0 ) * a * b * Math . sin ( k ) ) ; return area ; } var a = 9 ; var b = 12 ; var k = 2 ; var ans = Area_of_Triangle ( a , b , k ) ; document . write ( ans . toFixed ( 1 ) ) ;