Page 1 of 1

PROBLEM1: Finding maxima and minima of a function using numerical differentiation Plot both the function, f(x) = 5 cos(1

Posted: Sat Mar 19, 2022 6:05 pm
by answerhappygod
Problem1 Finding Maxima And Minima Of A Function Using Numerical Differentiation Plot Both The Function F X 5 Cos 1 1
Problem1 Finding Maxima And Minima Of A Function Using Numerical Differentiation Plot Both The Function F X 5 Cos 1 1 (76.88 KiB) Viewed 31 times
using matlab
PROBLEM1: Finding maxima and minima of a function using numerical differentiation Plot both the function, f(x) = 5 cos(10x) + x3 – 2x2 - 6x + 10 and its 1st derivative on different plots for the range 0 < x < 4. Also show the maxima and minima of the functionf (x). Use backward/forward/central difference formula. For maxima or minima, df(x) = 0. dx Output in Figure window: 20 10 f(x) 아 r C -10 0 0.5 1 1.5 2 2.5 3 3.5 4 х 100 50 xp/(x)p mm n n 0 -50 r -100 0 0.5 1 1.5 2.5 3 3.5 4 2 х