This may not be the best, but its better than doing 30cos(25.9) manually
Here is a much better version I made https://scratch.mit.edu/projects/757286254