How to solve quadratic equation in x and y?

4 ビュー (過去 30 日間)
laura bagnale
laura bagnale 2021 年 10 月 7 日
コメント済み: Star Strider 2021 年 10 月 8 日
Hello everyone,
Could someone help me, please?
I would like to solve this quadratic equation:
f(x,y) = 3x^2 - 6y^2 + 1
and plot it in the 3D space. For the surface in the space I would like to have the x, y couples of data.
Thank you very much
Laura

採用された回答

Star Strider
Star Strider 2021 年 10 月 7 日
I am not certain what solve is in this context.
Plotting the function is straightforward —
syms x y
f(x,y) = 3*x^2 - 6*y^2 + 1
f(x, y) = 
figure
fsurf(f, [-5 5 -5 5])
.
  5 件のコメント
laura bagnale
laura bagnale 2021 年 10 月 8 日
Thank you very much
This was helpful!
Star Strider
Star Strider 2021 年 10 月 8 日
As always, my pleasure!
.

サインインしてコメントする。

その他の回答 (1 件)

laura bagnale
laura bagnale 2021 年 10 月 8 日
Thank you very much for your reply, Star Strider.
Sorry, I was unclear.
I meant f(x,y) = 3*x^2 - 6*y^2 + 1 == 0, so I need to find the couple (x,y), real, that very this equation.
Thank you a lot
Laura

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by