Consider the function f(x) = 1 ? cos(x) /x and the limit as x approaches zero: lim x?0 f(x). since there is a division by zero, matlab cannot compute f(0). find the limit of f(x) as x approaches zero numerically. you may find the function logspace useful: logspace(a,b,c) makes a vector of values from a to b of length c
Answers
Answered by
0
the limit of cos x/x does not exist when x approaches to 0. It is only useful for sin x/x or tan x/x
Similar questions