User:Shaun/An interesting modal

From ASCEND
Revision as of 19:20, 28 March 2012 by Jpye (talk | contribs) (moved An interesting modal to User:Shaun/An interesting modal: belongs in your personal namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
REQUIRE "atoms.a4l";
MODEL FallDownFromHigh;
        people_mass              IS_A        mass;
        building_height          IS_A        distance;
        time_falldown            IS_A        time;
        v                        IS_A        speed;
        time_stop                IS_A        time;
        f                        IS_A        force;
        (* equations comes here *)
        BuildingHeight:        building_height = 0.5 *1{EARTH_G} * time_falldown ^ 2;
        Speed: v =  1{EARTH_G} * time_falldown;
        ImpulseConservation: f * time_stop = people_mass * v;
END FallDownFromHigh;