Post Reply 
Ellipsoid surface area
05-31-2021, 01:38 AM
Post: #4
RE: Ellipsoid surface area
(05-30-2021 06:04 PM)Albert Chan Wrote:  HP-41 Module: Elliptic Functions and Orthogonal Polynomials, ellipsoid area example (page 9), using RG

From formula, S = 4*pi*RG((a*b)^2, (a*c)^2, (b*c)^2), we reverse it, for definition of RG:
Code:
#cas
RG(x,y,z)
BEGIN
    local ab, ac, bc;
    ab, ac, bc := map(sqrt, [x,y,z]);
    x, z := RFD(x,z,y); // relative to b^2
    z *= (bc-ac)*(bc+ac)*(ab-ac)*(ab+ac)/3;
    return (ab*bc/ac + (x*y-z))/2;
END;  
#end

CAS> ellipsoid_area(2,4,9)               → 283.427384268
CAS> 4*π*RG(8^2,18^2,36^2)       → 283.427384268
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ellipsoid surface area - Albert Chan - 05-28-2021, 12:37 AM
RE: Ellipsoid surface area - Albert Chan - 05-28-2021, 08:05 PM
RE: Ellipsoid surface area - Albert Chan - 05-30-2021, 06:04 PM
RE: Ellipsoid surface area - Albert Chan - 05-31-2021 01:38 AM
RE: Ellipsoid surface area - Albert Chan - 08-05-2022, 04:40 PM
RE: Ellipsoid surface area - Albert Chan - 08-05-2022, 04:51 PM



User(s) browsing this thread: 2 Guest(s)