Question: HW 3 P 3 0 solutions submitted ( max: 4 ) Consider the following function f ( x ) and its derivative f ' (

HW3 P3
0 solutions submitted (max: 4)
Consider the following function f(x) and its derivative f'(x) :
f(x)=x*sin(x)
f'(x)=sin(x)+x*cos(x)
(1) Create a vector x in radius from 0-2 with 0.01 interval.
(2) Calculate f(x) based on the given formula above, use the variable name fx.
(3) Claculate f'(x) using the given formula above, use the variable name fx_derivative.
(4) Generate a plot of f'(x) vs.x.(x is x axis, f'(x) is y axis). Add labels, title to your graph.
(5) On your plot, find out what is the smallest value for fx_derivative, use a MATLAB built-in function to validate. Save the minimum value in a variable named min_fx_d.
Script o.
1
 HW3 P3 0 solutions submitted (max: 4) Consider the following function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!