If a+b=p and ab=p, then find the value of p. (Where a and b are positive integers.)
No spam please, if you give proper explanation I will mark as brainliest.
Answers
Answered by
5
a+b=p
Now (a-b)^2=(a+b)^2 -4ab
=>(a-b)^2= p^2 - 4p
=>(a-b)^2=p(1–4p)
=>a-b= sqroot {p(1–4p)}
a+b=p and a-b= sqroot {p(1–4p)}
So adding both the equation we get value of a and b..
Similar questions