46 
#calculating )the timestep 
#calculating )the timestep 
47 
h=(1./5.)*sqrt(rho/(lam+2*mu))*(mx/ndx) 
h=(1./5.)*sqrt(rho/(lam+2*mu))*(mx/ndx) 
48 
#Check to make sure number of time steps is not too large. 
#Check to make sure number of time steps is not too large. 
49 
print "Time step size= ",h, "Expected number of outputs= ",tend/h 
print("Time step size= ",h, "Expected number of outputs= ",tend/h) 
50 


51 
#uncomment the following lines to give the user a chance to stop 
#uncomment the following lines to give the user a chance to stop 
52 
#proceeder = raw_input("Is this ok?(y/n)") 
#proceeder = raw_input("Is this ok?(y/n)") 