Monday, April 20, 2020

Week 16 Platform Revisit

T1 Implement a Triangle Calculator on the platform of your choice.
Calculates the area of a  Equilateral Triangle.
T2 Implement a Triangular Pyramid calculator.
The volume of a  triangular Pyramid
Note: The triangle sides are all the same.
T1 The Area of Equilateral Triangle: K = (1/4) * √3 * len2  
T2 The volume of a triangular Pyramid: 1/3*(√3)/4*(Length*Length)*Height
Square root examples:AppInventor
c: result=sqrt(3);
c#: Math.Sqrt(3);
Java: Math.sqrt(3);
Swift:
let x = 3.0
print(x.squareRoot())



  online Triangular Pyramid Calculator

Equilateral Triangles Calculator

Triangle Calculator

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.