计算椭圆的偏心率 [英] Calculate the eccentricity of ellipses

查看:436
本文介绍了计算椭圆的偏心率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的示例中,我想计算椭圆x的偏心率:

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

但是我需要在计算中使用椭圆区域(c)进行设置.这有可能吗?

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

推荐答案

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;

这篇关于计算椭圆的偏心率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