Radius of Triaxial / Scalene Ellipsoid

  • Context: Graduate 
  • Thread starter Thread starter AwooOOoo
  • Start date Start date
  • Tags Tags
    Ellipsoid Radius
Click For Summary
SUMMARY

The discussion focuses on calculating the radius of a Triaxial Ellipsoid using spherical coordinates and the equation of an ellipsoid. Initially, the user encountered a division by zero error when substituting values into the radius equation. The corrected formula for the radius is provided as r = √(a²b²c² / (b²c²sin²θcos²ϕ + a²c²sin²θsin²ϕ + a²b²cos²ϕ)). This correction resolves the issue and allows for accurate calculations of the radius based on the ellipsoid's semi-axes.

PREREQUISITES
  • Understanding of spherical coordinates and their conversion to Cartesian coordinates
  • Familiarity with the equation of an ellipsoid
  • Knowledge of trigonometric functions, specifically sine and cosine
  • Basic algebra for manipulating equations and solving for variables
NEXT STEPS
  • Study the derivation of the ellipsoid equation and its applications in geometry
  • Explore advanced topics in trigonometry, focusing on identities involving sine and cosine
  • Learn about numerical methods for solving equations with potential division by zero issues
  • Investigate the properties of triaxial ellipsoids in physics and engineering contexts
USEFUL FOR

Mathematicians, physicists, and engineers who are involved in geometric modeling, particularly those working with ellipsoidal shapes and their properties.

AwooOOoo
Messages
2
Reaction score
0
Hi,
I have been referencing this (https://www.physicsforums.com/threads/radius-of-ellipsoid.251321/) previous post to calculate the radius of a Triaxial Ellipsoid (a>b>c), but I'm running into some issues.

Let
0 ≤ ϕ ≤ π
0 ≤ θ ≤ 2π

and
x=r * cos(θ) * sin(ϕ) (1)
y=r * sin(θ) * sin(ϕ) (2)
z=r * cos(ϕ) (3)

sub into
Ellipse: (x/a)2+(y/b)2+(z/c)2=1 (4)

and solve for r
##r=\sqrt{\frac{a^2}{{cos^2\theta}{sin^2\phi}}+\frac{b^2}{{sin^2\theta}{sin^2\phi}}+\frac{c^2}{cos^2\phi}}## (5)

The issue is that the products squares of the cosines and sines drive a division by zero.

For instance

if a = 100, θ = 0, ϕ = 0

the first part of eqn (5) is

##\frac{a^2}{{cos^2\theta}{sin^2\phi}} = \frac{10000}{cos(0) * cos(0) * sin(0) * sin(0)} = \frac{100^2}{1 * 1 * 0 * 0}=\frac{10000}{0} = DIV / 0##

I'm missing something obvious I'm sure, what is it?

Thanks, Paul.
 
Physics news on Phys.org
Fixed it... equation 5 was wrong

##r = \sqrt{\frac{a^2b^2c^2}{b^2c^2{sin^2\theta}{cos^2\phi}+a^2c^2{sin^2\theta}{sin^2\phi}+a^2b^2{cos^2\phi}}} ##
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K