solveTrigonometric.frink

View or download solveTrigonometric.frink in plain text format


/** This contains sloppy and non-rigorous solvers for equations containing
    trigonometric equations.  It is only intended for real-valued arguments
    and will not find all solutions.  It is used as a starting point only.
*/

transformations solveTrigonometric
{
   solve[sin[(_a:1) _theta] === _y, _theta]  <-> solve[_theta === arcsin[_y]/_a, _theta]
   solve[cos[(_a:1) _theta] === _y, _theta]  <-> solve[_theta === arccos[_y]/_a, _theta]
   solve[tan[(_a:1) _theta] === _y, _theta]  <-> solve[_theta === arctan[_y]/_a, _theta]

   cos[arcsin[_x]]  <->  sqrt[1 - _x^2]
   sin[arccos[_x]]  <->  sqrt[1 - _x^2]
}


View or download solveTrigonometric.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 18233 days, 19 hours, 14 minutes ago.