FW: Square root
Holland, Michelle
Michelle.Holland@Cognos.COM
Fri, 18 Feb 2000 14:03:38 -0500
Hi Mike,
You can calculate roots by using fractional exponentiation (^0.5). For
example:
SCREEN screenname
FILE filename
TEMP x
TEMP y
FIELD x
FIELD y
PROC DES calc NODATA
BEGIN
LET y = x^0.5
DISPLAY y
END
BUILD
Start the screen, enter a value in X, go back to the Action field and enter
"calc" & you will see the square root of X in Y.
You can also do the cube root:
y = x^(1/3)
Michelle Holland
Cognos Customer Support
Michelle.Holland@Cognos.com
-----Original Message-----
From: Michael Lee [mailto:mcl_systems@bc.sympatico.ca]
Sent: Friday, February 18, 2000 1:04 PM
To: Powerhouse User List
Subject: Square root
I was wondering if anyone knows of a QDESIGN technique to get the square
root of a number. As far as I can see there is no existing Powerhouse
function that does this. Please feel free to correct me if I'm wrong.
Thanks in advance for any help.
Michael Lee
MCL Systems Inc.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.