Recent content by jFlower

  1. J

    Watts accelerating mass in a frictionless environment

    Yes, going up (or down) a slope is factored in with that coeffecient. For velocity, I clamp it so that even if it's zero it acts like some small value (0.01m/s) To the 150 lines of code I had in my physics simulation, this entire thread resulted in me putting a single " / VelocityInMPS" in...
  2. J

    Watts accelerating mass in a frictionless environment

    Ok, thanks for everybodies help. Obviously Force and Power were (are?) confused in my old mind and I think I have reasonable results now. Every 60th of a second I do: timeStep = 1/60 inputWatts = data from some external source (joystick throttle) WattsAfterDrag = inputWatts -...
  3. J

    Watts accelerating mass in a frictionless environment

    Well, I don't know, that's sort of why I posted in the first place :) I haven't taken a physics class in over 20 years and don't exactly have the textbooks handy anymore.
  4. J

    Watts accelerating mass in a frictionless environment

    Right, so at a near stand still power = mav. So, 74600 = 100 * A * 0.00000000001, or A =74600/(100 * 0.000000000001) when the body is nearly at a stand still. This equals a huge acceleration which would rocket the object forward so quickly initially that we'd hit 100kph in a hundredth of a...
  5. J

    Watts accelerating mass in a frictionless environment

    I'm not trying to calculate 0-100kph, I'm trying to calculate instantaneous acceleration at any given moment given an input wattage (which is really the remaining wattage after all drag is taken out). The 0-100kph calculation is just an easy sanity check on the maths. Doesn't a rocket in space...
  6. J

    Watts accelerating mass in a frictionless environment

    The power The current power input into the system is given to me in watts. I'm not trying to maintain constant acceleration, I'm simply trying to calculate instantaneous acceleration given instantaneous watts and accelerate the object based on that for a very small time step (1/60th of a...
  7. J

    Watts accelerating mass in a frictionless environment

    So, taking "(1/2)*m*v2^2 = P*t" and trying to solve for acceleration (in m/s^2), I'd want to solve for V2 with a t of 1.0 right? So: acceleration = sqrt((2 * powerInWatts) / mass) ? And then I'd update my velocity normally, v = v+acceleration * timeStep So now an object with the weight of a...
  8. J

    Watts accelerating mass in a frictionless environment

    Thanks, it sounds like I'm on the right track to figuring this out. So does it help to say the object is a motorcycle (that weighs the weight of a car) and the watts are going into a single rear wheel with a diameter of 700mm? What would the velocity be for this - wheel angular velocity...
  9. J

    Watts accelerating mass in a frictionless environment

    < Mentor Note -- thread moved to HH from the technical physics forums, so no HH Template is shown >[/color] I have read every post I've found on here about this subject, but for some reason the answer is elusive - I suspect due to an issue with units. Here's the problem. vInitial = 0 meters /...
Back
Top