Find all roots in interval in equation
Show older comments
Please, help, need to find all rots from interval [-1;4] in equation:
sqrt(9)*sin(1.7*x)*log*(4.6-x)=0
2 Comments
John D'Errico
on 20 Mar 2020
Plot the relation. Surely you can do that? Does that tell you roughly where they are, and how many there are? Once you do that, why cannot you use a tool like fzero to find each root?
I'll even get you started.
fun = @(x) sqrt(9)*sin(1.7*x).*log(4.6 - x);
fplot(fun,[-1,4])
yline(0);
You need to make the effort though, as it is your homework assignment, not mine.
4ipinka
on 20 Mar 2020
Answers (0)
Categories
Find more on Get Started with MATLAB 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!