1
2
# aquest programa et resol tots els apartats d'un problema de construcció d'una piscina climatitzada.
import t1
1
2
def Cforat(v,ct,st,t,n):
return (v+ct)+(st*t*n)
1
2
def Cint(v,cc,cg,cm,cf):
return (v*(cc+cg+cm+cf))
1
2
def Cext(v,ce,cl):
return ((v*ce)+(v*cl))
1
2
def Sous(ss,sr,n,Mant,t):
return (ss*n*t)+(sr*t)+(Mant*t)
1
2
def Ctotal(v,Caig,Cforat,Cint,Cext,Sous,Mant):
return ((v*Caig)+Cforat+Cint+Cext+Sous+Mant)
1
2
def Tamort(Ctotal,Pent,Sous,Mant,n):
return (Ctotal/(Pent*n*10)+((Sous+(Mant*10))/(Pent*n*10)))
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.