Recent content by tmpr

  1. T

    MATLAB Defining piecewise function in matlab

    How would you write piecewise functions in MATLAB that can take vector inputs? Here's a function that I'm trying to write. function y=g(x) if x==0 y=1; else y=sin(x)./x; end If I call g([0,pi/2]), I want it to return [0,2/pi], but what I get instead is [NaN,2/pi]. I'm guessing...
  2. T

    Acceleration perpendicular to velocity in 2D

    OK, but can you show me how you would deduce the fact that the object is moving with circular motion, given the assumption that acceleration is perpendicular to velocity?
  3. T

    Acceleration perpendicular to velocity in 2D

    If the magnitude of acceleration is constant, and acceleration is perpendicular to velocity, is speed constant? Also, is speed not constant when the magnitude of acceleration is not constant? How would I show this? I tried to do this: If position is p(t)=(x(t),y(t)), then velocity is...
  4. T

    Why does coupling intensity in H-NMR correspond to Pascal's triangle?

    All right, my 1st-year college chemistry class is just beginning NMR, and I really have no clue what's going on. But what caught my eye was how the relative intensities in hydrogen coupling is roughly predicted by Pascal's triangle. Is this because of probability? For a quartet, the number...
Back
Top