1. Homework Statement
Consider air inside a piston-cylinder device that is compressed adiabatically from p1 = 100kPa, T1 = 300 K, and V1 = 0.5 m^3 to V2 = 0.03 m^3 and then heated at constant pressure until T3 = 2000 K. The heat is exchanged with a heat reservoir at TH = 2000 K. Determine P2...
The t (time) is either A or B which you have to ask for as the input (10 and 50 in the pdf). When the program runs, it will evaluate the function(s) for these two times, but they have to be in seconds. We only care about the end of the bar so X or delta X will always just be the length of the...
Hey I think you're in my class. c_avg is a function but you defined it as just a REAL in the module. I didn't define any functions in the module because I kept getting errors. You also have to have input variables for your function's dummy variables. So c_avg would just be a function of time...
Homework Statement
Consider air inside a piston-cylinder device that is compressed adiabatically from p1 = 100kPa, T1 = 300 K, and V1 = 0.5 m^3 to V2 = 0.03 m^3 and then heated at constant pressure until T3 = 2000 K. The heat is exchanged with a heat reservoir at TH = 2000 K. Determine P2...
disregard that. i worked it out on paper and i got 9 but for some reason the program is outputting 5...
If the k0,k1,k2 etc values are the "fact", how is (n-2)/3 = (n-k)/(k+1) for k = 3? That's why I thought it should be ( (n-k+1) / k ).
Hmmm... then fact * (n-k)/(k+1) can't be right because it doesn't match the results of working out all the factorials like that. I checked it in command prompt and it said the sum with x = 2 and n = 2 is 5. This sum represents (1+x)^n which should be 9 in that case.
I thought fact * ( (n-k+1)...
I don't understand at all how you tell the computer to evaluate a complicated factorial expression such as the one given in in the infinite sum of binomial theorem as
Ʃ [n! / k!(n-k)! ] * x^k
where n is the final value of the sum and k is where you are in the loop.
It's supposed...
OH! Okay I think I get it now! So when I view it from the COM frame both of the protons appear to have equal kinetic energies when they collide so that is the threshold energy? And then after the collision there appears to be no movement of the particles relative to one another?
Homework Statement
When a beam if high-energy protons collides with protons at rest in the laboratory, pions are produced by the reaction p + p --> p + p + ∏. Compute the threshold energy of the protons in the beam for this reaction to occur.
Homework Equations
(mc^2)^2 = E^2 - (pc)^2...
Homework Statement
Find the general solution for the differential equation
Homework Equations
y'' + 16y = tan(4t)
The Attempt at a Solution
I get C1cos(4t) + C2sin(4t) = 0 for my homogeneous equation.
I did the usual method of undetermined coefficients (I think I took all of the...
Okay this seems like a really simple question. Basically I'm adding together 8 spheres (like raindrops coalescing into one bigger drop) and I'm getting two different answers for the new radius.
Each individual drop is identical.
I start by expressing the new volume in terms of the...
Homework Statement
When you cough, you expel air at high speed through the trachea and upper bronchi so that the air will remove excess mucus lining the pathway. You produce the high speed by this procedure: You breathe in a large amount of air, trap it by closing the glottis (the narrow...