SlideShare una empresa de Scribd logo
1 de 2
5 KEY OFF:CLS 
10 PRINT"PHYSICS-ROBERT LEHRMAN A motor operating a pump has 240w of power.How 
long will it take the system to raise 100 kg of water 12 meters? 49 
seconds":PRINT 
11 INPUT"Kilograms to raise";MASS 
21 PRINT 
31 INPUT"Height to be raised meters";HEIGHT 
41 PRINT 
51 INPUT"Power of motor (watts)";WATTS 
61 YARDS = HEIGHT * (.914) 
71 FEET = HEIGHT* 3.281 
101 T = MASS * 9.8 * HEIGHT / WATTS 
105 R = 1/T 
107 U = T / 3600 
111 POUNDS = MASS * 2.2 
125 GA = MASS * .264111 
500 CLS:SCREEN 8 :PALETTE 2,9 
505 PRINT " Time = Mass X 9.8(g) X (Height/Watts)";T 
507 PRINT " 9.8(g) Standard gravity m/s^2" 
508 DRAW"bm0,50 r30u50l30d50" 
510 LINE(130,173)-(150,173),2 
520 LINE(130,174)-(150,174),2 
530 LINE(130,175)-(150,175),2 
540 LINE(130,176)-(150,176),2 
550 LINE(130,177)-(150,177),2 
560 LINE(130,178)-(150,178),2 
570 LINE(130,179)-(150,179),2 
580 LINE(130,180)-(150,180),2 
590 LINE(130,181)-(150,181),2 
600 LINE(130,182)-(150,182),2 
610 LINE(130,183)-(150,183),2 
620 LINE(130,184)-(150,184),2 
630 LINE(130,185)-(150,185),2 
640 LINE(0,50)-(300,50),3 
650 LINE(131,20)-(149,20),3 
660 LINE(131,35)-(149,35),3 
670 LINE(150,30)-(150,185),1 
680 LINE(130,30)-(130,185),1 
690 LINE(131,20)-(131,35),3 
700 LINE(149,20)-(149,35),3 
710 LINE(138,35)-(138,183),3 
720 LINE(142,35)-(142,183),3 
730 LINE(10,24)-(131,24),3 
740 LINE(10,28)-(131,28),3 
776 FOR Q = 1 TO 150 STEP 100 / T 
780 LINE(139,185)-(139,185-Q),2 
790 LINE(140,185)-(140,185-Q),2 
795 LINE(141,185)-(141,185-Q),2 
797 SOUND 900-Q*4,1 
800 NEXT Q 
810 FOR W = 1 TO 120 STEP 1 
820 LINE(131-W,25)-(131-W,25),2 
830 LINE(131-W,26)-(131-W,26),2 
840 LINE(131-W,27)-(131-W,27),2 
841 NEXT W 
843 SR = MASS/4 
845 IF SR > 37 THEN SR = 37
851 FOR I = 1 TO SR STEP T/7200 
854 LINE(10,25)-(10,48),2 
856 LINE(2,49-I)-(28,49-I),2 
857 NEXT I 
860 LINE(139,185)-(139,185-Q),3 
862 LINE(140,185)-(140,185-Q),3 
864 LINE(141,185)-(141,185-Q),3 
866 LINE(10,25)-(10,48),2 
875 LOCATE 14,25 :PRINT WATTS;"WATT MOTOR" 
880 LOCATE 19,25 :PRINT "TIME TO LIFT" 
881 LOCATE 20,1 : PRINT GA;"GALLONS" 
882 LOCATE 20,25 :PRINT MASS;"KG OF " 
885 LOCATE 21,25 :PRINT "WATER"HEIGHT"METERS" 
887 LOCATE 22,25:PRINT INT(T)"SECONDS" 
888 LOCATE 21,1:PRINT FEET;"FEET"

Más contenido relacionado

La actualidad más candente

Cee 312(5)(structural analysis)
Cee 312(5)(structural analysis)Cee 312(5)(structural analysis)
Cee 312(5)(structural analysis)apudgr8
 
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)Sayogyo Rahman Doko
 
