Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exponential

Former Member
0 Kudos

Hi. How can I do exponentials operations. For example:

(a+b) ^ 2.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You could just do F1 on compute. It will tell you:

( a + b ) ** 2

Rob

6 REPLIES 6

Former Member
0 Kudos

a = 3 , B= 2 , C= ?

COMPUTE C = ( A + B ) * 2

0 Kudos

This message was moderated.

Former Member
0 Kudos

Did you try EXP ? Do an F1 help

Former Member
0 Kudos

Hi Jorge,

( a + b ) ** 2.

Regards,

Chandra Sekhar

Former Member
0 Kudos

DATA : A TYPE I,

B TYPE I,

C TYPE I.

A = 4.

B = 1.

COMPUTE C = ( A + B ) * 2.

WRITE C.

Former Member
0 Kudos

You could just do F1 on compute. It will tell you:

( a + b ) ** 2

Rob