Your challenge is to write a program that evaluates the following function:
f(x, t) = d^x / dt^x (sin t)
That is, the x-th derivative of sin t. In case you aren't familiar with calculus, here is a table of derivatives for the sine function:
f(-1, t) = -cos t
f(0, t) = sin t
f(1, t) = cos t
f(2, t)= -sin t
The sequence repeats these 4 functions.
Your program should take in an integer to be used as the x value in the function, and a float to be used at the t value in the function.
Your program may use radians or degrees for the sine function.
Your program should output the value of f(x, t) given the integer x and float t.
This is code-golf, so the shortest answer (in bytes) wins.