Integral

Dear Friends,

I tryt to calculate by using the root as follows ;

Cos(x+y)

how to calculate this integral…?

Hi,

root [0] f=new TF2("cxy", "cos(x+y)", -1., 1, -1, 1.)
root [1] f->Integral(-0.5, 0.2, -0.5, 0.2)
(Double_t)4.49309678380187760e-01

Cheers, Axel.