椭圆轴的仿真 [英] Simulation of ellipse axis

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

问题描述

在我的示例中,我想模拟椭圆轴:

I've like to simulate ellipse axis, in my example:

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

当我具有平均偏心率(e)以及不同的短轴(b)和椭圆区域(c)时,我的代码需要估计999个复制品的平均主轴(a).任何的想法? 谢谢

My code needs to estimate with 999 replicates a mean major axis (a) when I have the mean eccentricity (e) and differents minor axis (b) and ellipse areas (c). Any idea? Thanks

推荐答案

a = x 
b = x * sqrt(1 - e^2)

area = pi * x * x * sqrt(1 - e^2) = pi * x^2 * sqrt(1 - e^2)

x = sqrt( area / (pi * sqrt(1 - e^2)) );

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

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