Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Fraction of number, Square root of a number, and Mean(average) of a number

Author
Message
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Oct 2006 04:10 Edited at: 6th Oct 2006 01:50
Title says it all




AND NOW SIMPLIFY FUNCTIONS!!!!!




Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Oct 2006 10:51
What's the point of the SR function?

Nice method for fraction return though.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Oct 2006 00:29
Idk its kinda shorter...

The normal way is SQRT(#)

My way is SR(#)




lol Thanks for the commentz tho


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Oct 2006 00:42
A cool function would be a root() function, like this:



Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 3rd Oct 2006 00:51
Erhm... what are you talking about, that function's already in the list


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 3rd Oct 2006 01:35
Very funny

lower logic
18
Years of Service
User Offline
Joined: 15th Jun 2006
Location:
Posted: 3rd Oct 2006 06:22
Cool fraction function. Gave me an idea, you could try to make a function that takes a fraction and returns it in reduced form.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 4th Oct 2006 03:59
easy stuff. I'm on it.


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 6th Oct 2006 01:50
you can now simplify fractions!


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 6th Oct 2006 02:24
You're not returning the value

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 6th Oct 2006 02:26
uhhhh so? it still works

and there is two values to use...


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 7th Oct 2006 02:49
What else should I add?


Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 9th Oct 2006 17:16
Nothing else in mind? I can't think of anything. C'mon, be creative.


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 9th Oct 2006 20:21 Edited at: 9th Oct 2006 20:22
Maybe a simple limit function.

If you think of a recurence rlation, i.e. L=0.75L+1000, the limit would be 4000.



Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 9th Oct 2006 20:36
uhh
ok

Let me rephrase my previous statement.

Does anyone have an idea that they won't already post code of after suggesting it?




Login to post a reply

Server time is: 2024-11-22 23:38:40
Your offset time is: 2024-11-22 23:38:40