Está en la página 1de 4

PRUEBA DE ESCRITORIO PROGRAMA TEMPERATURA

ti=0.0;

contiempo=0;

te=0.0;

tiempototal=0;

tinc=0.0;

quemgas=0.0;

tact=0.0;

gastotal=0.0;

tsuperior=verdadero;

gastotal2=0.0;

PROCESO
Ingrese la temperatura inicial:
Ti=-5
Ingrese la temperatura de ebullicin:
Te=100
Ingrese la temperatura incrementada cada 10 minutos:
Tinc=17.5
Contiempo=0+1
Contiempo=1
Tiempototal=contiempo*10
Tiempototal=1*10
Tiempo total=10 MINUTOS
Ti=ti+tinc
Ti=-5+17.5
Ti=12.5
La temperatura actual es Ti (12.5c)
Quemgas=2.5/10
Quemgas=0.25
Gastotal=quemgas*contiempo
Gastotal=0.25*1
Gastotal=0.25
El gas utilizado hasta el momento es 0.25 L3
Ti<te
12.5<100 VERDADERO
Ingrese la temperatura incrementada cada 10 minutos:
Tinc=10.5

Contiempo=1+1
Contiempo=2
Tiempototal=contiempo*10
Tiempototal=2*10
Tiempo total=20 MINUTOS
Ti=ti+tinc
Ti=12.5+10.5
Ti=23
La temperatura actual es Ti (23c)
Quemgas=2.5/10
Quemgas=0.25
Gastotal=quemgas*contiempo
Gastotal=0.25*2
Gastotal=0.5
El gas utilizado hasta el momento es 0.5 L3
Ti<te
23<100 VERDADERO
Ingrese la temperatura incrementada cada 10 minutos:
Tinc=90
Contiempo=2+1
Contiempo=3
Tiempototal=contiempo*10
Tiempototal=3*10
Tiempo total=30 MINUTOS
Ti=ti+tinc
Ti=23+90

Ti=113
La temperatura actual es Ti (113c)
Quemgas=2.5/10
Quemgas=0.25
Gastotal=quemgas*contiempo
Gastotal=0.25*3
Gastotal=0.75
Gastotal2=quemgas+tiempototal
Gastotal2=0.25*30
Gastotal2= 7.5 L3
El gas utilizado hasta el momento es 0.75 L3
Ti<te
113<100 FALSO

El lquido est en ebullicin a una temperatura de 113c


El tiempo que tard el lquido en cambiar de estado fue 30 MINUTOS
El Total de gas utilizado hasta la temperatura de ebullicin fue 7.5 L3

FINPROCESO

SEBASTIN OSPINA TABARES 4


CD 801322167

También podría gustarte