{"functions":[],"name":"A7-expressions-Flowrun_BENNETT","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2d8e2675_47ce_467b_96ae_ec7a7575b45a"},{"@type":"Comment","id":"id_f6a0278c_3f86_4830_b824_8c18674f5a26","text":"Part 2 - Simple Mathematics"},{"@type":"Declare","tpe":"Real","name":"radius","id":"id_fad8ca5d_ff20_4194_9853_2f86de753429","initValue":null},{"@type":"Declare","tpe":"Real","name":"diameter","id":"id_77f46bf9_ff05_473c_9190_ddd7a47fbe70","initValue":null},{"@type":"Input","name":"diameter","id":"id_5e6b8d51_09c6_4bec_9058_a96cbf3af0cc","prompt":"Please enter a diameter: "},{"@type":"Declare","tpe":"Real","name":"height","id":"id_64ee6c2d_d3c9_443f_8fde_b1308471d514","initValue":null},{"@type":"Input","name":"height","id":"id_5091802c_efcc_4899_96aa_41d0f0c14a89","prompt":"Please enter the height of your tube: "},{"@type":"Assign","name":"radius","id":"id_5c2574e4_7e7f_41b6_839c_b1d93f70f62b","value":"diameter/2"},{"newline":true,"@type":"Output","id":"id_647c67b4_2485_469a_85b1_5d5a7340ad47","value":"\"The radius is \" + radius"},{"@type":"Comment","id":"id_34c58bea_6bb4_49fe_b665_3060de6eff72","text":"Part 3 - Mathematical Expressions"},{"@type":"Declare","tpe":"Real","name":"areaCircle","id":"id_5059ea43_f98b_4ab5_8f2d_a37b91cf4c04","initValue":null},{"@type":"Declare","tpe":"Real","name":"pi","id":"id_45773bf5_ae71_4c32_807e_16b55ff60488","initValue":"3.1415926535"},{"@type":"Assign","name":"areaCircle","id":"id_341f6c10_f860_4bdd_bcd6_fb2316d8691b","value":"pi*radius*radius"},{"newline":true,"@type":"Output","id":"id_dc1b96ce_2b86_46c6_bff6_a78b297fdd97","value":"\"The area of circle with a diameter of \" + diameter + \" is \" + areaCircle"},{"@type":"Comment","id":"id_da1acff5_b56c_495c_aa75_d310e37f2c60","text":"Part 4 - More Mathematics"},{"@type":"Declare","tpe":"Real","name":"surfaceAreaSphere","id":"id_4cb5c526_0612_4173_b84d_b020623c2fe6","initValue":null},{"@type":"Assign","name":"surfaceAreaSphere","id":"id_5a84d787_420b_4023_b9d5_e4ae7b39ce44","value":"4*pi*radius*radius"},{"newline":true,"@type":"Output","id":"id_4791b084_35b5_45ad_894d_85c0841a07f4","value":"\"The surface area of a sphere with a diameter of \" + diameter + \" is \" + surfaceAreaSphere"},{"@type":"Declare","tpe":"Real","name":"surfaceAreaTube","id":"id_821c266f_5384_4902_99e0_73fb2100be5f","initValue":null},{"@type":"Assign","name":"surfaceAreaTube","id":"id_59408800_2986_423f_8edd_5da3240410c7","value":"2*pi*radius*height"},{"newline":true,"@type":"Output","id":"id_3afe0011_ed07_4e04_ae7e_da3b2898423e","value":"\"The surface area of a tube whose diameter is \" + diameter + \" and whose height is \" + height + \" is \" + surfaceAreaTube"},{"@type":"Comment","id":"id_e5361829_beee_4a05_9fa1_d0135f850983","text":"Part 5 - Putting It All Together"},{"@type":"Declare","tpe":"Real","name":"blooSurfaceArea","id":"id_e2ae1b2d_d114_413f_b4ec_b0e2040ae2ad","initValue":null},{"@type":"Declare","tpe":"Real","name":"blooHeight","id":"id_ac40d6e4_ae08_443b_8d6f_448e858ada7e","initValue":null},{"@type":"Declare","tpe":"Real","name":"blooRadius","id":"id_42aac84a_8a05_4c2a_add5_7182af45fb12","initValue":null},{"@type":"Declare","tpe":"Real","name":"blooTorso","id":"id_0fb73c57_90f6_42ce_8989_d54fec6770dd","initValue":null},{"@type":"Input","name":"blooHeight","id":"id_60fc5eee_e7de_4ed6_9653_10644418ceff","prompt":"Please enter Bloo's height: "},{"@type":"Assign","name":"blooRadius","id":"id_02a782d4_e61d_4e27_8256_dd6e40e81cf0","value":"blooHeight/3"},{"@type":"Assign","name":"blooTorso","id":"id_c2e772af_951e_4951_adac_cf403c5e2a84","value":"blooHeight-blooRadius"},{"@type":"Assign","name":"blooSurfaceArea","id":"id_877709b3_c8d2_47f3_bf05_a8125089860e","value":"((4*pi*blooRadius*blooRadius)/2)+(2*pi*blooRadius*blooTorso)+(pi*blooRadius*blooRadius)"},{"newline":true,"@type":"Output","id":"id_06a37762_87d7_4adc_833d_2e2e21d9aac3","value":"\"Bloo's surface area is \" + blooSurfaceArea"},{"@type":"Return","id":"id_1b16363b_d132_4ac5_ab3d_bfd1fe5351f0","maybeValue":null}],"parameters":[]},"id":"id_51ede637_a427_417f_9959_fedeb511fe97","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"javascript","showGenCode":true},"version":"0.2","revision":1388}