Is there a way how to calculate limits in js without using extenal libraries?
Lets say we have limit
lim n-> infinity = n^{n/2} / n!
could we solve it using plain js?
Is there a way how to calculate limits in js without using extenal libraries?
Lets say we have limit
lim n-> infinity = n^{n/2} / n!
could we solve it using plain js?
You can compute the sequence values for increasingly large n
, and make some arguments if these values stop to change. Some CAS can manipulate limits symbolically, but not plain javascript.
In the current case you would be faster looking up Stirling's formula of
n!~(2*pi*n)^0.5*(n/e)^n
to find that your limit is zero.