Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.7K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Mathematica refuses to use NLimit

Posted 10 years ago
NLimit[(E^(2/n) - 1)/(ln[(2*n - 1)/(2*n)]), n -> Infinity]

This above is my input, in wolfram alpha you get the answer -4 as the limit but i really need the step by step to show me how i shall get started. The problem is that Mathematica just spit out the exact same input in the output it do not calculate it.

POSTED BY: Anton Gustafsson
4 Replies

Hi,

if you need the step-by-step solution you will need to use WolframAlpha from within Mathematica. You can do that by typing two equal signs at the beginning of the input line. You can then type in your limit command.

enter image description here

If you click on the Step-by-Step solution button you get what the solution.

Cheers,

Marco

POSTED BY: Marco Thiel

How can I get a step by step solution in mathematica then?

POSTED BY: Anton Gustafsson

Thanks Marco! :D

POSTED BY: Anton Gustafsson

Hi,

well, NLimit is not a built-in function. You would need to execute:

Needs["NumericalCalculus`"]

before you can use NLimit. Also ln should rather be Log, because all Mathematica functions start with a capital. If you use

Limit[(E^(2/n) - 1)/(Log[(2 n - 1)/(2 n)]), n -> Infinity]

that gives -4 (infinite precision). If you load the NumericalCalculus package as shown above,

NLimit[(E^(2/n) - 1)/(Log[(2 n - 1)/(2 n)]), n -> Infinity]

also gives -4. but with machine precision.

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard