View Full Version: Expression Expander

C++ Learning Community > C++ Works in Progress > Expression Expander


Title: Expression Expander


dr voodoo - January 5, 2007 03:08 PM (GMT)
user posted image
This a project of mine that I've been working on for quiet some time now.

What is does is explained quiet quickly : It expands and factorizes (some) math expressions.

You can download it here:
http://www.dhost.info/voodoocpp/index.php?page=progs/progs

Any comments welcome. Please report bugs (crashes, things you think that should have been expanded / factored)

C-Man - January 5, 2007 05:29 PM (GMT)
holy cow ! niiice once again you outdid yourself :clap: ^_^

tubapro12 - January 6, 2007 05:23 AM (GMT)
nice. i did something (no where's near as complex) in command line once. quiet fun. :P

Shonoby - January 20, 2007 10:08 PM (GMT)
Dr.Voodo your just to amazing, ....damn, how come ur so good!? (How long have u been programming? )

The_Niklas - January 25, 2007 08:59 PM (GMT)
It complains if you try to divide something with zero ^_^
Still very nice work!

dr voodoo - January 25, 2007 09:18 PM (GMT)
Thanks for the feedback.

QUOTE
It complains if you try to divide something with zero

Well what should it do else? ;)


Ravotus - January 26, 2007 12:05 AM (GMT)
I'd say it should return Nullity. :lol:

http://science.slashdot.org/article.pl?sid...416223&from=rss

C-Man - January 26, 2007 08:26 AM (GMT)
ahaha i always thought /0 yields infinity

dr voodoo - January 26, 2007 07:33 PM (GMT)
Just out of curiosity : What becomes the graph of 1/x when not represented on the normal plan but on the surface of a cylinder of infinite length but some arbitrary real radius r with the x axis going along the length of the cylinder and the y axis being a circle meaning a cut of the cylinder.

Isn't (x, lim(x->0)of(1/x)) then the point on the opposite side of the cylinder meaning (0, pi*r+2*k*pi) with k in Z.

To come back to 1/x in the standard plan one would only have to let r go against +inf as a line is only a circle with infinite radius. It seems to work as lim (r->+inf) of (0, pi*r+2*k*pi) is (0, -inf) when k < 0 and (0, +inf) when k >= 0.

Shonoby - January 26, 2007 08:49 PM (GMT)
Ahh, yea, sure that true.....




Hosted for free by InvisionFree