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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
def R(Ubattery,ULED,ILED):
return (3*Ubattery-ULED)/ILED
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
def Etotal(Ubattery,ILED,t):
return ((3*Ubattery*5*ILED)*t)*0.000278
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
def tbatteries(cbattery,ULED):
return cbattery/(5*ULED)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
def ILEDII(Ubattery,ULEDII,R):
return (3*Ubattery-ULEDII)/R
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
def EtotalII(Ubattery,tturnedon,ILEDII):
return (((3*Ubattery)*(5*ILEDII))*((2/3)*tturnedon))*0.000278
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Adding or removing images is disabled during broadcasting. You'll be able to update images again once the broadcast session is over.

Images listed here are available to use in your code in this trinket. Click the Image Library button to include more or upload new images.

How To Use Images

Images can be used with the turtle module.

import turtle
screen = turtle.Screen()
# set the screen background
screen.bgpic("filename.png")

# Or, set the shape of a turtle
screen.addshape("filename.png")
tina = turtle.Turtle()
tina.shape("filename.png")

Powered by

Run your code first!

It looks like you haven't tried running your new code.

Try clicking  Run and if you like the result, try sharing again.

×