RE: [PHP] Calculator Script

2004-04-20 Thread Stephen Craton
11 PM - To: 'PHP List' - Subject: RE: [PHP] Calculator Script - - Well, that would almost work, except that for something like (2x^2 - 8x - - 41) / (x-7). - - A = 2 - B+A*R = 6 - C+B*R+A*R^2 = 1 - - This is actually pretty close: 2x + 8 + (1 / (x-7)) - - I guess there isn't any on

RE: [PHP] Calculator Script

2004-04-20 Thread Stephen Craton
http://www.melchior.us - -Original Message- - From: Daniel Purdy [mailto:[EMAIL PROTECTED] - Sent: Tuesday, April 20, 2004 4:58 PM - To: Daniel Purdy; Stephen Craton - Cc: PHP List - Subject: RE: [PHP] Calculator Script - - [snip] - A = 1 - B+A*R = 9 - C+B*R+A*R^2 = -7 - - I get (b/3) + 3

RE: [PHP] Calculator Script

2004-04-20 Thread Stephen Craton
hen Craton - Cc: PHP List - Subject: RE: [PHP] Calculator Script - - - [snip] - 3b = 3x - 0 - - The book has this as an example too dealing with the program: (x^2 - 14x - - - 25) / (3x + 4) - [/snip] - - Exactly. However the program is looking for x - r. there is no place to - put a coefficie

RE: [PHP] Calculator Script

2004-04-20 Thread Daniel Purdy
[snip] A = 1 B+A*R = 9 C+B*R+A*R^2 = -7 I get (b/3) + 3 - (7/3b) when I work it out by hand, and a teacher of mine got the same thing. What exactly is this program finding, since it obviously isn't any coefficients? [/snip] Acutally, looking at it further, it looks like it actually almost did it

RE: [PHP] Calculator Script

2004-04-20 Thread Daniel Purdy
[snip] 3b = 3x - 0 The book has this as an example too dealing with the program: (x^2 - 14x - 25) / (3x + 4) [/snip] Exactly. However the program is looking for x - r. there is no place to put a coefficient in front of the x. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Calculator Script

2004-04-20 Thread Stephen Craton
: [PHP] Calculator Script - - - [snip] - form ax^2 + bx + c by a binomial of the form x - r. - - One example I tried out was (b^2 + 9b - 7) / 3b. - [/snip] - - I don't think that 3b is same form as x - r - - - - - -- - PHP General Mailing List (http://www.php.net/) - To unsubscribe,

RE: [PHP] Calculator Script

2004-04-20 Thread Daniel Purdy
[snip] form ax^2 + bx + c by a binomial of the form x - r. One example I tried out was (b^2 + 9b - 7) / 3b. [/snip] I don't think that 3b is same form as x - r -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mai