Vocabularyui.
gadgets.
charts.
lines.
privateWord descriptionGiven the
slope of a line and a random
point belonging to that line, calculate the
y coordinate corresponding to the given
x.
InputsOutputsExamplesUSING: ui.gadgets.charts.lines.private prettyprint ;
1 5 { 1 1 } calc-y .
5
USING: ui.gadgets.charts.lines.private prettyprint ;
0.5 20 { 0 0 } calc-y .
10.0
See alsocalc-line-slope,
y-at,
calc-xDefinition