I am attempting to write a calculated question for carpentry students. Formula for question is **({s}/2)/cos({x})**. My issue is that moodle recognises value "x" in radians whilst students are working in degrees. Moodle will convert "x" to degrees and then perform calculation but the students will be working with the raw number.

Is there a code to rectify this or is there a setting in the back end of moodle that changes units used to degrees ?