3. Plot $f(x)$ and evaluate the approximate location of its roots in the range of $0 < x < 20$. Then, use \ fzero function to precisely find its third root in this range.\ (5 Points)\ $f(x) = \frac{sin(\frac{x}{2})(-x^2 + 1)}{x}$
Added by Rebecca M.
Close
Step 1
```matlab function y = f(x) y = (sin(x/2) * (-x^2 + 1)) / x; end ``` Show more…
Show all steps
Your feedback will help us improve your experience
Shu Naito and 80 other Calculus 3 educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Can you please answer this in details in MATLAB?
Shu N.
Write a MATLAB code to solve the following problems. 1-use Bisection Method x^3 + 4x^2 - 10 = 0 for x ∈ [0, 5] x^3 - 6x^2 + 10x - 4 = 0 for x ∈ [0, 4] 2-Use Newton Method x^3 + 3x + 1 = 0 for x ∈ [−2, 0] 3-Use fixed point Method x^3 - 2x - 1 = 0 for x ∈ [1.5, 2] 4-Use secant Method 1 - 2e^(−x) − sin(x) = 0 for x ∈ [0, 4] 2 - x^3 + 4x^2 − 10 = 0 for x ∈ [0, 4]
Adi S.
The function y=f(x) is specified by y=x^3-2x^2-11x+10. Find: 1. all three roots (zeros) of y=f(x) by using the Matlab function roots(); assign these roots to the variable xzeros 2. a root of y=f(x) by using the Matlab function fzero() with the initial guess x0=-2; assign this root to the variable xz 3. the minimum of y=y(x) and its x-location on the interval [-3,4] by using the Matlab function fminbnd(); assign this min to the variable ymin 4. the maximum of y=y(x) and its location on the interval [-3,4]; assign this min to the variable ymax 5. the integral of y(x) over the interval [-3,4] by using the Matlab function integral(). assign this min to the variable area
Akash M.
Recommended Textbooks
Calculus: Early Transcendentals
Thomas Calculus
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD