SolveLinearSinCos:

Path: Math/Trigonometry

% Algebraically solve x for equation:  a*sin(x) + b*cos(x) + c = 0

   Type SolveLinearSinCos for a demo

   Since version 11.
--------------------------------------------------------------------------
   Form:
   x = SolveLinearSinCos( a, b, c );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a         (1,1)   Coefficient on sin(x)
   b         (1,1)   Coefficient on cos(x)
   c         (1,1)   Linear term

   -------
   Outputs
   -------
   x         (1,2)   Solution to:  a*sin(x) + b*cos(x) + c = 0

--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Trigonometry/LinearSinCosToQuadCos

Back to the Math Module page