Cee 312(4)(structural analysis)
Cee 312(4)(structural analysis)Cee 312(4)(structural analysis)
Cee 312(4)(structural analysis)apudgr8
 
Cee 312(6)(structural analysis)
Cee 312(6)(structural analysis)Cee 312(6)(structural analysis)
Cee 312(6)(structural analysis)apudgr8
 
Cee 312(7 & 8)(structural analysis)
Cee 312(7 & 8)(structural analysis)Cee 312(7 & 8)(structural analysis)
Cee 312(7 & 8)(structural analysis)apudgr8
 
Highway design calculations (3)
Highway design calculations (3)Highway design calculations (3)
Highway design calculations (3)janaka ruwan
 

La actualidad más candente (10)

Cee 312(5)(structural analysis)
Cee 312(5)(structural analysis)Cee 312(5)(structural analysis)
Cee 312(5)(structural analysis)
 
Design of super elevation :- A case study
Design of super elevation :- A case studyDesign of super elevation :- A case study
Design of super elevation :- A case study
 
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)
Homework 3: Metode Schrenk dan Gaya Dalam (Schrenk’s Method and Internal Forces)
 
Cee 312(4)(structural analysis)
Cee 312(4)(structural analysis)Cee 312(4)(structural analysis)
Cee 312(4)(structural analysis)
 
Katalog e s a
Katalog e s aKatalog e s a
Katalog e s a
 
Practico ohm
Practico ohmPractico ohm
Practico ohm
 
Cee 312(6)(structural analysis)
Cee 312(6)(structural analysis)Cee 312(6)(structural analysis)
Cee 312(6)(structural analysis)
 
Cee 312(7 & 8)(structural analysis)
Cee 312(7 & 8)(structural analysis)Cee 312(7 & 8)(structural analysis)
Cee 312(7 & 8)(structural analysis)
 
Highway design calculations (3)
Highway design calculations (3)Highway design calculations (3)
Highway design calculations (3)
 
Ejemplo_AG2
Ejemplo_AG2Ejemplo_AG2
Ejemplo_AG2
 

Destacado

Ebusiness Marketing Software
Ebusiness Marketing SoftwareEbusiness Marketing Software
Ebusiness Marketing SoftwareNextBee Media
 
Policy Development Process Infographic Portuguese
Policy Development Process Infographic PortuguesePolicy Development Process Infographic Portuguese
Policy Development Process Infographic PortugueseICANN
 
Realidad aumentada gc94
Realidad aumentada gc94Realidad aumentada gc94
Realidad aumentada gc94Gabriel Romero
 
Performance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive ParallelismPerformance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive ParallelismJeff Larkin
 
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016Pazarlama Konferansları Mayıs Haziran-Temmuz 2016
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016Roy+Teddy
 
OpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersOpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersDhanashree Prasad
 
Motricidad gruesa
Motricidad gruesaMotricidad gruesa
Motricidad gruesalissethorbe
 
Actividad1 unidadiii mtsm
Actividad1 unidadiii mtsmActividad1 unidadiii mtsm
Actividad1 unidadiii mtsmTere Segura
 

Destacado (14)

Ebusiness Marketing Software
Ebusiness Marketing SoftwareEbusiness Marketing Software
Ebusiness Marketing Software
 
Archivio62
Archivio62Archivio62
Archivio62
 
Policy Development Process Infographic Portuguese
Policy Development Process Infographic PortuguesePolicy Development Process Infographic Portuguese
Policy Development Process Infographic Portuguese
 
Realidad aumentada gc94
Realidad aumentada gc94Realidad aumentada gc94
Realidad aumentada gc94
 
Presentation1
Presentation1Presentation1
Presentation1
 
07.08.2006, LAW, Anti-Corruption Law
07.08.2006, LAW, Anti-Corruption Law07.08.2006, LAW, Anti-Corruption Law
07.08.2006, LAW, Anti-Corruption Law
 
Performance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive ParallelismPerformance Portability Through Descriptive Parallelism
Performance Portability Through Descriptive Parallelism
 
