Solving Numerically the System: x^2+y^2=1 and xy=1/2

  • Thread starter wuyaosi
  • Start date
  • Tags Tags
    System
1 reply · 2K views · last reply
wuyaosi
Messages
1
Reaction score
0
Hi,

I am looking for the code of Matlab which can led me to solve numerically this system
x^2+y^2=1
xy= 1/2


I want to write a programm which can be able to solve numerically the above syatem


Thanks in advance
 
You can solve it exactly. If you don't see the answer by inspection, try y=1/(2x), so x^2 + 1/(4x^2) = 1, so z^2 - z + 1/4 = 0, where z = x^2.