Hi Guys I need your help about an exam if you can help me it would be great..

Maybe I didn't Write in the right Topic But I didn't know where to put this question anyway I am soory about this

The Question is to help me in this question : I mean to write this Java method

ii. /** cosine calculates the cosine value of its parameter, using the formula

* cosin(x) = 1 - (x^2/2!) + (x^4/4!) - (x^6/6!) + ... - (x^20/20!)

* @param x - the value, in radians, whose cosine is desired

* @return the cosine as calculated by the formula */

public double cosine(double x)