More Related Content
More from Donald Stevens (20)
Beaker.bas
- 1. 300 CLS : KEY OFF : PRINT"Physics Lehrman page 142" :SCREEN 9
302 PRINT"The gauge of figure 7.4(calibrated to read absolute pressure) reads
1200 mb when the thermometer is in ice water and 1,750 mb when it is in the
other beaker.What is the temperature in the other beaker? temp in first beaker
273.15 k.ans.398 k."
305 INPUT"Input temp k. first beaker";K
307 INPUT"Input millibars first beaker";P1
310 INPUT"input millibars second beaker";P2
315 T = K/P1 * P2
316 C1 = K - 273.15 : F1 = (9/5) * C1 + 32
317 C2 = T - K : F2 = (9/5) * C2 + 32
320 PRINT:PRINT K" K. "
T;"K."
321 PRINT:PRINT C1" C. "
322 PRINT F1"F."
323 PRINT " ";C2 "C."
324 PRINT " ";F2 "F."
404 A$ = "bm50,240 d100r150u100d25l150"
406 B$ = "bm300,240 d100r150u100d25l150"
408 C$ = "bm100,310 f7r25e7u30h10u100d100f10d30g7l25h7u30e10u100"
410 D$ = "bm350,310 f7r25e7u30h10u100d100f10d30g7l25h7u30e10u100"
412 E$ = "bm65,275 u15r15d15l15"
414 F$ = "bm170,270 u15r15d15l15"
416 CIRCLE(120,160),40
418 PAINT(120,160),&H66
420 CIRCLE(365,160),40
422 PAINT(365,160),&H33
428 DRAW A$
430 DRAW B$
432 DRAW C$
434 DRAW D$
436 DRAW E$
438 DRAW F$