+ 1

A programme to find exponent of a number in java

hey i m new in solo learn plz anyone help me

3rd Oct 2017, 5:20 AM
FIROJ T RAJ
6 Antworten
+ 2
What do you mean by find an exponent of a number?
3rd Oct 2017, 7:09 AM
Jonas Schröter
Jonas Schröter - avatar
+ 2
Well, checking on our school syllabus, it means raise e to the power x. Use: Math.exp(x); And by the way, that's exponential value... If you want power try this, Math.pow(2,3); This returns 2³.
20th Dec 2017, 1:33 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 2
Yes, but I do not know why he wants to find x, maybe using logarithm?
20th Dec 2017, 7:26 AM
Jonas Schröter
Jonas Schröter - avatar
+ 1
@Jonas, I know his language is a bit bad, but it is the fault of our school book... Yep, he's my schoolmate...
21st Dec 2017, 12:15 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 1
Ah, I understand😂
21st Dec 2017, 12:18 PM
Jonas Schröter
Jonas Schröter - avatar
+ 1
@Jonas, thanks for understanding 👍
24th Dec 2017, 8:16 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar