Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ perimeter_Keppler
Method
perimeter_Keppler
libraries/ellipse/ellipse.cpp:40–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
39
40
float ellipse::perimeter_Keppler()
41
{
42
// Keppler
43
float p = 2 * PI * (_a + _b) / 2; // very fast for a ~ b
44
return p;
45
}
46
47
48
float ellipse::perimeter_Ramanujan1()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64