used some trig if u want, i can show the proof click to launch press space to show/hide variables and path