sahar sa

Ranch Hand

Posts: 102

posted 7 years ago

Dear friends,

I need to code a formula which contains Natural logarithm and "e" power 3 for example. by e I mean the transcendental number which is around 2.71 ... .

Is there any constant in java as "e" or no?

Is there any function that can calculates Ln (natural logarithm)?

do you know any source that can help me?

Thank you so much,

Sahar

I need to code a formula which contains Natural logarithm and "e" power 3 for example. by e I mean the transcendental number which is around 2.71 ... .

Is there any constant in java as "e" or no?

Is there any function that can calculates Ln (natural logarithm)?

do you know any source that can help me?

Thank you so much,

Sahar

posted 7 years ago

Have a look at java.lang.Math.

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.