I'm writing a program in VB but since math isn't my strongest suit I'm having a little trouble figuring out the equation for this:(adsbygoogle = window.adsbygoogle || []).push({});

I have a grid 100 x 100.

The user will input the direction in deg and the distance to travel. I need to get the destination grid x and Y.

0 Deg is facing up.

I don't mind if there is a little bit of error, in fact I want it. Rounding is acceptable.

Any help is appreciated, if you need more info just ask please.

Ron

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Trig graphing problem

**Physics Forums | Science Articles, Homework Help, Discussion**