multiplying rotation1 by sin

I want to move an entity by using a carrot on a stick with /data modify entity <target> Motion set value [x y z], however, so far i only have the x and y angles and i need the sin values of those. iirc for the roation0 u need to multiply by cos, but im not exactly sure.. (havent done it in school yet). How do i multiply it by sin/cos?

Continue to help post