Thin-walled tank/HW02

From ASCEND
Revision as of 15:29, 4 April 2012 by SreenathaB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
REQUIRE "system.a4l";
MODEL my_model;

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

  (* specifications *)
        d = 1;

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

END my_model;