Description: Italian title: Known l0 chord of a circle and arc length of this string where l1, seeking the center of the arc chord distance of the center of thought: This is a solution out equations and then use the dichotomy of the title equation, so that The arc of the doubt on the central angle for the anlg, radius r, according to the meaning of problems with two equations: l1 = anlg* r l0 = 2* r* sin (anlg/2) two equations two unknowns, by simplification are: 2* l1* sin (anlg/2)-anlg* l0 = 0 because the value of the angle is from 0 to 2* pi, the title referred to had not greater than the arc length of the string twice, So can not get to the point of 2* pi, but there may be 0, to zero special consideration, and then from 0 to 2* pi to find solution between the two points will not be wrong! but to pay attention to accuracy problems, were taken to seven decimal the correct solution.
To Search:
File list (Check if you may need any files):
ExpandingRods.cpp