In: Computer Science
x = linspace(2,4,200);
f = -5*x.^2 .* sin(5*x);
g = x.^2 - 3*x + 9;
xlim = ([2 4]);
plot(x,f)
hold on
grid on
plot(x,g)
The intersection points from the given graph are:
2.4620
3.1795
3.7360
(Throw an upvote or comment if you have any doubts.)