{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f429429a_7277_4877_8ef4_cef7ed343cfa"},{"@type":"Declare","tpe":"Integer","name":"s","id":"id_dea27887_224b_4ff1_a48e_bbea2321aba4","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"p","id":"id_8937b683_5c7f_4e22_a5f3_e12e3c45d882","initValue":"2"},{"@type":"Declare","tpe":"Integer","name":"M1","id":"id_e75389b8_893a_4782_9e0e_0440841d5fba","initValue":"3"},{"@type":"Declare","tpe":"Integer","name":"M2","id":"id_841313ff_5040_40e7_8926_aa706c886ed9","initValue":"4"},{"@type":"Declare","tpe":"Integer","name":"M3","id":"id_daa5fd1d_7400_492c_92a2_1434ec15b51d","initValue":"5"},{"@type":"Declare","tpe":"Integer","name":"configuracion","id":"id_2050206f_8c40_4591_9cac_ae6d31d945ab","initValue":null},{"@type":"Input","name":"configuracion","id":"id_69d177f6_422c_44f6_9d0d_f85c76cf163d","prompt":"seleccione una configuracion: 1.serie, 2.paralelo, 3.mixto1, 4.mixto2, 5.mixto3"},{"@type":"Declare","tpe":"Real","name":"R1","id":"id_9c176d7f_6542_4617_8b1c_a7ea517b0f62","initValue":null},{"@type":"Declare","tpe":"Real","name":"R2","id":"id_8513c51b_7c11_4158_8dc7_7de5d022fdaa","initValue":null},{"@type":"Declare","tpe":"Real","name":"R3","id":"id_c8ea2e44_7e94_4e4e_9fd5_6445bd5f3355","initValue":null},{"@type":"Input","name":"R1","id":"id_619752b2_048e_4814_b75a_f2c73f622127","prompt":"ingrese el valor de la resistencia 1"},{"@type":"Input","name":"R2","id":"id_cb2168ad_8b48_4bea_9a4b_2f3d37649244","prompt":"ingrese el valor de la resistencia 2"},{"@type":"Input","name":"R3","id":"id_f7117b41_106b_4674_8430_1518771f9823","prompt":"ingrese el valor de la resistencia 3"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_aad3e349_a983_42bf_8f9c_841de4d5821d"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rserie","id":"id_07ed8cc4_85ad_4bc0_baeb_e01cfd1761aa","initValue":"R2+R3"},{"@type":"Declare","tpe":"Real","name":"Rtotal","id":"id_383b1275_80fb_4d0b_8e08_dd4e94277487","initValue":"1/(1/Rserie+1/R1)"},{"newline":true,"@type":"Output","id":"id_ca9ffc54_9f90_492b_abb0_129271b4f1c0","value":"\"la resistencia total es\" + \":\" + Rtotal"}],"id":"id_48c2418d_87e9_4930_a8f8_0ecde712116b"},"condition":"configuracion==5","@type":"If","id":"id_4c50c07f_56ad_4672_b373_5faaa51bb483"}],"id":"id_84bffcbc_0fec_4b3d_9ad4_407336034278"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rserie","id":"id_cb8f2b04_97f2_422d_907d_fb06062d15bc","initValue":"R1+R3"},{"@type":"Declare","tpe":"Real","name":"Rtotal","id":"id_35a39c3b_27ff_4d09_99bd_7a949592e08a","initValue":"1/(1/Rserie+1/R2)"},{"newline":true,"@type":"Output","id":"id_3fa2ea58_1a17_47d4_bb6b_aba009bf259b","value":"\"la resistencia total es\" + \":\" + Rtotal"}],"id":"id_2d5887fe_af30_4340_b15f_7f601925e0f9"},"condition":"configuracion==4","@type":"If","id":"id_198f909c_cdbe_4724_8360_126bea912095"}],"id":"id_ad34e44b_6ed8_48de_9233_d4b267ae174e"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rserie","id":"id_f95540a3_5ff1_4088_8d6e_e82f7d9572e9","initValue":"R1+R2"},{"@type":"Declare","tpe":"Real","name":"Rtotal","id":"id_9fc2195f_d83b_4025_b865_050267af86d9","initValue":"1/(1/Rserie+1/R3)"},{"newline":true,"@type":"Output","id":"id_45f5d55c_bbf3_4b63_b60d_88e2d1941fb6","value":"\"la resistencia total es\" + \":\" + Rtotal"}],"id":"id_7cde8333_1b3b_4224_8451_4dc828852c2d"},"condition":"configuracion==3","@type":"If","id":"id_7ca67234_0c5c_4c5c_8405_202f54f9c6d9"}],"id":"id_f479029e_6ee9_4543_9002_47302913e983"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rtotal","id":"id_8182b3a5_0b78_4669_b2e6_055a773a0d8c","initValue":"1/(1/R1+1/R2+1/R3)"},{"@type":"Assign","name":"Rtotal","id":"id_273e93d3_d4e6_42f6_ae2b_1463a3e96589","value":"Rtotal*0.9"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_91863363_f78d_49b6_8c8e_ffd80d751afb","value":"\"la resistencia total es\" + \":\" + Rtotal"}],"id":"id_1d6a1c84_c5a0_4261_8879_c5500bbe5514"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dd1da5ab_7e91_4794_8d58_41b11dcbe1cc","value":"\"Al ser menor de 10(ohms) se le restaran 2(ohms) \""},{"@type":"Assign","name":"Rtotal","id":"id_0f5adc07_cc26_42e0_80e2_a368d4440daf","value":"Rtotal-2"},{"newline":true,"@type":"Output","id":"id_4e901e5f_40bb_4ee6_89b9_19bab0d90545","value":"\"la resistencia total es\" + \":\" + Rtotal"}],"id":"id_849e4007_7752_408d_beb8_4bd5f24b5a6e"},"condition":"Rtotal<10","@type":"If","id":"id_c426b11d_5969_47b6_8f07_6b7cd73f1d5c"}],"id":"id_8536d2ce_562c_4424_8861_47fef7d948b7"},"condition":"configuracion==2","@type":"If","id":"id_3e533412_dafb_4a81_b88b_898c50c8b263"}],"id":"id_73c9b394_6d9a_4f68_9b73_f7600d98f9bd"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rtotal","id":"id_efaf66ad_e6c7_413b_80f7_37540a2e339c","initValue":"R1+R2+R3"},{"@type":"Assign","name":"Rtotal","id":"id_d39778f8_3e74_4a4e_b8f8_0082ac31467a","value":"Rtotal*1.05"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_113f5f5f_3763_4057_be5c_cfbd19de17c2","value":"Rtotal"}],"id":"id_1734d6ee_b229_4b24_8f06_e5301fbdcecd"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0cfcad9a_51f2_43d9_8867_fe2d774d8f2e","value":"\"al ser mayor de 100(ohms) se le aumentara 20 (ohms)\""},{"@type":"Assign","name":"Rtotal","id":"id_cac12b43_0f88_4b05_9a32_e1ede85b2049","value":"Rtotal+20"},{"newline":true,"@type":"Output","id":"id_57a29f8a_d054_4b81_8841_7462a919f918","value":"\"la resistencia total es\" + \":\" + Rtotal\""}],"id":"id_1833e39c_eaf3_453e_a27a_f1c99e49793d"},"condition":"Rtotal>100","@type":"If","id":"id_a625e5e0_7642_41a4_b4c3_d76feb50612d"}],"id":"id_b5e90bdc_6ead_46f8_b4c8_c0b331981c84"},"condition":"configuracion==1","@type":"If","id":"id_aab79223_12d3_4857_92d9_e64a2c10d374"},{"@type":"Return","id":"id_9646d061_c77c_49c1_8a0a_d11f063c2494","maybeValue":null}],"parameters":[]},"id":"id_83632e55_bf50_445c_bfb2_3fa192247b10","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":3410}