Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
butchichay

New User

Joined: 04 Sep 2006
Posts: 2

 Posted: Mon Jun 18, 2007 6:58 pm    Post subject: How to compute for an exponential of a number 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!

Craq Giegerich

Senior Member

Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

Posted: Mon Jun 18, 2007 7:35 pm    Post subject: Re: EXPONENTIAL Syntax

 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.
Phrzby Phil

Active Member

Joined: 31 Oct 2006
Posts: 971
Location: Richmond, Virginia

 Posted: Mon Jun 18, 2007 9:01 pm    Post subject: ** is also fairly conventional, so always a good guess for your test.
butchichay

New User

Joined: 04 Sep 2006
Posts: 2

 Posted: Tue Jun 19, 2007 11:34 am    Post subject: Re: How to compute for an exponential of a number Thanks for the reply! It was really of big help!
arpita soni

New User

Joined: 19 Jun 2007
Posts: 3
Location: mumbai

 Posted: Tue Jun 19, 2007 12:27 pm    Post subject: Re: How to compute for an exponential of a number 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.
dick scherrer

Site Director

Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

Posted: Tue Jun 19, 2007 2:08 pm    Post subject:

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. . .
tosaurabh20

New User

Joined: 08 Jun 2007
Posts: 26
Location: Noida

 Posted: Tue Jun 19, 2007 5:34 pm    Post subject: Re: How to compute for an exponential of a number 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
dick scherrer

Site Director

Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

Posted: Tue Jun 19, 2007 6:31 pm    Post subject:

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
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm PARSE GDG name to separate generation... Abid Hasan SYNCSORT 2 Sun Feb 11, 2018 3:40 pm Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us