Created
June 15, 2021 13:21
-
-
Save ntakouris/c6c1c5ff3b28c4a6ae20c0a64910f298 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function y = f(x) | |
y = x.^4 * cos(x) - x.^2 * sin(x.^3); | |
end | |
x = -10:.01:10; | |
y = f(x); | |
plot(x, f(x)) | |
min(y) | |
max(y) | |
roots(chebfun(f,[-10, 10])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment