How to show function is converging towards a point or not.

17 views (last 30 days)
Say F is function of n and x. Say F=(n*x)/1+(n*x)^2 Is given function then for x[0,k] where k belongs to (0,1). Show that when n tends to infinity will give converging function. Using graphs. Basically just take limit as n tends to infinity where x belongs accordingly. Please I need code as I am getting few error.
  7 Comments
T
T on 20 Oct 2018
Edited: Walter Roberson on 20 Oct 2018
sysm n,x
X=0:k;
K=(0:1);
y = fun of n and x.
Limit((y),n,inf)
Plot(x,n,y)
Something like this

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 20 Oct 2018
Edited: madhan ravi on 20 Oct 2018
syms n x k
assume(0<k<1) %openinterval
assumeAlso(0<=x<=k) %closedinterval 
F= (n.*x)./(1+(n.*x).^2) 
limit(F,n,inf) 
F=@(x,n) (n.*x)./(1+(n.*x).^2)
x=linspace(0,1,1000);
n=1:1000;
plot(F(x,n))
  20 Comments
T
T on 20 Oct 2018
also, we used . while writing function BCS it is a way to express when we do multiplication
madhan ravi
madhan ravi on 20 Oct 2018
Edited: madhan ravi on 20 Oct 2018
yes it's element wise operation , each element of x is multiplied with corresponding element of n

Sign in to comment.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!