hello,

i'm interested in defining equations for conic sections and plotting them in 
different coordinate systems. i was fine with online graphing calculators till 
i get to the elliptic coordinates, because the calculators only support 
Cartesian and polar ones. i found in the book 'The FriCAS System for Computer 
Mathematics' [7.2.7 Coordinate System Transformations] that FriCAS, which i've 
used some time ago to make and solve some equations, can plot in various 
coordinates, including elliptic. in 7.1.4 Two-Dimensional Options i found the 
following draw command:

> draw(curve(sin(5*t), t), t=0..2*%pi, coordinates==polar)

and it worked as expected, but when i replaced polar with elliptic i got:

> There are 1 exposed and 2 unexposed library operations named coordinates 
> having 1 argument(s) but none was determined to be applicable. Use HyperDoc 
> Browse, or issue )display op coordinates to learn more about the available 
> operations. Perhaps package-calling the operation or using coercions on the 
> arguments will allow you to apply the operation.
> Cannot find a definition or applicable library operation named coordinates 
> with argument type(s) Variable(elliptic)
> Perhaps you should use "@" to indicate the required return type, or "$" to 
> specify which version of the function you need.

i wrote to Ralf Hemmecke and he suggested the following command:

> draw (f,0..%pi, 0..6, coordinates==elliptic(1.::DFLOAT))

i entered 'f=sin(5*t)' followed by the command and it gave me:

> There are 7 exposed and 0 unexposed library operations named draw having 4 
> argument(s) but none was determined to be applicable. Use HyperDoc Browse, or 
> issue )display op draw to learn more about the available operations. Perhaps 
> package-calling the operation or using coercions on the arguments will allow 
> you to apply the operation.
> Cannot find a definition or applicable library operation named draw with 
> argument type(s) Variable(f) Segment(Pi) Segment(NonNegativeInteger) 
> List(DrawOption)
> Perhaps you should use "@" to indicate the required return type, or "$" to 
> specify which version of the function you need.

what should i do to draw in elliptic coordinates?

> )show CoordinateSystems
> CoordinateSystems(R: 
> Join(Field,TranscendentalFunctionCategory,RadicalCategory)) is a package 
> constructor
> Abbreviation for CoordinateSystems is COORDSYS
> This constructor is exposed in this frame.
> ------------------------------- Operations --------------------------------
> cartesian : Point(R) -> Point(R) cylindrical : Point(R) -> Point(R)
> parabolic : Point(R) -> Point(R) polar : Point(R) -> Point(R)
> spherical : Point(R) -> Point(R)
> bipolar : R -> (Point(R) -> Point(R))
> bipolarCylindrical : R -> (Point(R) -> Point(R))
> conical : (R, R) -> (Point(R) -> Point(R))
> elliptic : R -> (Point(R) -> Point(R))
> ellipticCylindrical : R -> (Point(R) -> Point(R))
> oblateSpheroidal : R -> (Point(R) -> Point(R))
> parabolicCylindrical : Point(R) -> Point(R)
> paraboloidal : Point(R) -> Point(R)
> prolateSpheroidal : R -> (Point(R) -> Point(R))toroidal : R -> (Point(R) -> 
> Point(R))

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/gpcFZgtbi2YiDAnpPYpUmUztxs1nJ-lI54gt5m1YrlC8pEchtmtU49xSqlRGXrEyzRARe4z_2r40vnJIYb54sg8W_GqGbbt5PphPuOixOX4%3D%40proton.me.

Reply via email to