Is that a simply way to define x positive integer ?

anlanz shared this question 1 week ago
Answered

Is that a simply way to define x positive integer ?

Comments (9)

photo
1

yep "x" is reserved for functions

What do you speak about ? Do you want, for example, define a function with x positive integer..? or..?

photo
1

I mean the graph only shows points where Xs are positive integers in a function, instead of a curve.

photo
1

Some graphs are really showing slow, hard to move or zoom in zoom out. They really need to improve the algorithms.

photo
1

Perhaps you can put the function in an if-clause

if(x>0, x^2-x-1)

so what?

photo
1

something like that?

photo
1

f(x)= your definition

sequence((n,f(n)),n,floor(x(corner(1))),ceil(x(corner(2))))


hide f

photo
1

Thanks. it works, but still has problems that I cannot turn the curve off, if turn it off, the points are gone. Another problem is could i just pick points f(x)> 0 to be shown? Thanks a lot.

photo
1

"is could i just pick points f(x)> 0 to be shown?"

KeepIf(y(A)>0, A,sequence((n,f(n)),n,floor(x(corner(1))),ceil(x(corner(2)))))

photo
photo
1

I had not problem

/zzfLxs2ehkmAAAAAElFTkSuQmCC

© 2019 International GeoGebra Institute