sas
sassas
sas
 
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016Pazarlama Konferansları Mayıs Haziran-Temmuz 2016
Pazarlama Konferansları Mayıs Haziran-Temmuz 2016
 
Epoch powerpoint
Epoch powerpointEpoch powerpoint
Epoch powerpoint
 
OpenMP Tutorial for Beginners
OpenMP Tutorial for BeginnersOpenMP Tutorial for Beginners
OpenMP Tutorial for Beginners
 
Motricidad gruesa
Motricidad gruesaMotricidad gruesa
Motricidad gruesa
 
caffiene and theine
caffiene and theinecaffiene and theine
caffiene and theine
 
Actividad1 unidadiii mtsm
Actividad1 unidadiii mtsmActividad1 unidadiii mtsm
Actividad1 unidadiii mtsm
 

Similar a Pump3.bas

Lintech 110series specsheet
Lintech 110series specsheetLintech 110series specsheet
Lintech 110series specsheetElectromate
 
Lintech 250series specsheet
Lintech 250series specsheetLintech 250series specsheet
Lintech 250series specsheetElectromate
 
trabajos qbasic coordenadas
trabajos qbasic coordenadastrabajos qbasic coordenadas
trabajos qbasic coordenadastyfghgjhgui
 
JVL Intergrated Servo Motor in Stainless Steel
JVL Intergrated Servo Motor in Stainless Steel JVL Intergrated Servo Motor in Stainless Steel
JVL Intergrated Servo Motor in Stainless Steel Electromate
 
Beat up motion in weaving machines
Beat up motion in weaving machines Beat up motion in weaving machines
Beat up motion in weaving machines Kalarooban Sivarajah
 
Lintech 100series specsheet
Lintech 100series specsheetLintech 100series specsheet
Lintech 100series specsheetElectromate
 
PPT sumit.pptx
PPT sumit.pptxPPT sumit.pptx
PPT sumit.pptxGAURAV3608
 
Lintech 200series specsheet
Lintech 200series specsheetLintech 200series specsheet
Lintech 200series specsheetElectromate
 
Cordenadas
CordenadasCordenadas
Cordenadasayler007
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upfusfejskekem
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upfjskeksemm
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upfujjsefkksemmm
 
Pipeline design for water supply
Pipeline design for water supplyPipeline design for water supply
Pipeline design for water supplyTej Binod Pandey
 

Similar a Pump3.bas (20)

Lintech 110series specsheet
Lintech 110series specsheetLintech 110series specsheet
Lintech 110series specsheet
 
Lintech 250series specsheet
Lintech 250series specsheetLintech 250series specsheet
Lintech 250series specsheet
 
Comandos qbasic.clara
Comandos qbasic.claraComandos qbasic.clara
Comandos qbasic.clara
 
Cordenadas
CordenadasCordenadas
Cordenadas
 
Cordenadas
CordenadasCordenadas
Cordenadas
 
trabajos qbasic coordenadas
trabajos qbasic coordenadastrabajos qbasic coordenadas
trabajos qbasic coordenadas
 
Coordenadas
CoordenadasCoordenadas
Coordenadas
 
PRICELIST 2023 FINAL.pdf
PRICELIST 2023 FINAL.pdfPRICELIST 2023 FINAL.pdf
PRICELIST 2023 FINAL.pdf
 
Shi20396 ch08
Shi20396 ch08Shi20396 ch08
Shi20396 ch08
 
JVL Intergrated Servo Motor in Stainless Steel
JVL Intergrated Servo Motor in Stainless Steel JVL Intergrated Servo Motor in Stainless Steel
JVL Intergrated Servo Motor in Stainless Steel
 
Beat up motion in weaving machines
Beat up motion in weaving machines Beat up motion in weaving machines
Beat up motion in weaving machines
 
Lintech 100series specsheet
Lintech 100series specsheetLintech 100series specsheet
Lintech 100series specsheet
 
PPT sumit.pptx
PPT sumit.pptxPPT sumit.pptx
PPT sumit.pptx
 
