#!/usr/bin/perl my $sac = 2.0; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; foreach $d (1..13) { my $depth = $d * 10; my $ata = $depth / 33 + 1.0; my $probgas = $sac * $ata * 1.0; my $asctime = $depth / 30; my $ascgas = $sac * ( $ata + 1 ) / 2 * $asctime; my $stopgas = $sac * ( 20 / 33 + 1.0 ) * 3.0; my $gas = $probgas + $ascgas + $stopgas; my $al72 = $gas / 72 * 3000.0; my $al80 = $gas / 77.4 * 3000.0; my $al100 = $gas / 100 * 3000.0; my $hp100 = $gas / 100 * 3500.0; my $lp80 = $gas / 80 * 2640.0; my $hp119 = $gas / 119 * 3500.0; my $lp95 = $gas / 95 * 2640.0; my $hp130 = $gas / 130 * 3500.0; my $lp104 = $gas / 104 * 2640.0; my $lp72 = $gas / 72 * 2640.0; my $hp80 = $gas / 80 * 3500.0; $al72 = 500 if $al72 < 500; $al80 = 500 if $al80 < 500; $al100 = 500 if $al100 < 500; $hp100 = 500 if $hp100 < 500; $hp119 = 500 if $hp119 < 500; $hp130 = 500 if $hp130 < 500; $lp80 = 500 if $lp80 < 500; $lp95 = 500 if $lp95 < 500; $lp104 = 500 if $lp104 < 500; $lp72 = 500 if $lp72 < 500; $hp80 = 500 if $hp80 < 500; print ""; print ""; printf "", $gas; printf "", $hp80; printf "", $al72; printf "", $al80; printf "", $lp72; printf "", $hp100; printf "", $lp80; printf "", $al100; printf "", $hp119; printf "", $lp95; printf "", $hp130; printf "", $lp104; print "\n"; } print "
DepthRock BottomHP80Al72Al80LP72HP100LP80Al100HP119LP95HP130LP104
$depth fsw%5.2f cu ft%d psi%d psi%d psi%d psi%d psi%d psi%d psi%d psi%d psi%d psi%d psi
\n";