Pages 1
You must login or register to post a reply
Deprecated: Required parameter $errors follows optional parameter $type in /customers/5/9/f/padowan.dk/httpd.www/forum/include/parser.php on line 524
Topic: Step Functions (a.k.a Greatest Integer Functions)
I've been tooling around for an hour and still can't figure this one out either.
Step Functions - the result of the graph is supposed to look like stairs or steps and I haven't been able to reproduce that result.
Example: f(x)=[1/2x + 1]
I have tried using the "FLOOR" syntax but that hasn't worked for me. I have also tried INT and INTG.
Any suggestions?
Thanks again for your time.
-Scott
Re: Step Functions (a.k.a Greatest Integer Functions)
I am a little unsure which function [x] denotes, but you probably want one of these: ceil(x), floor(x), round(x,0) or trunc(x). You can find more information about the rounding functions in the help: http://www.padowan.dk/doc/english/Rounding.html
Pages 1
You must login or register to post a reply