Define f for all x... (Convergence, integration... (Rectangular distribution?)

Hey mathematicians,

I have a question, which I hoped someone in this forum could help me solve...

It goes as follows...

Define f for all x by f(x) = 1/(a-b) for x ∈ (belongs to) [a,b], f(x) = 0 for x does not belong to [a,b].

(In statistics it is called rectangular distribution)

Integral from range -infinite to +infinite = x^2 f(x) dx

I'm very sorry about the missing math operators...

I'm still searching for a solution to copy images in here...

It would make it a lot easier!

In hope of a help... Many thanks...

Simon DK

Thanks, I solved two similar questions using your solution...

Hey Cpt. Black,

Thanks, it was a big help...

You pasted what seems to be LaTeX, but - when I preview a post it seems it doesn't show up as 'real' math... Only LaTeX language? Why is that?

Simon DK