Created
August 14, 2023 20:06
-
-
Save n7275/60e8cffdc4d89a211e0158310c305566 to your computer and use it in GitHub Desktop.
Tunnel depress velocity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear; | |
clc; | |
diameter = 32/12/3.28; | |
length = 20/12/3.28; | |
P = 1.0*6894.76; | |
mass1 = 60000/2.204; | |
mass2 = 30000/2.204; | |
V = (pi*diameter^2)/4; | |
E = P*V | |
vel1 = sqrt(2*E/((mass1^2/mass2)+mass1)) | |
vel2 = sqrt(2*E/((mass2^2/mass1)+mass2)) | |
p1 = mass1*vel1 | |
p2 = mass2*vel2 | |
total_e = (mass1*vel1^2)/2+(mass2*vel2^2)/2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment