Coordinate Conversions: Rectangular, Cylindrical, Spherical
10-03-2016, 11:51 PM
Post: #7
 BERNARD MICHAUD Member Posts: 149 Joined: Aug 2015
RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical
Sorry Eddie if I misled you. What I mean is this. You have the first section below, but should be the second section. ρ*COS(θ)]; should be ρ*COS(φ)];

First section
IF ch==6 THEN
INPUT({ρ,θ,φ});
RETURN [ρ*COS(θ)*SIN(φ),ρ*SIN(θ)*SIN(φ),
ρ*COS(θ)]; error
END;

Second section
IF ch==6 THEN
INPUT({ρ,θ,φ});
RETURN [ρ*COS(θ)*SIN(φ),ρ*SIN(θ)*SIN(φ),
ρ*COS(φ)]; correct
END;
 « Next Oldest | Next Newest »

 Messages In This Thread Coordinate Conversions: Rectangular, Cylindrical, Spherical - Eddie W. Shore - 02-04-2014, 04:48 AM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - Eddie W. Shore - 12-16-2014, 01:38 PM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - Han - 12-16-2014, 02:11 PM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - Eddie W. Shore - 12-17-2014, 05:05 AM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - BERNARD MICHAUD - 03-23-2016, 11:13 PM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - Eddie W. Shore - 05-01-2016, 04:26 PM RE: Coordinate Conversions: Rectangular, Cylindrical, Spherical - BERNARD MICHAUD - 10-03-2016 11:51 PM

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