Drawing a curve with cos and sin

Hi

I’m trying to create a function where I can input the start and end points for an arc. The function would use sin and cos to generate this arc. Any mathematicians out there with ideas on how to achieve this?

Thanks