find new position based on angle and length

hiya all,
I'm having a coding/math problem. I need to put spriteA a certain distance from spriteB and off in a certain direction/angle. how do I find spriteA's new coordinates?
I'm not sure but I think my problem needs the sin cos tan functions to be solved but I don't know how to use them properly.
any help?
I'm having a coding/math problem. I need to put spriteA a certain distance from spriteB and off in a certain direction/angle. how do I find spriteA's new coordinates?
I'm not sure but I think my problem needs the sin cos tan functions to be solved but I don't know how to use them properly.
any help?