필터 지우기
필터 지우기

How to solve quadratic equation in x and y?

조회 수: 11 (최근 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 CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by