Method
circumference
///////////////////////////////////////////////////////////// unknown - see youtube link. p = 2 * PI * sqrt((a*a + b*b)/2);
Source from the content-addressed store, hash-verified
| 26 | // p = 2 * PI * sqrt((a*a + b*b)/2); |
| 27 | // |
| 28 | float ellipse::circumference() |
| 29 | { |
| 30 | return perimeter_Ramanujan1(); |
| 31 | } |
| 32 | |
| 33 | |
| 34 | float ellipse::perimeter_ref() |