Question

In: Computer Science

if f(x) = -5x^2 sin(5x) and g(x) = x^2 -3x +9 are defined over the interval...

if f(x) = -5x^2 sin(5x) and g(x) = x^2 -3x +9 are defined over the interval (2,4)
write the full MATLAB commands to plot the two functions above two functions on the same set of axes
2 find the x and y coordinate of all points of intersections (x,y) that you can clearly see between the two graphs. Round up to 4 decimal

Solutions

Expert Solution

x = linspace(2,4,200);
f = -5*x.^2 .* sin(5*x);
g = x.^2 - 3*x + 9;
xlim = ([2 4]);
plot(x,f)
hold on
grid on
plot(x,g)

The intersection points from the given graph are:

2.4620

3.1795

3.7360

(Throw an upvote or comment if you have any doubts.)


Related Solutions

How do you find the domain of: f(g)= 5x^2+4 f(g)= 3x; -2<x<6 f(g)= (1) / 3x-6...
How do you find the domain of: f(g)= 5x^2+4 f(g)= 3x; -2<x<6 f(g)= (1) / 3x-6 f(g)= (x+2) / x^2-1 f(g)= x^4 / x^2+x-6 f(g)= sqrt (x+1) f(g)= sqrt (x^2+9)
Expand the function, f(x) = x, defined over the interval 0 <x <2, in terms of:...
Expand the function, f(x) = x, defined over the interval 0 <x <2, in terms of: A Fourier sine series, using an odd extension of f(x) and A Fourier cosine series, using an even extension of f(x)
Question1: Find the interval of increase and decrease of given function f(x)=3x^5-5x^3 f(x)=1/3 x^3-9x+2
Question1: Find the interval of increase and decrease of given function f(x)=3x^5-5x^3 f(x)=1/3 x^3-9x+2
. Let f(x) = 3x^2 + 5x. Using the limit definition of derivative prove that f...
. Let f(x) = 3x^2 + 5x. Using the limit definition of derivative prove that f '(x) = 6x + 5 Then, Find the tangent line of f(x) at x = 3 Finally, Find the average rate of change between x = −1 and x = 2
Use the function below to answer parts a-k. f(x)=x^3-5x^2+3x+9 a. Is the function algebraic or exponential?...
Use the function below to answer parts a-k. f(x)=x^3-5x^2+3x+9 a. Is the function algebraic or exponential? b. Find the domain of the function. c. Find the interval where the function is continuous. If the function is discontinuous at a value, specify the first continuity condition that is not satisfied. d. What is/are the x-intercepts? e. What is the y-intercept? f. Find all of its critical values stating if they are absolute/relative max or min. g. What are the hypercritical values?...
2. Let f(x)=2x^2−4x+7/5x^2+5x−9, evaluate f '(x) at x=3 rounded to 2 decimal places. f '(3)= 3....
2. Let f(x)=2x^2−4x+7/5x^2+5x−9, evaluate f '(x) at x=3 rounded to 2 decimal places. f '(3)= 3. Let f(x)=(x^3+4x+2)(160−5x) find f ′(x). f '(x)= 4. Find the derivative of the function f(x)=√x−5/x^4 f '(x)= 5. Find the derivative of the function f(x)=2x−5/3x−3 f '(x)= 6. Find the derivative of the function g(x)=(x^4−5x^2+5x+4)(x^3−4x^2−1). You do not have to simplify your answer. g '(x)= 7. Let f(x)=(−x^2+x+3)^5 a. Find the derivative. f '(x)= b. Find f '(3)= 8. Let f(x)=(x^2−x+4)^3 a. Find the...
Consider the polynomial f(x) = 3x 3 + 5x 2 − 58x − 40. Using MATLAB....
Consider the polynomial f(x) = 3x 3 + 5x 2 − 58x − 40. Using MATLAB. Find the three roots of the polynomial, i.e, x where f(x) = 0, using Newton’s method. Report the number of iterations taken by each algorithm using a tolerance of 10−8 .
find the intervals where g(x)=-3x(5x+2)7 is increasing and where it is decreasing.
find the intervals where g(x)=-3x(5x+2)7 is increasing and where it is decreasing.
Suppose f is defined by f(x)=3x/(4+x^2), −1≤x<3. What is the domain of f? Find the intervals...
Suppose f is defined by f(x)=3x/(4+x^2), −1≤x<3. What is the domain of f? Find the intervals where f is positive and where f is negative. Does f have any horizontal or vertical asymptotes. If so, find them, and show your supporting calculations. If not, briefly explain why not. Compute f′ and use it to determine the intervals where f is increasing and the intervals where f is decreasing. Find the coordinates of the local extrema of f Make a rough...
Consider the function on the interval (0, 2π). f(x) = sin(x)/ 2 + (cos(x))^2 (a) Find...
Consider the function on the interval (0, 2π). f(x) = sin(x)/ 2 + (cos(x))^2 (a) Find the open intervals on which the function is increasing or decreasing. (Enter your answers using interval notation.) increasing decreasing (b) Apply the First Derivative Test to identify the relative extrema. relative maximum (x, y) = relative minimum (x, y) =
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT