I have a function
f(t) = e^(−5) e^(−5cos cos(t)) e^(10cos(t)) e^(−5sin sin(t))
I need to find the value of f for different values of t. Let us say from t=0 to t=5. How to write coding for that?. I just know some basics of C
Below should get you started. The formula was a bit hard to read, so I kind of guessed. I split the different factors up to make it a little easier to read. You have to include to the math library to compile it, e.g., `gcc -lm formula.c`.