how do I store a function into a variable and solve it?
Afficher commentaires plus anciens
I am trying to calculate this function: 𝑓(𝑡) = 4(sin(2𝜋𝑡)) + exp(−𝑡)/𝑡
but it keeps on telling me 'Error using sym/assume Too many output arguments.'
syms t
y = 4*sin(2*pi*t) + exp(-t)./t;
eqn = y == 0
solv= solve(eqn,t)
4 commentaires
There are likely an infinity of solutions —
syms t
y = 4*sin(2*pi*t) + exp(-t)./t;
figure
fplot(y, [0 10])
grid
.
Star Strider
le 5 Août 2022
There remain an infinity of solutions!
sumaiya hossain
le 5 Août 2022
Réponses (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!

