Mathematical Modeling with LPL : Explain and run a Model
Problem Statement
Modeling Description
||
Back to MatMod
model xmath01 "Draw the Solution"; Draw.Scale(20,-20); for{i in 1..80,j in 1..40} do Draw.Circle(i,j,.05); end Draw.Arrow(0,0,0,42,0); Draw.Text('y',.1,41); Draw.Arrow(0,0,82,0,0); Draw.Text('x',81,.1); Draw.Line(0,2000/49,2000/25,0); Draw.Circle(31,25,.2,3); Draw.Circle(80,0,.2,3); Draw.Text('(31,25)',31,26); Draw.Text('(80,0)',80,1); Draw.Text('25x+49y = 2000',41,20.2); end
Problem Statement
Modeling Description
Back to model
The solution is as follows:
The LOG-File output of LPL is as follows: