{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1db2b8fd_544d_45bf_8339_e0efb0b5e875"},{"@type":"Declare","tpe":"Real","name":"R1","id":"id_c9290fa2_8e0d_42e2_9a07_c718d7e10daf","initValue":null},{"@type":"Input","name":"R1","id":"id_87db30aa_3c6c_4d99_8972_d3e12f217762","prompt":"Primera resistencia:"},{"@type":"Declare","tpe":"Real","name":"R2","id":"id_b91edab7_2810_49aa_9372_1e74f71598af","initValue":null},{"@type":"Input","name":"R2","id":"id_7cd628a6_7ea2_4a1a_aebb_8b8bbf8fc214","prompt":"Segunda resistencia:"},{"@type":"Declare","tpe":"Real","name":"R3","id":"id_0f0b97f0_c56c_4502_b208_44941eceb0bd","initValue":null},{"@type":"Input","name":"R3","id":"id_bc3a13ab_544c_473b_86e5_46c95da46170","prompt":"Tercera resistencia:"},{"@type":"Declare","tpe":"Real","name":"RT","id":"id_3f9c6240_1e5f_4e06_ba23_d99c14f69b02","initValue":null},{"@type":"Declare","tpe":"String","name":"configuracion","id":"id_d31ed43b_1845_485b_96f5_aeb8c24765fe","initValue":null},{"@type":"Declare","tpe":"String","name":"empezar","id":"id_bc61823e_c2e2_41a4_af96_878c0d5e84f2","initValue":null},{"@type":"Assign","name":"empezar","id":"id_ee9c218b_97d2_49c6_82ec_81613566bfec","value":"\"SI\""},{"@type":"Declare","tpe":"Real","name":"LimiteP","id":"id_8d51caf3_88bf_4ef6_b63a_e1d8a8d9e2c9","initValue":null},{"@type":"Declare","tpe":"Real","name":"LimiteS","id":"id_b3d128ea_2677_472c_ab4d_1956400f8044","initValue":null},{"condition":"empezar!=\"NO\"","@type":"While","id":"id_a08870a0_51e2_4153_8e0e_26785e69a223","body":{"statements":[{"@type":"Input","name":"configuracion","id":"id_e1b51524_87e1_4359_a42b_5ba5bf31e7fb","prompt":"Ingrese la configuracióndel circuito (S, P, M1, M2, M3):"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"RT","id":"id_017f109b_e6ab_4912_8f6b_7fb5d00a0509","value":"1/((1/(R2+R3))+(1/R1))"}],"id":"id_7fcac5d8_ba08_4aa5_bedd_c17fb85105bc"},"trueBlock":{"statements":[{"@type":"Assign","name":"RT","id":"id_96eca2d8_cc76_4ef7_a91e_095bbe8c95d8","value":"1/((1/(R1+R3))+(1/R2))"}],"id":"id_6dfd50ca_2e8a_4f55_94c5_faad4554fb40"},"condition":"configuracion==\"M2\"","@type":"If","id":"id_d62f5e20_4e91_4438_96b6_49106c8d8243"}],"id":"id_288e28d9_3893_4ee5_9e05_679b4c3126a3"},"trueBlock":{"statements":[{"@type":"Assign","name":"RT","id":"id_633f9feb_f98d_4dce_add0_2870dc8d503f","value":"1/((1/(R1+R2))+(1/R2))"}],"id":"id_9a9147b6_1c63_4abf_8da8_0ff49f5e332b"},"condition":"configuracion==\"M1\"","@type":"If","id":"id_790d75e1_d7b5_4f33_a62c_7ec49b45522f"}],"id":"id_db40a87b_02cc_48c9_84ed_92f285f581d6"},"trueBlock":{"statements":[{"@type":"Assign","name":"RT","id":"id_4b292067_fa12_4e44_a689_b56694fefe21","value":"1/((1/R1)+(1/R2)+(1/R3))"},{"@type":"Assign","name":"RT","id":"id_94556c5e_a881_40e4_895f_c407a30b7cdd","value":"RT*0.9"},{"@type":"Input","name":"LimiteP","id":"id_b8ce01cb_2313_49ee_9886_9c4b31dc3fa8","prompt":"Introduzca el limite inferior:"},{"falseBlock":{"statements":[],"id":"id_cc6d65e0_831a_49fd_83bd_ec09a5348ebc"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_26546baa_2720_4f67_aef2_9ea9f5e53a2e","value":"\"Advertencia resistencia menor a el limite\""},{"@type":"Assign","name":"RT","id":"id_78d794c3_5ec8_4645_bf91_47c2203ee461","value":"RT-2"}],"id":"id_7694e2b3_a09e_4965_8804_0a2d5114d111"},"condition":"RT>LimiteP","@type":"If","id":"id_253aeb35_9f0b_4766_bee5_d60388a2068f"}],"id":"id_02885748_b783_41f3_9976_3923378ed615"},"condition":"configuracion==\"P\"","@type":"If","id":"id_46bbdf61_4f49_40fe_a548_d9c3d8ce0655"}],"id":"id_a8bebef0_c815_485d_af2e_d29c841fa8a3"},"trueBlock":{"statements":[{"@type":"Assign","name":"RT","id":"id_eb497b5c_9e33_45d9_9d61_cec34ea424ba","value":"R1+R2+R3"},{"@type":"Assign","name":"RT","id":"id_9923d4c6_79a3_497b_b47e_d445f614d44e","value":"RT*1.05"},{"@type":"Input","name":"LimiteS","id":"id_06497d7e_d0cb_4a1d_8309_e71658bde6b6","prompt":"Introduzca el limite superior:"},{"falseBlock":{"statements":[],"id":"id_0523dbb2_0ce4_45bc_8b19_d8e5d0c9a1c3"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_78f0bc38_00b9_4cf9_ba6c_88f8e16f40f4","value":"\"Advertancia resistencia mayor a el limite\""},{"@type":"Assign","name":"RT","id":"id_ec892398_f8cf_4eef_a28e_8b24aab39b03","value":"RT+20"}],"id":"id_5b253721_1ad2_4911_9e9d_c3c7a2708fad"},"condition":"RT>LimiteS","@type":"If","id":"id_60ce50d4_026d_403e_9ef6_48a2d52c96a6"}],"id":"id_70bf330d_608c_4488_be44_16bf8b40a38a"},"condition":"configuracion==\"S\"","@type":"If","id":"id_33c76113_6dc7_42f4_8d4b_ae1e8ca32ac3"},{"newline":true,"@type":"Output","id":"id_56a1732f_0a78_4101_9de2_98c3cc374ffa","value":"\"La resistencia total es:\""},{"newline":true,"@type":"Output","id":"id_51ffce09_ce41_4d18_8031_9c0c380de2aa","value":"RT"},{"@type":"Input","name":"empezar","id":"id_532a312d_4351_48b7_804a_b819176948a2","prompt":"Desea analizar otro circuito(SI ó NO):"}],"id":"id_df4b48fb_779f_4e97_95cb_feb2cdb533f7"}},{"@type":"Return","id":"id_143d980b_d8d8_4e44_8548_6fb2d6acca2d","maybeValue":null}],"parameters":[]},"id":"id_72f96b3c_7fc3_4d31_b029_6f8895c0adc4","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":1457}