MATLAB CODE 1 Compute lim x0 1sin 3x 1x Please give answer

MATLAB CODE:

1. Compute lim x0+ (1+sin 3x) 1/x .

Please give answer in MATLAB format

Solution

matlab commands for above:

syms x

limit((1+sin(3*x))/x,0)

ans =

Inf

for the limit operation we can use limit of that function

Syntax

limit(expr,x,a)
limit(expr,a)
limit(expr)
limit(expr,x,a,\'left\')
limit(expr,x,a,\'right\')

Example:

MATLAB CODE: 1. Compute lim x0+ (1+sin 3x) 1/x . Please give answer in MATLAB formatSolutionmatlab commands for above: syms x limit((1+sin(3*x))/x,0) ans = Inf

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site