Search results

  1. M

    Scale a Polynomial: f(x) = .068x^2 -20.4x + 1620 (nested loop)

    Hi MarkBot...thanks for asking. I did indeed get it to work, but the code isn't as compact as I was hoping for. I ended up having to scale the height variable and then recalculate the quadratic on each iteration of the bounce. If interested here is my code: Private Sub Bounce2_Click()...
  2. M

    Scale a Polynomial: f(x) = .068x^2 -20.4x + 1620 (nested loop)

    Thanks much for the reply. No typo on my part, but great catch on yours. The parabola does indeed open downward as the coordinate system is a bit screwy: Y decreases going up and increases going down. I am programming this using VBA in MS Excel as an experiment more than anything. I would...
  3. M

    Calling All Members! A moment of your time, please.

    To the OP: Wow! I'm a member and a lurker of a few technical forums around the web and I have to say that your post should be a 'sticky' on all of them. Snarkiness (my spell-checker is telling me that's not a real word - pfft!) runs so rampant on some of them that the "Post a New Thread"...
  4. M

    Scale a Polynomial: f(x) = .068x^2 -20.4x + 1620 (nested loop)

    Hi folks! I'm writing a program that will graphically move a ball along a series of parabolas to simulate the ball bouncing. I'm using a nested loop to do this. I used the following quadratic equation to plot the path of the ball: f(x) = .068x2 -20.4x + 1620 then I shifted it using...
Top