- #1

- 54

- 0

## Homework Statement

I was hoping someone could just verify this solution is accurate.

p(x) =

0 , x < 0

4x, x < .5

-4x + 4 , .5 <= x < 1

Find CDF and Inverse of the CDF.

## Homework Equations

## The Attempt at a Solution

CDF =

0 , x < 0

2x^2 , 0 <= x < .5

-2x^2 + 4x - 1 , .5 <= x <= 1

1, x > 1

Inverse of the CDF

**0 , x < 0**

sqrt( x / 2) , 0 <= x < .5

1 + sqrt ( 1 - x) / sqrt ( 2 ) , .5 <= x <= 1

1, x > 1

sqrt( x / 2) , 0 <= x < .5

1 + sqrt ( 1 - x) / sqrt ( 2 ) , .5 <= x <= 1

1, x > 1

Thanks[/B]