Solve equation in interval
35 views (last 30 days)
Show older comments
Veronika Puskelova
on 29 Nov 2020
Edited: Walter Roberson
on 22 Apr 2021
f = x^2*exp(-x) % at interval x is <-1, 1>
fder = diff(f,x,1)
i need solution for fder in interval <-1 1>, but command solve(fder, [-1 1]) not work pls help
0 Comments
Accepted Answer
Setsuna Yuuki.
on 29 Nov 2020
Edited: Setsuna Yuuki.
on 29 Nov 2020
You can try:
syms x
f = x^2*exp(-x)
fder = diff(f,x,1)
vpasolve(fder,[-1 1]) %change solve
0 Comments
More Answers (1)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!