Calculate the eccentricity of ellipses

2020-08-09 07:11发布

I've like to calculate the eccentricity of ellipses x, in my example:

#Artificial ellipse
a <- 1 # semi-major axis 
e <- x# eccentricity 
b <- a * sqrt(1 - e^2) # semi-minor axis
c <- 1.3 # ellipse area

But I need to make this using the ellipse area (c) in the calculation. This is poisible?

1条回答
劳资没心,怎么记你
2楼-- · 2020-08-09 07:31
b = c/(pi*a);
x = (sqrt(a^2 - b^2))/a;

is the formula you need. Or put togther:

x = (sqrt(a^2 - (c/(pi*a))^2))/a;
查看更多
登录 后发表回答