Constrained random points on a circle: Difference between revisions

m
→‎{{header|RPL}}: solved picture display bug
(added RPL)
m (→‎{{header|RPL}}: solved picture display bug)
Line 3,656:
=={{header|RPL}}==
{{works with|HP|48G}}
[[File:Constrained|thumb|alt=Screenshot of a HP-48G emulator, displaying constrained random points on a circle|HP-48G emulator screenshot]]
« ERASE -15 15 DUP2 XRNG YRNG <span style="color:grey">@ set graphics boundaries</span>
DEG -19 SF 0 <span style="color:grey">@ set degrees mode, polar vector mode, count = 0</span>
Line 3,668 ⟶ 3,667:
-19 CF
» '<span style="color:blue">TASK</span>' STO
[[File:Constrained|thumb.png|alt=Screenshot of a HP-48G emulator, displaying constrained random points on a circle|HP-48G emulator screenshot]]
 
The circle is actually an ellipse because RPL display screens are not squared.
 
=={{header|Ruby}}==
1,150

edits