I would like to obtain the numerical value of, say, log(2) using mathematica. But when I write Ln[2], mathematica returns Ln[2]. I also tried the following without success.
> I would like to obtain the numerical value of, say, log(2) using > mathematica. But when I write Ln[2], mathematica returns Ln[2]. I also > tried the following without success.
> In[24]:= approximate[Ln[2]]
> Out[24]= approximate[Ln[2]]
> What should I do?
In general: Read the documentation! (BTW, neither "approximate" nor "Ln" is a Mathematica function.)
> I would like to obtain the numerical value of, say, log(2) using > mathematica. But when I write Ln[2], mathematica returns Ln[2]. I also > tried the following without success.
> In[24]:= approximate[Ln[2]]
> Out[24]= approximate[Ln[2]]
> What should I do?
> I appreciate your help and pointers.
First - I am not sure what Ln is (unless it is new), the command is Log - for any base - with defualt being natural log.
You could use postfix notation as in Log[2]//N
You could also use N[Log[2]].
If you want more precision, you could also use N[Ln[2],100000]
That should at least get you started with the commands - so you can look them up for all sorts of other ways.