{"functions":[{"rawId":"id_87099ea3_b658_4f2b_98dd_4252413df63b","tpe":"Void","name":"fun1","statements":[{"@type":"Begin","id":"id_509aead6_c0e7_4e6b_b5e5_d56afd6b6a8d"},{"@type":"Return","id":"id_8c96807f_a8d6_4a9b_80f7_b971006a08a2","maybeValue":null}],"parameters":[]}],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_079572e3_69fc_4f01_8016_f2b15e44809e"},{"@type":"Declare","tpe":"Real","name":"r1","id":"id_c050ac18_4c2e_4f5e_ade2_0c876a401c90","initValue":null},{"@type":"Input","name":"r1","id":"id_3707da48_ec8a_4a6b_836a_19933fbdfc5b","prompt":"Introduzca el valor de la primera resistencia"},{"@type":"Declare","tpe":"Real","name":"r2","id":"id_2282206e_b339_4621_ba0c_393f301666ea","initValue":null},{"@type":"Input","name":"r2","id":"id_d653d8cb_f42c_4255_a297_1092d855de19","prompt":"Introduzca el valor de la segunda resistencia"},{"@type":"Declare","tpe":"Real","name":"r3","id":"id_ec13ff8c_07ae_4c65_805f_1e2d0b2e2dcd","initValue":null},{"@type":"Input","name":"r3","id":"id_ee6f8b18_451d_4634_bbab_722e436d831c","prompt":"Introduzca el valor de la tercer resistencia"},{"@type":"Declare","tpe":"String","name":"serie","id":"id_7a7543c4_54dc_401b_a67b_75f33e2e4000","initValue":null},{"@type":"Declare","tpe":"String","name":"paraleloo","id":"id_6c91084a_a665_4304_814f_2fc09ef8a7cb","initValue":null},{"@type":"Declare","tpe":"String","name":"mixto1","id":"id_eacd753c_e52b_4860_90ea_a7407390c828","initValue":null},{"@type":"Declare","tpe":"Integer","name":"mixto2","id":"id_f09dba64_8afa_4eac_a33a_19a63aba4f80","initValue":null},{"@type":"Declare","tpe":"Integer","name":"mixto3","id":"id_8acfe486_d260_4371_857b_bd48a9e32213","initValue":null},{"@type":"Declare","tpe":"Integer","name":"limitesuperior","id":"id_79e09c1c_dc49_49d5_971a_20cf46dbd3cd","initValue":null},{"@type":"Input","name":"limitesuperior","id":"id_15ca3c9f_220d_45e6_8a2e_d67d65029974","prompt":"Ingrese limite superior"},{"@type":"Declare","tpe":"Integer","name":"limiteinferior","id":"id_d3df2375_610b_4da2_a10e_5435530429a3","initValue":null},{"@type":"Input","name":"limiteinferior","id":"id_ec987292_2dee_4865_af89_9e3d23fdd43a","prompt":"Ingrese limite inferior"},{"@type":"Declare","tpe":"String","name":"configuracion","id":"id_65d5fe63_476b_4aa6_8d3a_d3bb6072d829","initValue":null},{"@type":"Input","name":"configuracion","id":"id_2f1ba758_51f0_4db5_b41d_eb1dc890a406","prompt":"Indruzca como esta su circuito"},{"@type":"Declare","tpe":"Integer","name":"continuar","id":"id_73ddf78e_b0b7_4d98_b744_22a20580a6fd","initValue":"true"},{"condition":"continuar","@type":"While","id":"id_d53fad49_503c_4d74_809a_85074b9898b4","body":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[],"id":"id_99a63045_16fd_460c_9ef9_cfd0d147254a"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_d87a5491_2b56_4e3e_a852_a09d242af3cd","initValue":"1/((1/(R2+R3))+(1/R1))"}],"id":"id_4d3d8b1d_3aef_460a_889d_22694d8a7db4"},"condition":"configuracion==mixto3","@type":"If","id":"id_a5e3986d_b45b_45e8_a5e4_c93763c32c68"}],"id":"id_d0a8806c_0fc7_44b0_a910_df53d6ad9c16"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_64520256_4b74_46db_b14f_bc55831e4b0a","initValue":"1/((1/(R1+R3))+(1/R2))"}],"id":"id_6b90fb13_9a4c_4d03_8bf0_f49b86bb9480"},"condition":"configuracion==mixto2","@type":"If","id":"id_a6be69fa_7b91_4e64_a30c_d9cd14bb9523"}],"id":"id_e9505513_67af_4fbd_802a_f163689a7a84"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_65f2f11b_b1d7_4d9e_a27e_dab627da3338","initValue":"1/((1/(R1 + R2))+(1 / R3))"}],"id":"id_d6608851_9f21_4ceb_a822_1f1a5aeca8e3"},"condition":"configuracion==mixto1","@type":"If","id":"id_f014e163_dca1_4f7d_9e61_c0d266dd5443"}],"id":"id_44e36d73_de2f_4b47_b65b_0bc986f02db1"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_91df3ec3_a0d8_422a_a9bc_84fa18c037d5","initValue":"((1)/((1/r1)+(1/r2)+(1/r3)))-(10/100)"},{"falseBlock":{"statements":[],"id":"id_d1e1cb00_ddb1_4f7b_a266_34584e9499f1"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_b9bb5909_ce07_4f3b_a178_0e415fc68846","initValue":"total-2"},{"newline":true,"@type":"Output","id":"id_327e12df_a118_47dd_bd56_bc540b7a7b17","value":"\"Advertencia: Resistencia total en paralelo menor a {limiteinferior} Ohm.\""}],"id":"id_a6a7147e_81ba_4c39_83fc_7919e2b28187"},"condition":"total<limiteinferior","@type":"If","id":"id_128602d6_d32d_4c25_b84b_d96b45003588"}],"id":"id_19021baa_0e57_4aad_a528_ba8b913c5ecb"},"condition":"configuracion==paralelo","@type":"If","id":"id_1532c24c_ff84_499f_9007_2547c2c13fc1"}],"id":"id_cfbb140e_af2c_464a_a845_81a0309d20ac"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_ae152549_90af_47f3_a71c_3dafa5d0a345","initValue":"(r1+r2+r3)-(5/100)"},{"falseBlock":{"statements":[],"id":"id_03ae7b42_8dba_40c1_8492_f22d190c51a6"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"total","id":"id_3ee60bdb_e00a_443a_abd9_45ad9df49b87","initValue":"total+20"},{"newline":true,"@type":"Output","id":"id_4b7096c5_49cd_4376_9fd5_0b42015db36e","value":"Advertencia:Resistencia total en serie mayor a {limitesuperior} Ohm."}],"id":"id_691aa9a1_4aa6_4456_92b1_a8770ac60f5a"},"condition":"total>limitesuperior","@type":"If","id":"id_170f4e04_57c7_4278_8ee1_e5a2d7c69648"}],"id":"id_3f687bbc_8c73_48b8_88c8_4545466dd056"},"condition":"configuracion==serie","@type":"If","id":"id_ebbfac16_0e59_4d5c_b775_4553e8f9ae63"}],"id":"id_7406efb6_118c_47a4_b2aa_c3ed6fcffd30"}},{"newline":true,"@type":"Output","id":"id_e63cd26b_9997_4be6_b6b5_baa4885f516e","value":"\"la resistencia total es\""},{"newline":true,"@type":"Output","id":"id_70ec5e18_8f3b_4638_84c8_f24efac8497e","value":"total"},{"@type":"Return","id":"id_3d5d0569_6715_4426_9e84_7cd163986078","maybeValue":null}],"parameters":[]},"id":"id_d1836b24_0908_4475_8519_ec438320bf08","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":3113}