- #1
Maatttt0
- 37
- 0
Homework Statement
Given that:
f(x) = 2(1-x) for 0 < x < k
...0 for otherwise
sketch the graph of f(x) and find:
(i) the value of k,
(ii) the median of x
Homework Equations
The Attempt at a Solution
(i) I sketched the graph and got a line from (0,2) to (1,0) which has an area of 1, so k = 1.
(ii) [tex]^{}M[/tex][tex]_{}0[/tex][tex]\int[/tex](2 - 2x) = 1/2
The code is messing up but intergation of (2 - 2x) with m (median) as the top limit and 0 being the bottom one and it = 1/2
[2x - x^2]m0 = 1/2
2m - m2 = 1/2
I'm stuck on getting m separated as it's a negative square
Help me please :(