Average value on the given interval? Please help!
@amistre64 Can you please check my answer on this one?
f(x) = sin nx, 0≤x≤ pi/n where n is a positive integer.
I think the indefinite integral is (-1/pi)(cos(nx)
\[\frac{n}{\pi }\int_0^{\frac{\pi}{n}}\sin(nx)dx\] is a start
So with the boundaries the definite integral is 2/n?
Yeah I did that. I let u = nx so integral sin(nx) dx = integral sin udn/n
= 1/n integral sinu du = -1/n cos u + c
= -1/n (cos(nx)) / pi/n
= (-1/pi)(cos(nx)
dividing by \(\frac{\pi}{n}\) is the same as multiplying by \(\frac{n}{\pi}\)
Oh so I'm wrong?
no i think you are right, i didn't get to your second line
Oh okay. :) So I think my indefinite integral is correct I just need verification of my definite integral solution.
think you have it \[-\frac{1}{\pi}\cos(nx)\] evaluated at \(\frac{\pi}{n}\) and at \(0\)
Yes. Does that give me the average value?
yes, because it is \[\frac{1}{b-a}\int _a^bf(x)dx\]
Yay! Thank so much! :)
i get \(\frac{2}{\pi}\) but you should check my arithmetic
Ok (-1/pi)(cos(nx) I put pi/n in first?
yes
You're probably right I'm really bad at math. lol
I'm not getting graded for this anyway I just wanted someone to help me through the practice problems. Thank you!
me too
but if you plug in \(\frac{\pi}{n}\) you get \(-\frac{1}{\pi}\cos(n\frac{\pi}{n})=-\frac{1}{\pi}\cos(\pi)=-\frac{1}{\pi}(-1)=\frac{1}{\pi}\)
Oh okay that makes sense. That's where I messed up. I really appreciate it.
yw
Join our real-time social learning platform and learn together with your friends!