Simulation of ellipse axis

微笑、不失礼 提交于 2019-12-08 09:50:47

问题


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

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


回答1:


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)) );


来源:https://stackoverflow.com/questions/55675591/simulation-of-ellipse-axis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!