now it works
trig is great...if you can do algebra