dimensionless
- 460
- 1
I have the following equation:
<br /> I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right], dx<br />
I have set
<br /> y= \frac{x}{a}-\frac{1}{2}<br />
and
<br /> dy = dx/a<br />
When I substitute the two latter equations into the first equation I should get this:
<br /> I = {a} \int_{-1}^{0} (2y+1) sin^{2}\left[ \pi y\right], dy<br />
For some reason I get this instead:
<br /> I = \frac{a}{2} \int_{-1}^{0} (y+\frac{1}{2}) sin^{2}\left[ \pi y\right], dy<br />
I'm off by a factor of four. What am I doing wrong?
<br /> I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right], dx<br />
I have set
<br /> y= \frac{x}{a}-\frac{1}{2}<br />
and
<br /> dy = dx/a<br />
When I substitute the two latter equations into the first equation I should get this:
<br /> I = {a} \int_{-1}^{0} (2y+1) sin^{2}\left[ \pi y\right], dy<br />
For some reason I get this instead:
<br /> I = \frac{a}{2} \int_{-1}^{0} (y+\frac{1}{2}) sin^{2}\left[ \pi y\right], dy<br />
I'm off by a factor of four. What am I doing wrong?
Last edited: