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

 Réponse acceptée

Setsuna Yuuki.
Setsuna Yuuki. le 29 Nov 2020
Modifié(e) : Setsuna Yuuki. le 29 Nov 2020

0 votes

You can try:
syms x
f = x^2*exp(-x)
fder = diff(f,x,1)
vpasolve(fder,[-1 1]) %change solve

Plus de réponses (1)

syms x
solve([diff(x^2*exp(-x)), x <= 1, x >= -1])
ans = 
0

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by