예제 #1
0
 def methodNewton(self):
     resetAll(self)
     self.ui.lbParam1.setText("Aproximacion Inicial")
     self.ui.lbParam2.setText("Tolerancia")
     self.ui.lbParam3.setText("No. Iteraciones")
     self.ui.leParam1.show()
     self.ui.leParam2.show()
     self.ui.leParam3.show()
     self.ui.lbParam1.show()
     self.ui.lbParam2.show()
     self.ui.lbParam3.show()
     self.ui.lbParam4.hide()
     self.ui.leParam4.hide()
     self.ui.lbParam5.hide()
     self.ui.leParam5.hide()
     self.ui.pbCalculate.clicked.connect(self.pushbutton_ClickedNewton)
예제 #2
0
 def methodBisection(self):
     resetAll(self)
     self.ui.lbParam1.setText("Limite inferior A")
     self.ui.lbParam2.setText("Limite superior B")
     self.ui.lbParam3.setText("Tolerancia")
     self.ui.lbParam4.setText("No. Iteraciones")
     self.ui.leParam1.show()
     self.ui.leParam2.show()
     self.ui.leParam3.show()
     self.ui.leParam4.show()
     self.ui.lbParam1.show()
     self.ui.lbParam2.show()
     self.ui.lbParam3.show()
     self.ui.lbParam4.show()
     self.ui.lbParam5.hide()
     self.ui.leParam5.hide()
     self.ui.pbCalculate.clicked.connect(self.pushbutton_ClickedBiseccion)
예제 #3
0
 def methodMuller(self):
     resetAll(self)
     self.ui.lbParam1.setText("Aproximacion Inicial 1")
     self.ui.lbParam2.setText("Aproximacion Inicial 2")
     self.ui.lbParam3.setText("Aproximacion Inicial 3")
     self.ui.lbParam4.setText("Tolerancia")
     self.ui.lbParam5.setText("No. Iteraciones")
     self.ui.leParam1.show()
     self.ui.leParam2.show()
     self.ui.leParam3.show()
     self.ui.leParam4.show()
     self.ui.leParam5.show()
     self.ui.lbParam1.show()
     self.ui.lbParam2.show()
     self.ui.lbParam3.show()
     self.ui.lbParam4.show()
     self.ui.lbParam5.show()
     self.ui.pbCalculate.clicked.connect(self.pushbutton_ClickedMuller)