This shows you the differences between two versions of the page.

developer:scriptsamples:perfectsquare [2015/09/14] 127.0.0.1 external edit |
developer:scriptsamples:perfectsquare [2016/02/10] (current) sandy |
||
---|---|---|---|

Line 1: | Line 1: | ||

======Finding Perfect Squares====== | ======Finding Perfect Squares====== | ||

> **Developer:** //[[developer:rhinoscript|RhinoScript]]// | > **Developer:** //[[developer:rhinoscript|RhinoScript]]// | ||

- | > **Summary:** //Determine if an integer is a perfect square using RhinoScript.// | + | > **Summary:** //Determine if an integer is a perfect square using RhinoScript// |

=====Question===== | =====Question===== | ||

- | In mathematics, a perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itself. For example, 9 is a perfect square, since it can be written as 3 × 3. How can I determine whether or not an integer is a perfect square in RhinoScript? | + | In mathematics, a perfect square is an integer that is the square of an integer. In other words, it is the product of some integer with itself. For example, 9 is a perfect square, since it can be written as 3 × 3. How can I determine whether an integer is a perfect square in RhinoScript? |

=====Answer===== | =====Answer===== |

developer/scriptsamples/perfectsquare.txt · Last modified: 2016/02/10 by sandy