Thread: Expression Manipulator v0.3 (differentiation)

  1. #1
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490

    Expression Manipulator v0.3 (differentiation)

    The only real difference is the fixing of a clear_extra() bug (and features), and the adding of a derive() function.

    clear_extra() removes excess terms containing a zero factor, and factors containing excessive ones.

    To take the derivative:
    "derive(3x)"

    For some reason, another extra term is attached to the result, and I can't simplify it, but it's still the correct one.

    Right now powers are assumed to be constants. Later on when I add the ability to take logs, I'll work with variable powers. Also later on will be simple substitutions such as sin'(x) = cos(x)
    Last edited by ygfperson; 06-01-2003 at 07:45 AM.

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Here's the executable

  3. #3
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Posts
    798
    The first one has nothing in it.

  4. #4
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Whoops...

  5. #5
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    How many years of calculus do you have under yoru belt and what grade are you in (college or high school or pre K or whatever).

    Like I said before, this is genuinely a cool program and everyone that doesn't download it sucks.

  6. #6
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    He's a senior who has taken one year of Calc.


    Damn, it's pretty scary that i know that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with making a Math Expression DLL
    By MindWorX in forum C Programming
    Replies: 19
    Last Post: 07-19-2007, 11:37 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. recursion error
    By cchallenged in forum C Programming
    Replies: 2
    Last Post: 12-18-2006, 09:15 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Expression Evaluator Contest
    By Stack Overflow in forum Contests Board
    Replies: 20
    Last Post: 03-29-2005, 10:34 AM