Show and plot integer points in a region.

STGSS-TSN shared this idea 2 months ago
Under Consideration

hi all,


Sometimes it is necessary to find the integral solutions in teaching linear programming problems in secondary school. The problem is some of my colleagues and I tried to find an easy solution for marking integer points in regions in geogebra but we didn't find a flexible solution. After mixing up several solutions from all of you, I made this very short tutorial and geogebra template file especially for linear programming problems. I hope this solution would be easy for you.


I tried to credit the author of the previous information but if I missed anyone of you I am sorry for this.


The following commands are used in the file.


Keepif command:

https://wiki.geogebra.org/e...


IsInRegion Command:

https://wiki.geogebra.org/e...


The integer points using Corner function was found here.

https://help.geogebra.org/t...


The region intersection command was found here.

command: a(x, y) ∧ b(x, y) ∧ c(x, y)

https://help.geogebra.org/t...


1. In my file I tried to set 4 corners of the visible plane.

2. Mark the first 2 integer points on the visible plane using ceiling and floor functions.

3. Mark all integer points on the visible plane using join and double sequence functions.

4. Typed 3 inequalites.

5. Find the overlapped region of those inequalities using ∧ command


6. Check and keep if the integer points are in the region.


I hope anyone of you can improve my solution too. thank you.

Comments (9)

photo
1

That's great! Why don't you upload it to geogebra.org?

photo
1

When I seek google, I see so many posts but difficult to see a relative file. I think posting a note here would be helpful for them. I may also find a way to upload it to somewhere you mentioned.

photo
1

Great, please post the link once it's "published" here https://www.geogebra.org/u/...

photo
1

I tried to click the publish but it said


"Original resource is not public


The resource can not be published because the original resource from which it was copied is not public.".


I tried to re upload it but still I can't solve it, yet.

I created the file by version 5 and typed the file myself. Maybe I need to remake it.

photo
1

I can't "publish" it but here is the link of it.


https://www.geogebra.org/m/qywaxpcg

photo
2

You've published this one successfully :)


https://www.geogebra.org/m/h8sqzvg7

photo
1
photo
photo
2

cela me rappelle mes travaux (envoyés au cachot en hongrie) sur la géométrie du taxi par scan de la feuille GeoGebra


par exemple


http://tananyag.geomatech.h...

photo
1

Perhaps helpful in this context.

Scan an inequality into a polygon inside Graphic

© 2020 International GeoGebra Institute