SolveVaneAngles:

% Solve a two-axis control vane problem using Newton's method.
 Actual torque is computed using SailDisturbance.
 The vanes are assumed to be on the Z axis.

--------------------------------------------------------------------------
   Form:
   [theta,k] = SolveVaneAngles( Td, theta0, g, env, p, d )
--------------------------------------------------------------------------

Children:

Sail: Disturbances/SailDisturbance