+ 1
A programme to find exponent of a number in java
hey i m new in solo learn plz anyone help me
6 Respostas
+ 2
What do you mean by find an exponent of a number?
+ 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³.
+ 2
Yes, but I do not know why he wants to find x, maybe using logarithm?
+ 1
@Jonas, I know his language is a bit bad, but it is the fault of our school book...
Yep, he's my schoolmate...
+ 1
Ah, I understand😂
+ 1
@Jonas, thanks for understanding 👍