# Math Help - integral square error

1. ## integral square error

Hi,
I want to compute the integral square error between two square waves. one is ideal and the other is assymetric.
the equation for the assymetric is:
x(t)=
A for |t|<=To/4+ε/2
and
-A for (To/4)+(ε/2)<|t|<=To/2

we were asked to plot the ideal( without the ε) and actual (or assymetric) waveforms and compute the integral square error between the two waveforms.

I only have the final solution which is 4εA^2. I cannot find it

Thank you
B

Hi,
I want to compute the integral square error between two square waves. one is ideal and the other is assymetric.
the equation for the assymetric is:
x(t)=
A for |t|<=To/4+ε/2
and
-A for (To/4)+(ε/2)<|t|<=To/2

we were asked to plot the ideal( without the ε) and actual (or assymetric) waveforms and compute the integral square error between the two waveforms.

I only have the final solution which is 4εA^2. I cannot find it

Thank you
B
Over what interval? The square difference is (2A)^2 over a number of intervals each of length ε/2. The number of these depends on the integration interval and if the wave is assumed periodic.

RonL

3. Originally Posted by CaptainBlack
Over what interval? The square difference is (2A)^2 over a number of intervals each of length ε/2. The number of these depends on the integration interval and if the wave is assumed periodic.

RonL
Hi captainBlack,
I Think it over the interval of one period To.
perhaps I did mot plot the 2 functions well.
How many displacement of ε/2 do i have in 1 period?
B.

Hi captainBlack,
I Think it over the interval of one period To.
perhaps I did mot plot the 2 functions well.
How many displacement of ε/2 do i have in 1 period?
B.
So the square wave is periodic with period T0, and you want to integrate from -T0/2 to +T0/2?

So I make that 2 lots of (2A)^2 each of length epsilon/2, for a total of
4A^2 epsilon.

RonL

5. Originally Posted by CaptainBlack
So the square wave is periodic with period T0, and you want to integrate from -T0/2 to +T0/2?

So I make that 2 lots of (2A)^2 each of length epsilon/2, for a total of
4A^2 epsilon.

RonL
OK Thanks