As i implemented the tests for equilateral and isosceles triangles , i realized that i was using only the delta value for calculations in right triangles 当实现对等边三角形和等腰三角形的测试时,我认识到我只用了delta值来用于直角三角形的计算。
Construct a right triangle with given hypotenuse c such that the median drawn to the hypotenuse is the geometric mean of the two legs of the triangle 这题大概是:构造一个直角三角形(斜边c已给定) ,使斜边上的中线长度是两直角边长度的比例中项。
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函数然后计算其和的平方根,返回直角三角形第三边的长度。
I d like to make my client tests remain as they are , so i add a default delta , remove the right triangle test return statement , and add the code shown in code sample 10 to 我想让客户程序测试保持原样,因此添加了默认的delta ,删掉了直角三角形测试的返回语句,并加入了代码示例10中所示的代码到
According to traditional power triangle ( the square of the active power , reactive power and apparent power form the relation of the right triangles ) , put forward a new electrician ' s theories of power quadrangle 基于传统的功率三角形(即有功功率,无功功率,和视在功率三者的平方成直角三角形的关系) ,提出了功率四边形这种新的电工理论。