RE: [PHP] Calculator Script
| From: | Daniel Purdy | Date: | Tue, 20 Apr 2004 21:58:17 +0000 |
| Subject: | RE: [PHP] Calculator Script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184067@lists.php.net to get a copy of this message | ||
[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
correctly. If you take the results that the calculator gave you and
divide them by 3 then you get your answer. So the caluclator divides it
by b then you have to add in a part of it to divide by the 3. HTH!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php