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
Click For Summary
SUMMARY

The discussion focuses on numerically solving the system of equations x² + y² = 1 and xy = 1/2 using MATLAB. A suggested approach involves substituting y with 1/(2x), leading to a quadratic equation in terms of z = x². The exact solution can be derived from the quadratic formula, providing a pathway for MATLAB implementation.

PREREQUISITES
  • Understanding of numerical methods in MATLAB
  • Familiarity with solving quadratic equations
  • Basic knowledge of algebraic manipulation
  • Experience with MATLAB programming syntax
NEXT STEPS
  • Research MATLAB's built-in functions for numerical solving, such as fsolve
  • Learn about the quadratic formula and its applications in solving equations
  • Explore MATLAB's symbolic toolbox for exact solutions
  • Study optimization techniques in MATLAB for refining numerical solutions
USEFUL FOR

Mathematics students, engineers, and programmers interested in numerical methods and MATLAB programming for solving algebraic systems.

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
 
Technology 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.
 

Similar threads

Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 63 ·
3
Replies
63
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
Replies
2
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
3
Views
2K