Your mission
Return the rudder deflection for a pilot command, with the valve working or jammed.
today's brief
Colorado Springs, March 3 1991. United 585 rolls right on approach and goes into a park. The NTSB takes years to name the cause: a dual servo valve that could jam and drive the rudder hard over the wrong way. USAir 427 went down near Pittsburgh the same way in 1994 before anyone believed it. Push left, get full right.
See it in action
deflection(5, 20, 0)5deflection(5, 20, 1)-20deflection(-3, 20, 1)20
Your checklist
Constraints
- Expected file
rudder.c- Allowed functions
- None. Write every helper yourself.
