Posts

Showing posts from December 9, 2018

Finding all roots to equation [duplicate]

Image
up vote 2 down vote favorite This question already has an answer here: About multi-root search in Mathematica for transcendental equations 8 answers I'm currently doing some Mathematica exercises, and I'm stuck on this one task where you're supposed to plot the functions h(t)= |3-t^2|+|t-1|-t^2 , g(t)=3sin(t) in the same grap, and then find all the roots. This is what I've got so far: The instructions say that I should use FindRoot to exactly decide all the roots, but I don't think I've done it right. What should I change with the function in order to make it find all of the roots? Thanks in advance. plotting equation-solving