Post Reply 
Phi Function
07-21-2015, 08:39 PM
Post: #1
Phi Function
Hello,
Can anyone tell me where I am going wrong in this Program?

It's purpose is to display the value of Phi to 50 Decimal Places
When "phi()" is typed on the home screen.

Here is the program:

#cas
phi():=BEGIN
//
LOCAL x;
x:=(1.61803398874989484820458683436563811772030917980576);
RETURN(x);
//
END;
#end

Output: See attached Screenshot.

Thanks !
Colm


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Phi Function - douganc - 07-21-2015 08:39 PM
RE: Phi Function - salvomic - 07-21-2015, 09:06 PM
RE: Phi Function - douganc - 07-21-2015, 11:28 PM
RE: Phi Function - Gerald H - 07-22-2015, 05:24 AM
RE: Phi Function - douganc - 07-22-2015, 08:58 AM



User(s) browsing this thread: 1 Guest(s)