You can write a simple program checking if a square with the given side length can be inscribed into the curve using Basic, Delphi, Visual C++ or other programming packages.
You also can use the code from the Appendix of the following article
https://arxiv.org/pdf/1403.5979v1.pdf
The code is written for the Macaulay2 software system devoted to supporting research in algebraic geometry and commutative algebra.
For additional info about downloading and installing Macaulay2 visit the link below