Ok...this must sound stupid, because i didn't found answer on the web and on my books...but i am having trouble with the infinite square well.(adsbygoogle = window.adsbygoogle || []).push({});

I want to calculate <x>.

V(x)=0 for 0<=x<=a

[itex]

<x>=\frac{2}{a}\int^{a}_{0} x \sin^2(\frac{n\pi}{a}x)dx

[/itex]

Doing integration by parts i got to:

[itex]\frac{2}{a}\left[\frac{a^2}{2n}-\int^a_0\frac{a}{2n}dx\right]=0[/itex]

What i am doing wrong?

Thank you

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Expected values in infinite square well

**Physics Forums | Science Articles, Homework Help, Discussion**