View Full Version : Average Value for cos(X) 0<X<90


gerg
03-24-04, 10:14 AM
Hello

Is there a method to work out the average value of cos(x) in the interval 0<X<90 degrees ?

I did wrote a computer program using 1,000,000,000 values for cos(x) then calculating the mean, but I would much rather get the exact answer algebraically.

This may seem like a stupid questions and I'm probably just not seeing something obvious here.

Thankyou Very Much

Gerg

John Connellan
03-24-04, 10:50 AM
U can use integration to find the average value of a function easily.

Use:

1/interval * &int;cos(x) (from upper lim to lower lim)

This will yield an average of y for cos(x) through that interval.

HallsofIvy
03-24-04, 11:15 AM
Using John Connelan's advice and your values of 0 to pi/2 radians (90 degrees), the average value of cos(x) is 2/pi.

gerg
03-24-04, 11:53 AM
thankyou very much for your replies :)

this is very useful to me

gerg