check this math please

This is a discussion on check this math please within the A Brief History of Cprogramming.com forums, part of the Community Boards category; out of the goodness of your heart, i want to make sure i derived these nasty equations properly. I'm trying ...

  1. #1
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    check this math please

    out of the goodness of your heart, i want to make sure i derived these nasty equations properly. I'm trying to find the instantaneous force of gravity on a particle that has come to rest on the parametric object represented by these equations:

    X = 10cos(t) + (cos(t) * 2sin(9t))
    Y = 10sin(t) + (sin(t) * 2sin(9t))

    It's a sine wave that travels around a circle. The particle comes to rest at t=1.04, or (5,8.66). These are the equations i get for the derivatives of x and y using product and chain rules:

    X = -10sin(t) (sin(t) * 2sin(9t)) + (cos(t) * 18cos(9t))
    Y = 10cos(t) + (cos(t) * 2sin(9t)) + (sin(t) * 18cos(9t))

    and then the slope I get (with derivative of y with respect to t divided by the derivative of x with respect to t) is .58104, which is completely reasonable. I've drawn a line tangent to the curve at that point, and it touches that point, and it *looks* like it really is a tangent, but I just want to make sure I derived x and y properly(and yes im in radians).

    EDIT: Okay, I can't delete this crap, but I basically know it works, so, yeah, beans
    Last edited by Silvercord; 12-17-2003 at 06:18 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-05-2010, 11:42 PM
  2. how to check input is decimal or not?
    By kalamram in forum C Programming
    Replies: 3
    Last Post: 08-31-2007, 07:07 PM
  3. Please check this loop
    By Daesom in forum C++ Programming
    Replies: 13
    Last Post: 11-02-2006, 12:52 AM
  4. Check application visibility
    By 3saul in forum Linux Programming
    Replies: 2
    Last Post: 02-13-2006, 04:13 PM
  5. how to check for end of line in a text file
    By anooj123 in forum C++ Programming
    Replies: 6
    Last Post: 10-24-2002, 11:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21