{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5bdb9464_30ef_40c1_9c98_653c582b3712"},{"@type":"Declare","tpe":"Real","name":"m1","id":"id_003ba7b5_6ea1_4515_905b_c8e4015bcab1","initValue":null},{"@type":"Comment","id":"id_100396b1_d10c_4066_9b28_c00345602997","text":"leggi m1"},{"@type":"Declare","tpe":"Real","name":"vi1","id":"id_ae7e8cf5_f09f_473d_8276_bcbadc351295","initValue":null},{"@type":"Comment","id":"id_c9d1f268_7972_4deb_aa6b_d8cada080c77","text":"leggi vi1"},{"@type":"Declare","tpe":"Real","name":"m2","id":"id_abfaad0a_bd88_4ff4_835d_452d71febce9","initValue":null},{"@type":"Comment","id":"id_8078825f_55ce_41dd_bd02_04b860440742","text":"leggi m2"},{"@type":"Declare","tpe":"Real","name":"vi2","id":"id_2f71e850_4e85_4298_a959_1bce6ff32681","initValue":null},{"@type":"Comment","id":"id_610c918a_63c1_4845_bd0c_1c07f125662b","text":"leggi vi2"},{"@type":"Declare","tpe":"Real","name":"vf1","id":"id_10e3a1bb_3265_4016_8fa8_0939da816295","initValue":null},{"@type":"Comment","id":"id_d34a2c73_b3e8_45d7_b577_23dc3a54eaa3","text":"leggi vf1"},{"@type":"Declare","tpe":"Real","name":"vf2","id":"id_8f20db16_55de_498e_8662_54bc409bae9f","initValue":null},{"@type":"Comment","id":"id_5bca39db_77e1_4da3_ac5d_9bcb1ac25651","text":"leggi vf2"},{"@type":"Input","name":"m1","id":"id_f33b2a24_d872_405a_a32b_03ae4f905d26","prompt":"calcolare il valore di m1"},{"@type":"Input","name":"vi1","id":"id_808c1a92_9bac_4290_b0c2_87f717a817e3","prompt":"calcolare il valore di vi1"},{"@type":"Input","name":"m2","id":"id_0b84b7da_a388_4818_bddc_85bef904d530","prompt":"calcolare il valore di m2"},{"@type":"Input","name":"vi2","id":"id_4b026b07_4749_4577_a355_20df58092602","prompt":"calcolare il valore di vi2"},{"@type":"Comment","id":"id_ce3329bc_f43d_4024_9b79_cc445cc1b3bb","text":"il corpo 1 urta in modo elastico il corpo 2"},{"@type":"Comment","id":"id_48382bdb_15c5_43ac_a0f3_6a153dd15518","text":"calcolare la velocità finale dei due corpi"},{"@type":"Assign","name":"vf1","id":"id_17b1c780_55f2_4945_8b8d_687542625af4","value":"(m1*v1+m2*v2)-(m2*v2)/m1"},{"@type":"Assign","name":"vf2","id":"id_eee18a42_8f04_43a2_bac6_a9e28be8c50e","value":"(m1*v1+m2*v2)-(m1*v1)/m2"},{"@type":"Return","id":"id_32442e16_9a0b_4919_9f6d_64fb437c4197","maybeValue":null}],"parameters":[]},"id":"id_b3697fe5_8d5e_493f_9935_420d9eb368ac","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":415}