Google Groups Home
Help | Sign in
obtaining a numerical evaluation of log(2) with mathematica
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lydiajone...@aim.com  
View profile
 More options Dec 2 2008, 12:07 am
Newsgroups: sci.math
From: lydiajone...@aim.com
Date: Mon, 1 Dec 2008 11:07:26 -0800 (PST)
Local: Tues, Dec 2 2008 12:07 am
Subject: obtaining a numerical evaluation of log(2) with mathematica
Hi everyone,

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.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David W. Cantrell  
View profile
 More options Dec 2 2008, 12:13 am
Newsgroups: sci.math
From: David W. Cantrell <DWCantr...@sigmaxi.net>
Date: 01 Dec 2008 19:13:11 GMT
Local: Tues, Dec 2 2008 12:13 am
Subject: Re: obtaining a numerical evaluation of log(2) with mathematica

lydiajone...@aim.com wrote:
> Hi everyone,

> 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 appreciate your help and pointers.

For your particular question, an answer is

N[Log[2]]

David


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amzoti  
View profile
 More options Dec 2 2008, 2:48 am
Newsgroups: sci.math
From: amzoti <amz...@gmail.com>
Date: Mon, 1 Dec 2008 13:48:28 -0800 (PST)
Local: Tues, Dec 2 2008 2:48 am
Subject: Re: obtaining a numerical evaluation of log(2) with mathematica
On Dec 1, 11:07 am, lydiajone...@aim.com wrote:

> Hi everyone,

> 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.

HTH ~A


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google