Gearbox:

--------------------------------------------------------------------------
   Computes torque and angular rate for a gearbox.

   This function does not model losses or nonlinearities.

   Type Gearbox for a demo.

   n will be > 1 to decrease the angular rate and increase the torque.

   n will be < 1 to increase the angular rate and decrease the torque.

--------------------------------------------------------------------------
   Form:
   [omegaOut, torqueOut] = Gearbox( n, omegaIn, torqueIn )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n          (1,1)  Gear ratio n = omegaIn/omegaOut
   omegaIn    (1,:)  Incoming angular rate
   torqueIn   (1,:)  Incoming torque

   -------
   Outputs
   -------
   omegaOut   (1,:)  Outgoing angular rate
   torqueOut  (1,:)  Outgoing torque

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