Question

questions should be done on MATLAB 5) For the function f(x) = cos(x)exp(-x2) find and at...

questions should be done on MATLAB

5) For the function f(x) = cos(x)exp(-x2) find and at 0.5 and = 1.

Homework Answers

Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format long

f=@(x) cos(x).*exp(-x.^2);

fzero(f,0.5)

Dy=(f(0.5+1)-f(0.5-1))

Kindly revert for any queries

Thanks.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
a)is the function f (x) = x exp ^(-x ^ 2/2) a proper function of the...
a)is the function f (x) = x exp ^(-x ^ 2/2) a proper function of the operator d2 / dx2-x2? if so, what is the intrinsic value? b)is the function f (x) = exp (4ix) +exp (-4ix) its own function of the operator d2 / dx2? if so, what is the intrinsic value?
Answer the following questions for the function f(x)=x√x2+1f(x)=xx2+1 defined on the interval −5≤x≤7-5≤x≤7. f(x)f(x) is concave...
Answer the following questions for the function f(x)=x√x2+1f(x)=xx2+1 defined on the interval −5≤x≤7-5≤x≤7. f(x)f(x) is concave down on the interval x =     to x =     f(x)f(x) is concave up on the interval x =     to x =     The inflection point for this function is at x =     The minimum for this function occurs at x =     The maximum for this function occurs at x = 2) Consider the function f(x)=12x5+15x4−240x3+7f f(x) has inflection points at (reading from left to right) x =...
An everywhere continuous function f satisfies f''(x)= x2 -4x -5. Find the intervals where f is...
An everywhere continuous function f satisfies f''(x)= x2 -4x -5. Find the intervals where f is concave up and concave down.
find the work done by the force field f(x,y)= < x2+y2, -x > on a particle...
find the work done by the force field f(x,y)= < x2+y2, -x > on a particle that moves along the curve c: x2+y2=1, counterclockwise from (0,1) to (-1,0)
. For the function f(x) = x 1+x2 (a) find the intervals on which the function...
. For the function f(x) = x 1+x2 (a) find the intervals on which the function is increasing or decreasing (b) determine the points of local maximum and local minimum (c) find the asymptotes.
Write a MatLab function J = Jcb(f, x) that computes the jacobian of the vector f...
Write a MatLab function J = Jcb(f, x) that computes the jacobian of the vector f of functions of x. Input f is the vector of functions [f1(x1, x2, x3...); f2(x1, x2, x3...); ...] and inout x is a vector of unkown x [x1; x2; x3;...]. Output J is the jacobian square matrix of vector f.
f(x) = (sin x)2(cos x)5 a) Find the first derivative of your function in fully factored...
f(x) = (sin x)2(cos x)5 a) Find the first derivative of your function in fully factored form b) Find the critical numbers over the domain c) Find the exact slope of the tangent to your function at x= 4 d) Find the exact equation of the tangent to your function at x= 4 in slope y intercept form
Write a user-defined function, in MATLAB, with function call val=evalf(f,a,b) where f is an inline function,...
Write a user-defined function, in MATLAB, with function call val=evalf(f,a,b) where f is an inline function, and a and b are constants such that a<b. The function calculates the midpoint m of the interval [a,b] and returns the value of (1/2)f(a)+(1/3)f(m)+(1/4)f(b). Execute the function for f(x)=e^(-x)*cos(2x), a=-1, b=3.
Find the values of a function f(x) if f(x) = 2x + 5, for f(2), f(4),...
Find the values of a function f(x) if f(x) = 2x + 5, for f(2), f(4), f(k), and f(x2 + 2) The difference quotient of a function is given by: limh0f(x) fx+h-f(x)h . Find the difference quotient of, f(x) = 2x + 3 and f(x) = x2 + 2 a. Prove that h(x) and k(x) are inverses of each other when h(x) =x+213  and k(x) = 3x + 21
Find f. f "'(x)= cos(x), f(0)=3, f'(0)=5, f "(0)=5
Find f. f "'(x)= cos(x), f(0)=3, f'(0)=5, f "(0)=5