by @Carlos Sanchez Fork
{"functions":[],"name":"ultimate","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2f99b45c_de86_4fa0_8db7_407436f27db3"},{"newline":true,"@type":"Output","id":"id_51baaefc_b674_45ef_a3de_542d26e40e98","value":"\"Ingrese el valor de las resistencias en ohmnios\""},{"@type":"Declare","tpe":"Real","name":"R1","id":"id_8627f298_9358_410a_a72a_a3d09dd90b4e","initValue":null},{"@type":"Input","name":"R1","id":"id_416bd1d6_3a69_46c0_9a48_6badd1bdde6d","prompt":null},{"@type":"Declare","tpe":"Real","name":"R2","id":"id_a4e2b863_350c_4ee6_9bba_ed056a6fbec2","initValue":null},{"@type":"Input","name":"R2","id":"id_ab022cc2_7b7f_41e4_bda2_b9883a550387","prompt":null},{"@type":"Declare","tpe":"Real","name":"R3","id":"id_a56f0385_62ee_484a_87ac_5b1ca9509420","initValue":null},{"@type":"Input","name":"R3","id":"id_2eafdbbc_a979_4904_8bd2_26030016d99f","prompt":null},{"newline":true,"@type":"Output","id":"id_f24bdda8_d0d3_442c_9a3a_b257f97b3d71","value":"\"Elija la configuración del circuito con la que va a trabajar\""},{"newline":true,"@type":"Output","id":"id_7da59ad4_f56d_4e70_970f_65321f1aaf40","value":"\"Serie:1\""},{"newline":true,"@type":"Output","id":"id_e4f8a1d9_065d_467f_887b_d66a93f024e9","value":"\"Paralelo:2\""},{"newline":true,"@type":"Output","id":"id_11d84f55_4ba6_4296_a381_6726859755ed","value":"\"Mixto con R1 y R2 en serie y R3 en paralelo:3\""},{"newline":true,"@type":"Output","id":"id_f3560b9d_24ad_478d_95cb_a3929cb691be","value":"\"Mixto con R1 y R3 en serie y R2 en paralelo:4\""},{"newline":true,"@type":"Output","id":"id_174a2eda_74dd_48bc_ac41_b846a806d7cf","value":"\"Mixto con R2 y R3 en serie y R1 en paralelo:5\""},{"@type":"Declare","tpe":"Real","name":"ConfiguracionRtotal","id":"id_5d6b819c_0de2_40f9_a9f3_63db04b3bb59","initValue":null},{"@type":"Input","name":"ConfiguracionRtotal","id":"id_fc064687_a6b1_4a73_a6a3_eaa983d4ce22","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7d13274f_0234_4686_96b5_b89ed739048c","value":"\"No se encontró la configuración del circuito\""}],"id":"id_9a131df1_0bba_4adb_8b1d_ee955fadb659"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Mixto3","id":"id_d031aa99_ac97_43cb_9330_3aab51074bb8","initValue":null},{"@type":"Assign","name":"Mixto3","id":"id_b0d305b3_a722_4966_b15b_872bde4c4ced","value":"1/((1/(R2+R3))+(1/R1))"},{"newline":true,"@type":"Output","id":"id_f5d5db1d_33d5_4a45_b5b1_9763bdb80e7e","value":"\"La Rtotal de la configuración del circuito Mixto con R2 y R3 en serie y R1 en paralelo es:\""},{"newline":true,"@type":"Output","id":"id_0c37b322_7d04_4cc4_a185_a63c817ccd63","value":"Mixto3"}],"id":"id_19432c90_7d3a_4eab_9c45_67e69afd9ff6"},"condition":"ConfiguracionRtotal==5","@type":"If","id":"id_865f5724_ca97_4f8c_976a_4a973905b989"}],"id":"id_e8eb51be_9797_4ad9_8cec_0704cdef1a0e"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Mixto2","id":"id_4f480885_6825_4de8_9d9e_c55b54d1d2c8","initValue":null},{"@type":"Assign","name":"Mixto2","id":"id_b583c7b3_11e1_47db_a00a_a316a280d448","value":"1/((1/(R1+R3))+(1/R2))"},{"newline":true,"@type":"Output","id":"id_a39d924e_db32_46e6_b521_03cf2921a71f","value":"\"La Rtotal de la configuración del circuito Mixto con R1 y R3 en serie y R2 en paralelo es:\""},{"newline":true,"@type":"Output","id":"id_4aeaadb7_99d6_471e_bf4a_d4d1bf515bdf","value":"Mixto2"}],"id":"id_30baba59_f96e_47ed_9666_f50d537d9bdb"},"condition":"ConfiguracionRtotal==4","@type":"If","id":"id_f5b73bbf_a169_4992_8127_4e45ddbb3a4f"}],"id":"id_20342ef2_1334_4de5_86b7_1b4420291e31"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Mixto1","id":"id_37a690e7_e18e_416f_8667_513aa23cbd6c","initValue":null},{"@type":"Assign","name":"Mixto1","id":"id_6257dfd5_67d8_49d2_9b15_6bec069869fd","value":"1/((1/(R1+R2))+(1/R3))"},{"newline":true,"@type":"Output","id":"id_d3fdead4_29b4_418b_8c0b_80870d616f83","value":"\"La Rtotal de la configuración del circuito Mixto con R1 y R2 en serie y R3 en paralelo es: \""},{"newline":true,"@type":"Output","id":"id_03fbfcc4_ac44_496e_b732_5d853c3ed1cb","value":"Mixto1"}],"id":"id_6a22db70_92bf_40b7_8b7b_6a0eb9127fdf"},"condition":"ConfiguracionRtotal==3","@type":"If","id":"id_ab58325b_e48d_43f2_8aca_8d6222407f77"}],"id":"id_963087da_9734_4d9c_8b03_9cbce872d1f6"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rtotalparalelo1","id":"id_8547c0c6_4534_4daa_bfbb_7d26fb8e538d","initValue":null},{"@type":"Assign","name":"Rtotalparalelo1","id":"id_82d035dd_bc99_4a0e_899a_0fe9eb7a7e3e","value":"1/((1/R1)+(1/R2)+(1/R3))"},{"newline":true,"@type":"Output","id":"id_16b7e092_88b3_418f_8970_d2b8ffc71be4","value":"Rtotalparalelo1"},{"newline":true,"@type":"Output","id":"id_8e94c2b1_3ebd_4dd1_867e_9f20c8173264","value":"\"Factor de correción: Rtotalparalelo1 disminuye un 10% \""},{"@type":"Declare","tpe":"Real","name":"Rtotalparalelo","id":"id_cd397e30_bcca_4c3c_b2fd_45a506db8df5","initValue":null},{"@type":"Assign","name":"Rtotalparalelo","id":"id_afcbf136_bde5_4aed_9f2d_4c73c4f60f8f","value":"Rtotalparalelo1-(Rtotalparalelo1*0.1)"},{"newline":true,"@type":"Output","id":"id_5e201ad7_081e_41df_b133_ea478c9d593f","value":"Rtotalparalelo"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_1090466a_5760_4556_a755_5d1342fd76cd","value":"\"La Rtotal de la configuración del circuito en paralelo es:\""},{"newline":true,"@type":"Output","id":"id_69b9a17b_3b78_407e_b9e3_8e53a4824505","value":"Rtotalparalelo"}],"id":"id_923c726b_346c_409f_850b_4a748394fd7d"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_76165719_33b5_48f7_a08c_e6222f7b7d99","value":"\"Se deberan restar 2 Ohm por la verificación de límites\""},{"@type":"Declare","tpe":"Real","name":"Retotalparalelo","id":"id_cd105b03_baa3_4ac5_9192_122ab01652cf","initValue":null},{"@type":"Assign","name":"Retotalparalelo","id":"id_aeb95a67_b45c_47b4_ab82_fcdfdfa052f2","value":"Rtotalparalelo+2"},{"newline":true,"@type":"Output","id":"id_329604b9_f1f3_4f5e_bdcb_acd642401c0b","value":"\"La Rtotal de la configuración del circuito en paralelo es:\""},{"newline":true,"@type":"Output","id":"id_7098aaad_2d2e_4302_b5db_48da9a6c2472","value":"Retotalparalelo"}],"id":"id_92ea0754_6629_4b20_a640_f8c2b7be851d"},"condition":"Rtotalparalelo<10","@type":"If","id":"id_e1e515ab_4d9f_4644_b438_f4bc60e1c0d1"}],"id":"id_abc8418b_153d_4cf7_890f_68d708d10b33"},"condition":"ConfiguracionRtotal==2","@type":"If","id":"id_6af1cb38_4a4a_480f_a3ca_38fce6b90c4e"}],"id":"id_533fbfe3_ddeb_4784_b2ae_3ee5db2774b5"},"trueBlock":{"statements":[{"@type":"Declare","tpe":"Real","name":"Rtotalserie1","id":"id_a62b554a_de9e_4736_a223_ebf0f2b68ae7","initValue":null},{"@type":"Assign","name":"Rtotalserie1","id":"id_41e121d7_76ee_44e6_a9b2_9a7299ee6850","value":"R1+R2+R3"},{"newline":true,"@type":"Output","id":"id_d8f7f110_febf_4ab8_bcd7_cae6779fa150","value":"Rtotalserie1"},{"newline":true,"@type":"Output","id":"id_2e52ad0c_8c45_4557_8e5b_c1f3da40a998","value":"\"Factor de correción: Rtotalserie1 aumenta un 5%\""},{"@type":"Declare","tpe":"Real","name":"Rtotalserie","id":"id_8ea519ee_148d_43f2_8022_7c76bbd9c888","initValue":null},{"@type":"Assign","name":"Rtotalserie","id":"id_085a9bf4_b6c1_4094_89f9_7aca6b55b548","value":"Rtotalserie1+(Rtotalserie1*0.05)"},{"newline":true,"@type":"Output","id":"id_8b3c36da_3538_4c09_843d_aef048340ac8","value":"Rtotalserie"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0b67d760_bbf3_4f84_b7b6_e584a0b6ba5f","value":"\"La Rtotal de la configuración del circuito en serie es:\""},{"newline":true,"@type":"Output","id":"id_07b26dd1_01c4_488a_98c3_eae1594a66f2","value":"Rtotalserie"}],"id":"id_29b41b58_f313_470a_9bee_3d0e1e590a06"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8f1678b5_a1f2_4c75_8223_1b94bc7e2d4e","value":"\"Se aumentaron 20 Ohm adicionales por la verificación de límites\""},{"@type":"Declare","tpe":"Real","name":"Retotalserie","id":"id_92564b12_c7db_4501_affe_4f0877d5cd89","initValue":null},{"@type":"Assign","name":"Retotalserie","id":"id_40003c61_abcf_473f_8333_f36a461a69ff","value":"Rtotalserie+20"},{"newline":true,"@type":"Output","id":"id_e1d14a75_0c3e_488f_a0b1_99d9cea06ef8","value":"\"La Rtotal de la configuración del circuito es serie es:\""},{"newline":true,"@type":"Output","id":"id_67702ae6_b303_4b0e_a82c_8623bd812d9d","value":"Retotalserie"}],"id":"id_ad873866_6527_4279_9955_c82e0518951c"},"condition":"Rtotalserie>100","@type":"If","id":"id_5cf789e5_2a20_43ac_957a_f64b7ee107f7"}],"id":"id_b958c7b0_350d_4e66_97b9_6bac8a42d57d"},"condition":"ConfiguracionRtotal==1","@type":"If","id":"id_93c533f8_d67a_4bba_a607_664982a671b1"},{"@type":"Return","id":"id_720377a7_aa1f_4b33_b5ab_1fdf6d2d9d68","maybeValue":null}],"parameters":[]},"id":"id_e991e7c3_51ef_443c_8f5e_506fb8280d04","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":1791}