import math
from __future__ import division
#initialisation of variables
dg=1200; #density in lb/ft cube
v=1/1728; #in ft cube/in cube
#CALCULATIONS
w=dg*v; #calculating weight
#RESULTS
print"Weight in lb =",round(w,3);
import math
from __future__ import division
#initialisation of variables
m=58; #mass in kg
v=0.1*0.2*4; #calculating volume using v=l*b*h in m cube
dw=1000; #density of water in kg/m cube
#CALCULATIONS
d=m/v; #calculating density using d=m/v in kg/m cube
spgr=d/dw; #calculating specific gravity of oak
#RESULTS
print"Specific Gravity of Oak =",round(spgr,3);
print"Since specific gravity of oak is less than that of water (ie. 1), it floats in water";
import math
from __future__ import division
#initialisation of variables
dg=0.08; #weight density of air in lb/ft cube
v=12*12*10; #calculating volume using v=l*b*h in ft cube
#CALCULATIONS
w=dg*v; #calculating weight in lb using weight=weight density*volume
#RESULTS
print"Weight of the air in lb =",round(w,3);
import math
from __future__ import division
#initialisation of variables
w=500; #weight in lb
dg=62; #density in lb/ft cube
#CALCULATIONS
v=w/dg; #calculating volume using density=mass/volume
#RESULTS
print"Volume in ft cube =",round(v,3);
import math
from __future__ import division
#initialisation of variables
F=130; #force in lb
r=1; #radius in inch
#CALCULATIONS
A=3.14*r*r; #calculating Area using area=pi*r*r in in square
p=F/A; #calculating pressure in lb/in square using p=F/area
p1=p/14.7;
#RESULTS
print"Pressure exerted on ground in lb/in square =",round(p,3);
print"Times greater than atmospheric pressure =",round(p1,3);
import math
from __future__ import division
#initialisation of variables
m=20000; #mass in kg
A=60; #area in metre square
g=9.8; #gravitational constant in m/sec square
#CALCULATIONS
F=m*g; #calculating force in Newton
p=F/A; #calculating pressure in Pascal
p1=p/(1.013*10**5);
#RESULTS
print"Pressure in Pascal =",round(p,3);
print"Pressure in atm =",round(p1,3);
import math
from __future__ import division
#initialisation of variables
pa=14.7; #atm pressure in lb/in square
dg=62; #density in lb/ft cube
#CALCULATIONS
h=6/144; #in ft cube/in square
p=pa+(dg*h); #calculating pressure
#RESULTS
print"Pressure in lb/in square =",round(p,3);
import math
from __future__ import division
#initialisation of variables
g=9.8; #gravitational constant in m/sec square
d=1.03*10**3; #density of sea water in kg/m cube
depth=50; #depth in m
side=20; #length of side in cm
#CALCULATIONS
p=d*depth*g; #calculating pressure on window
A=side*side*10**-4; #calculating area in metre square
F=p*A; #calculating FOrce in Newton
#RESULTS
print"Force acting on window in Newton =",round(F);
import math
from __future__ import division
#initialisation of variables
w=200; #weight in lb
ds=64; #weight density of seawater in lb/ft cube
dg=480; #weight density of iron in lb/ft cube
#CALCULATIONS
V=w/dg; #calculating V using dg=w/V in ft cube
w1=ds*V; #calculating weight of seawater displaced by anchor in lb
bf=w-w1; #calculating net force in lb
#RESULTS
print"Net Force to support in lb =",round(bf,3);
import math
from __future__ import division
#initialisation of variables
r=2; #side in m
m=70; #mass of man in kg
d=10**3; #density in kg/m cube
#CALCULATIONS
V=m/d; #calculating Volume in m cube
A=r*r; #calculating area in m square
h=V/A; #calculating height using vol=height*area in metre
#RESULTS
print"Height in metre =",round(h,3);
import math
from __future__ import division
#initialisation of variables
dice=920; #desity of ice in kg/m cube
dwater=1030; #density of water in kg/m cube
#CALCULATIONS
vsub=dice/dwater; #calculating percentage volume of iceberg that is submerged using relation:dice*g*v=dwater*g*vsub
vsub1=vsub*100;
#RESULTS
print"Percentage of volume of submerged iceberg =",round(vsub1,3);
import math
from __future__ import division
#initialisation of variables
v=100*0.134; #volume in ft cube
w1=50; #weight in lb
dg=42; #density in lb/ft cube
dgw=64; #density in lb/ft cube
#CALCULATIONS
w=w1+(dg*v); #calculating weight
F=dgw*v; #calculating force
#RESULTS
print"Weight in lb =",round(w,3);
print"Maximumforce in lb =",round(F,3);
import math
from __future__ import division
#initialisation of variables
w1=40000; #weight in lb
dga=0.08; #density in lb/ft cube
dgh=0.011; #density in lb/ft cube
#CALCULATIONS
v=w1/(dga-dgh); #calculating volume
#RESULTS
print"Volume in ft cube =",round(v,3);