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

  • Thread starter Thread starter wuyaosi
  • Start date Start date
  • Tags Tags
    System
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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
 
Physics news on Phys.org
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.