JSTreb does not include a sliding phase for the projectile, but assumes the projectile when the motion starts just falls into a trench. It is therefore only an approximation for TrebStar.
If you get weird results, an overflow, or underflow alert message, try increasing the number of points, npts. If that doesn't work, draw a sketch of the treb to scale and make sure all of the lengths make sense. If l5 is larger than l2, for example, this is not a "well-formed" treb. If that is ok, try changing the input parameters to a nearby set that works in order to see the characteristics of trebs in that region of the configuration space. The algorithm used does not include a variable step size feature, so it does not handle certain cases (where the sling "twirls") very well.
Go back to home page.