View previous topic :: View next topic
|
Author |
Message |
butchichay
New User
Joined: 04 Sep 2006 Posts: 2
|
|
|
|
Hi,
Would anyone know how to compute for an exponential of a number?
For example,
4^2 = 16
What should i do with 4 to get 16?
Any help would be greatly appreciated.
Thanks! |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
butchichay wrote: |
Hi,
Would anyone know how to compute for an exponential of a number?
For example,
4^2 = 16
What should i do with 4 to get 16?
Any help would be greatly appreciated.
Thanks! |
4 ** 2
Did you try looking in the manual. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
** is also fairly conventional, so always a good guess for your test. |
|
Back to top |
|
|
butchichay
New User
Joined: 04 Sep 2006 Posts: 2
|
|
|
|
Thanks for the reply!
It was really of big help! |
|
Back to top |
|
|
arpita soni
New User
Joined: 19 Jun 2007 Posts: 3 Location: mumbai
|
|
|
|
Hi,
Kindly let me know the way how to compute the exponential of a number:
e.g:
5 ^ 4
= 32 combinations.
answer to the above query has not been provided. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
How to calculate an "exponential" is posted already in the topic
What does this mean?
Quote: |
5 ^ 4
= 32 combinations.
|
5 raised to the 4th is not 32 - 2 raised to the 4th is 32 and that is what is shown in the previous info.
Please show what you mean by 32 combinations. . . |
|
Back to top |
|
|
tosaurabh20
New User
Joined: 08 Jun 2007 Posts: 26 Location: Noida
|
|
|
|
2 raise to power of 4 is not 32.
it is 2 raise to power of 5 which comes out to be 32.
which can be interpreted as 2**5 in cobol.
Thanks
Saurabh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
My bad - didn't check well when keying this
Quote: |
Quote:
5 ^ 4
= 32 combinations.
5 raised to the 4th is not 32 - 2 raised to the 4th is 32 |
As has been pointed out, 2 to the 5th is 32. What i was trying to point out is that 5 to the 4th isn't 32 (unless that also was a typo. . .
Thanx for the correction |
|
Back to top |
|
|
|