How can I draw graph of y^2=x^2 * (x+3)?
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Sam Chak
2023-11-18
编辑:Sam Chak
2023-11-18
Hi @Lê
f = @(x, y) y.^2 - (x.^2).*(x + 3);
fimplicit(f), grid on
xlabel('x'), ylabel('y')
4 个评论
Sam Chak
2023-11-18
Hi @Lê
The original question about the implicit plot has been adequately answered. I believe not many students are aware that it involves an implicit function. However, I agree with @John D'Errico's point, and it's fair to inquire about where to find information regarding the integral. Perhaps you didn't use the correct keywords when searching on Google.
There are both symbolic and numerical approaches. Since the problem of finding the area involves a definite integral, I suggest using the integral() command directly. Click on the link to see some examples:
Please share your MATLAB code here, and you will get a sense of achievement.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!