Lintech 200series specsheet
Lintech 200series specsheetLintech 200series specsheet
Lintech 200series specsheet
 
Coordenadas
CoordenadasCoordenadas
Coordenadas
 
Cordenadas
CordenadasCordenadas
Cordenadas
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
 
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and upKomatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
Komatsu hm300 2 articulated dump truck parts catalogue manual - sn a11001 and up
 
Pipeline design for water supply
Pipeline design for water supplyPipeline design for water supply
Pipeline design for water supply
 

Pump3.bas

  • 1. 5 KEY OFF:CLS 10 PRINT"PHYSICS-ROBERT LEHRMAN A motor operating a pump has 240w of power.How long will it take the system to raise 100 kg of water 12 meters? 49 seconds":PRINT 11 INPUT"Kilograms to raise";MASS 21 PRINT 31 INPUT"Height to be raised meters";HEIGHT 41 PRINT 51 INPUT"Power of motor (watts)";WATTS 61 YARDS = HEIGHT * (.914) 71 FEET = HEIGHT* 3.281 101 T = MASS * 9.8 * HEIGHT / WATTS 105 R = 1/T 107 U = T / 3600 111 POUNDS = MASS * 2.2 125 GA = MASS * .264111 500 CLS:SCREEN 8 :PALETTE 2,9 505 PRINT " Time = Mass X 9.8(g) X (Height/Watts)";T 507 PRINT " 9.8(g) Standard gravity m/s^2" 508 DRAW"bm0,50 r30u50l30d50" 510 LINE(130,173)-(150,173),2 520 LINE(130,174)-(150,174),2 530 LINE(130,175)-(150,175),2 540 LINE(130,176)-(150,176),2 550 LINE(130,177)-(150,177),2 560 LINE(130,178)-(150,178),2 570 LINE(130,179)-(150,179),2 580 LINE(130,180)-(150,180),2 590 LINE(130,181)-(150,181),2 600 LINE(130,182)-(150,182),2 610 LINE(130,183)-(150,183),2 620 LINE(130,184)-(150,184),2 630 LINE(130,185)-(150,185),2 640 LINE(0,50)-(300,50),3 650 LINE(131,20)-(149,20),3 660 LINE(131,35)-(149,35),3 670 LINE(150,30)-(150,185),1 680 LINE(130,30)-(130,185),1 690 LINE(131,20)-(131,35),3 700 LINE(149,20)-(149,35),3 710 LINE(138,35)-(138,183),3 720 LINE(142,35)-(142,183),3 730 LINE(10,24)-(131,24),3 740 LINE(10,28)-(131,28),3 776 FOR Q = 1 TO 150 STEP 100 / T 780 LINE(139,185)-(139,185-Q),2 790 LINE(140,185)-(140,185-Q),2 795 LINE(141,185)-(141,185-Q),2 797 SOUND 900-Q*4,1 800 NEXT Q 810 FOR W = 1 TO 120 STEP 1 820 LINE(131-W,25)-(131-W,25),2 830 LINE(131-W,26)-(131-W,26),2 840 LINE(131-W,27)-(131-W,27),2 841 NEXT W 843 SR = MASS/4 845 IF SR > 37 THEN SR = 37
  • 2. 851 FOR I = 1 TO SR STEP T/7200 854 LINE(10,25)-(10,48),2 856 LINE(2,49-I)-(28,49-I),2 857 NEXT I 860 LINE(139,185)-(139,185-Q),3 862 LINE(140,185)-(140,185-Q),3 864 LINE(141,185)-(141,185-Q),3 866 LINE(10,25)-(10,48),2 875 LOCATE 14,25 :PRINT WATTS;"WATT MOTOR" 880 LOCATE 19,25 :PRINT "TIME TO LIFT" 881 LOCATE 20,1 : PRINT GA;"GALLONS" 882 LOCATE 20,25 :PRINT MASS;"KG OF " 885 LOCATE 21,25 :PRINT "WATER"HEIGHT"METERS" 887 LOCATE 22,25:PRINT INT(T)"SECONDS" 888 LOCATE 21,1:PRINT FEET;"FEET"