How do i find the x value for a GIVEN x
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I made a secant script for the function f = @(x) exp(1)/3*x*exp(-x/3) aslo read as (e/3)*x*e^(-x/3). How do i find the x value corisponding to y= .25. I must make a second script. I graphed the fuction on my computer and it is not a root so how do i go about this issue? I know its 11.08 but how do i write it in code?
0 commentaires
Réponses (1)
madhan ravi
le 15 Sep 2019
fsolve(@(x)f(x)-.25,[0,10]) % two solutions but look into you're area of interest
fplot(@(x)f(x)-.25,[0,11])
2 commentaires
Voir également
Catégories
En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!