PHP Classes

great stuff

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in

      Differentiation and Integration  >  All threads  >  great stuff  >  (Un) Subscribe thread alerts  
Subject:great stuff
Summary:great stuff it is
Author:rudie dirkx
Date:2006-10-18 09:56:41
Update:2006-10-19 15:50:42

  1. great stuff   Reply   Report abuse  
Picture of rudie dirkx rudie dirkx - 2006-10-18 09:56:41
switch ($currentop) {
case "-":
$airemax = $airemax - $calc2;
$airemin = $airemin - $calc1;
$airemax += $calc2;
$airemin += $calc1;

You can use the += for minus too you know :) Just use -=
*= and /= also works :)

I like how you strip the functionstring and make it actual mathlike. Great stuff! :)

  2. Re: great stuff   Reply   Report abuse  
Picture of Sebastien Renauld Sebastien Renauld - 2006-10-19 15:50:42 - In reply to message 1 from rudie dirkx
It's very "basic" at the moment, I'm afraid. I'm still working on most of the stuff - and yes, I perfectly know += and -=. Used them once, but heh. Both are equally fast.

As for the mathlike, try finding another way to make the bloody computer, whose mind works in decimal, understand how to parse an equation. It's bloody hard. I did what I could, and the next time I send an update, it'll be better (Hopefully), and able to differentiate trig functions (and logarithms). It just takes time to build an intelligence, however simple it is.