Forums Register Login

Mathematic function?

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
Have a look at java.lang.Math.
+Pie Number of slices to send: Send
And if there wasn't already such a thing, just *type it in* and set it to a variable.
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 661 times.
Similar Threads
How to calculate log values of base 2
To calculate 9th root of any number without using build in function
Rasing BigDecimal to a power
Sort the Array in reverse order
For Loop Performance
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:20:46.