Guys I am stuck, my lecturer does not help because he said at University level the teachers aren’t responsible for actually teaching or helping anyone they are only there to lecture and its up to us to figure out everything on our own.

This is what I have so far but sadly its far from complete. I am stuck at the part where they say the parameter of cos is degrees and must be converted to radians for the C language cos () function. What do they mean by this and how am I supposed to know how to do it?

basically I don’t know how to implement the formula because if I type it as seen in the paper it will give an error.