Thin-walled tank/HW02: Difference between revisions

From ASCEND
Jump to navigation Jump to search
SreenathaB (talk | contribs)
No edit summary
SreenathaB (talk | contribs)
No edit summary
Line 1: Line 1:
<source lang=a4c>
REQUIRE "system.a4l";
REQUIRE "system.a4l";
MODEL my_model;
MODEL my_model;
Line 12: Line 13:


END my_model;
END my_model;
</source>

Revision as of 15:27, 4 April 2012

REQUIRE "system.a4l";
MODEL my_model;

  (* variable *)
  x,y,z,d,a IS_A solver_var;

  (* specifications *)
  (* equation *)
        x+y+z = a*d;
        x+y+2*z = 5;
        5*x + 2*y - 3*z = 0;

END my_model;