This is an exercise from a subject called Math Laboratory in my university and the aim is to solve this using software Maxima.
Consider the following function:
F(x)=2sin(4(x-[1/2]))+sin(x-[1/2])
a) find the greatest negative solution
b) the fourth positive solution
Many thanks for your help.
Regards,
Plot the function over the interval [-5,5] and identify intervals containing the required root and no other from the plot. Then use the find_root function to refine the solution.
Or use the plot to identify the approximate positions of the required roots and newton to refine the solution.
CB
actually i'm not understanding the question "the greatest negative solution"..
does this mean the same as the absolute minimum?
I've plot the function then identified an interval where the minimum is.
Then i've differentiated the function to check where y=0.
I've got the approximated x value of the absolute minimum, using rolle.
But I guess this is not the greatest negative value
Many thanks!
Regards,
Ken