How can I draw graph of integer part function

yabi100 shared this question 6 years ago
Answered

I want to draw integer part function graph.

It is written in the following manner


y=[x]

https://ggbm.at/1447643

Comments (8)

photo
1

floor(x)

see ceil(x) and round(x) also

if you want remark the discontinuity points then you can do a sequence

saludos

photo
1

floor(x)

see ceil(x) and round(x) also

if you want remark the discontinuity points then you can do a sequence

saludos


Dear Friend

Thanks for your reply.

Is it possible to define floor function as a parametric one, floor(x) and x varies between let say -10 to +10 and draw its graph?

I search geoGebra but could find any page related to draw floor function, at least to my knowledge.


Will be happy if you could guide me.


I am trying to show to my daughter (a high school student of mathematics) how the graph will change when the coef. a in f(x)=[ax] will vary.

Thanks in Advance

photo
1

Hi,


how the graph will change when the coef. a in f(x)=[ax] will vary.


f(x) = If[ -10<=x<=10, floor( a x ) ]


?

https://ggbm.at/1447661

photo
1

Hi,


how the graph will change when the coef. a in f(x)=[ax] will vary.


f(x) = If[ -10<=x<=10, floor( a x ) ]


?


Dear Patrick

Thank you very much.

You saved a lot of time for me.

Regards

Rasoul

photo
1

Hi,


how the graph will change when the coef. a in f(x)=[ax] will vary.


f(x) = If[ -10<=x<=10, floor( a x ) ]


?


Dear Patrick

Thank you very much.

You saved a lot of time for me.

Regards

Rasoul

photo
1

Hi,


how the graph will change when the coef. a in f(x)=[ax] will vary.


f(x) = If[ -10<=x<=10, floor( a x ) ]


?


Dear Patrick

I have another question in the same subject.

Let say I have drawn f(x)=[x]


I want to add another graph in the same window to compare them.


Something like f(x)=[0.5x]


When I draw the second function, it replaces the first one. I want to add it not replace it.

I think it should be an easy task but I can't find the proper step.

photo
1

Hi,



I want to add it not replace it.


So, don't use the same name...


just try g(x)=[0.5 x]

photo
1

Hi,



I want to add it not replace it.


So, don't use the same name...


just try g(x)=[0.5 x]


Yes that is the solution.

Thank you very much.

You made my day.

© 2022 International GeoGebra Institute