Recent content by timsea81

  1. T

    Use results of a 'for' loop to formulate a vector

    Right on. That's the web page I found earlier that got it straight for me.
  2. T

    Use results of a 'for' loop to formulate a vector

    I think I got it now: T1 = [1:5]; for i=1:5, T1(i) = i^6; T2(i) = i^.01; plot (T1) end Now I just need to figure out how to plot two vectors on top of each other in different colors, but I think I should be able to get that part from the help. Thanks for the response.
  3. T

    Use results of a 'for' loop to formulate a vector

    I would think this should be an easy one... For i=0 to i=M, I want to run a a calculation and get M different results. I want to store those M results as a vector so I can plot them. Simplify version below: for i=0:10 T = i/2; T end This spits out a list of numbers: 0...
  4. T

    MATLAB Why is my integral function not working properly in MATLAB?

    Thanks! That's exactly it. I just created a file to experiment with integrals and called it "integral.m". I never would have thought of that. I was reading the error message as if there were separate "script integrals" and "function integrals" or something. Thanks a lot!
  5. T

    MATLAB Why is my integral function not working properly in MATLAB?

    I'm trying to replicate this to modify the problem and numerically calculate an integral, but I get the error: "Attempt to execute SCRIPT integral as a function" Any ideas what that means?
  6. T

    D^2T/dx^2 + d^2T/dy^2 + d^2T/dz^2 = C

    I think I got it, maybe. I can solve the homogeneous equation: d^2τ/dx^2 + d^2τ/dy^2 + d^2τ/dz^2 = 0 and then assume the particular solution to have the form: T = τ + Ax^2 + Bx^2 + Dx^2 That makes d^2T/dx^2 + d^2T/dy^2 + d^2T/dz^2 = 0 + 2A + 2B + 2D, So 2A + 2B + 2D = -C...
  7. T

    D^2T/dx^2 + d^2T/dy^2 + d^2T/dz^2 = C

    I'm trying to solve the heat conduction formula in 3 dimensions when there is constant generation from electrical resistance q'''. This creates a constant C on the right hand side that is equal to q'''/k. T=T(x,y,z) d^2T/dx^2 + d^2T/dy^2 + d^2T/dz^2 = C I found a solution using separation...
  8. T

    Solving Du/dt=A*d^2u/dx^2 w/ Boundary Conditions

    Interesting. Let's develop that a little: u=u(x,t) du/dt = A*(d^2u/dx^2) u(x,0) = f(x) u(0,t) = 0 u(L,t) = V Let w(x,t) = u(x,t) - (V/L)*x Now, w(x,0) = u(x,t) - (V/L)*x = f(x)-[(V/L)*x] We can just call this g(x) so that's fine w(0,t) = u(0,t) - (V/L)*0 = 0-0 = 0 w(L,t) =...
  9. T

    Solving Du/dt=A*d^2u/dx^2 w/ Boundary Conditions

    du/dt = A*d^2u/dx^2 Where u=u(x,t) and A is a constant. The boundary conditions are: u=f(x) when t=0 u=0 when x=0, independent of t u=V when x=L, independent of t, where V and L are both non-zero constants. Is there a general solution to this, or do I need to solve it numerically? I tried...
  10. T

    Engineering Mechanical vs. Civil engineering

    This is terrible advice. Translation: If you're too stupid to spell, major in Civil Engineering.
  11. T

    Engineering Engineering or Music: Which Path Should I Choose?

    This is a pretty depressing thought. It's certainly one way to look at it, but I am excellent at parking cars, yet I think valet would be a poor career choice for me, even at a high-end hotel where I could make as much money as an engineer. You raise the question of "If you want happiness in...
  12. T

    Engineering Engineering or Music: Which Path Should I Choose?

    I was into music all through high school, college, and a few years past college. I did the formal music education in high school and played in bands the rest of the time. I am currently working as a Mechanical Engineer. Really it's a personal choice what you want to do with your life, but I...
  13. T

    Job Skills Undergrad Resume for an Internship (Junior)

    Just tell them that you have been assigned it and haven't started it yet. Then talk about why you're excited to do it, and if they are interested, share the details with them.
  14. T

    Chemistry Minor in Math or Chemistry for ChemE?

    I would recommend Chemistry. I don't think employers will really look too closely at what your minor was after you finish your graduate degree. In my opinion it would be better to pick something that will benefit you in preparation for graduate school. There is a lot of overlap with your...
  15. T

    Integrating velocity with respect to time when velocity depends on position

    Why can't you bother capitalizing the first words of your sentences, or proofreading your post to realize that the word "either" was used wrong? I don't know latex, that's why I didn't use it. Do you similarly not know the English language? I guess I might say "thanks for the tip" had you...
Back
Top