Filter löschen
Filter löschen

3x-y+4=0 how to solve this equation in matlab

2 Ansichten (letzte 30 Tage)
Adam
Adam am 7 Okt. 2022
Beantwortet: Sam Chak am 8 Okt. 2022
3x-y+4=0
  1 Kommentar
Star Strider
Star Strider am 7 Okt. 2022
There are an infinity of solutions for one equation in two unknowns.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Sam Chak
Sam Chak am 8 Okt. 2022
The given equation
can be rewritten in this familiar line equation form
You can substitute any real value into x and find y
If there is another curve that intersects with the line, then you can find a unique solution.
If there are two intersections, then there are two solutions.
x = -4:0.1:4;
y = 3*x + 4;
plot(x, y), grid on
xlabel('x'), ylabel('y')

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by