Recent content by Goatsenator

  1. G

    Comp Sci Carburization: Calculating Time w/Bisection Method

    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...
  2. G

    Comp Sci Carburization: Calculating Time w/Bisection Method

    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...
  3. G

    Fortran Understanding Fortran Factorials in Infinite Sums

    OH! I just realized that! It's so simple now that I understand it. Thank you for the help!
  4. G

    Fortran Understanding Fortran Factorials in Infinite Sums

    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 ).
  5. G

    Fortran Understanding Fortran Factorials in Infinite Sums

    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)...
  6. G

    Fortran Understanding Fortran Factorials in Infinite Sums

    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...
  7. G

    Energy Threshold for 2 proton -> 2 proton 1 Pion

    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?
  8. G

    Energy Threshold for 2 proton -> 2 proton 1 Pion

    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...
  9. G

    Mechanical Vibrations Differential Equation

    Oh yeah! Thanks for the help!
  10. G

    Mechanical Vibrations Differential Equation

    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...
  11. G

    Adding Spheres: How to find the new radius?

    Oh, okay that makes sense. How did I make it this far? lol Thanks for the help!
  12. G

    Adding Spheres: How to find the new radius?

    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...
  13. G

    Speed of a Sneeze: Solve Homework Statement

    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...
  14. G

    Deriving an acceleration from Potential Energy

    Homework Statement A 4 kg particle moves along the x-axis under the influence of a conservative force. The potential energy is given by U(x) = ax^2 + b, where a = 6J/m^2 and b = 2J. What is the x-component of the acceleration of the particle when it is at x = 1 mHomework Equations deltaU = -W...
  15. G

    Conservation of Momentum Involving Friction

    Oh man! I keep making these stupid mistakes! -_- I guess they could have been a little clearer. Oh well. Yeah that was right thank you for the help!
Back
Top