LinearSinCosToQuadCos:

Path: Math/Trigonometry

% Compute quad. coeff.s on cos(x) from linear eqn:  A*sin(x)+B*cos(x)+C=0
   
   Type LinearSinCosToQuadCos for a demo.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   p = LinearSinCosToQuadCos( a, b, c )
--------------------------------------------------------------------------

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

   -------
   Outputs
   -------
   p         (1,3)   Polynomial coefficients. Quadratic of cos(x)

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

Children:

Common: Graphics/Plot2D

Back to the Math Module page