How can I draw graph of y^2=x^2 * (x+3)?
1 view (last 30 days)
Show older comments

0 Comments
Accepted Answer
Sam Chak
on 18 Nov 2023
Edited: Sam Chak
on 18 Nov 2023
Hi @Lê
f = @(x, y) y.^2 - (x.^2).*(x + 3);
fimplicit(f), grid on
xlabel('x'), ylabel('y')
4 Comments
Sam Chak
on 18 Nov 2023
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!