this example returns the length of the third side of a right triangle by applying the square function to two variables and then calculating the square root of their sum.
此示例通过对两个变量应用square函数然后计算其和的平方根,返回直角三角形第三边的长度。
a right triangle is formed by lines joining points spq.
spq三点联结后即构成一个直角三角形。
for anyone that needs a little refresher course, the sine function gives the ratio of the opposite side of a given angle in a right triangle to the hypotenuse.