1
2
# this program will solve every section of the 3rd problem from the second part of the industrial tecnhology from 2019 PAU exam
import t1
1
2
def R(Ubattery,ULED,ILED):
return (3*Ubattery-ULED)/ILED
1
2
def Etotal(Ubattery,ILED,t):
return ((3*Ubattery*5*ILED)*t)*0.000278
1
2
def tbatteries(cbattery,ULED):
return cbattery/(5*ULED)
1
2
def ILEDII(Ubattery,ULEDII,R):
return (3*Ubattery-ULEDII)/R
1
2
def EtotalII(Ubattery,tturnedon,ILEDII):
return (((3*Ubattery)*(5*ILEDII))*((2/3)*tturnedon))*0.000278
Adding or removing images is disabled during broadcasting. You'll be able to update images again once the broadcast session is over.
Images
Image LibraryImages listed here are available to use in your code in this trinket. Click the Image Library button to include more or upload new images.