# Thread: A nice little program for Mathematics

1. OK.. this is an easy one for all the programmers out there but I don't know hell to do it.

I have this bunch of excersises I need to make. They all consist of the same format:
ax²+by+c=0

a are filled in by a number and so are b and c. You have to see what X is and that are mostly two solutions.

You first have to make some calculations:
D= b²- 4.a.c

If D is negative there is no solution.

Now you calculate X:

X1= (-b+VD) : 2.a (V is a square root (or how 'd you call it e.g. V9=3)

X2= (-b-VD) : 2.a

Can someone create a program that automates this things. So I only have to fill in the values of a, b and c and I would get the solution? I don't think this is hard to do. Oh well I'l give some 10k button impressions at freesources.net as a reward.

Christophe

------------------
Freesources.net - the ultimate webmaster resources site
WebmasterCJ design - opening new worlds for small prices

[This message has been edited by freesources (edited August 04, 2000).]

[This message has been edited by freesources (edited August 04, 2000).]

2. Christophe, are you doing quadratics? If so, there are tons of solvers written already:

...etc.

------------------
Annette
Hosting Matters, Inc.
http://www.hostmatters.com

3. oh thx... but I just made one in Excell myself.. works faster than that JavaScript thingie After all those boooorin computer lessons in school with Works pay off a bit too

I have to use it more

Christophe

------------------
Freesources.net - the ultimate webmaster resources site
WebmasterCJ design - opening new worlds for small prices

4. If somebody wishes to receive my first little program (or kindof a program) please mail to me: mathprogs@freesources.net
=)
Christophe

------------------
Freesources.net - the ultimate webmaster resources site
WebmasterCJ design - opening new worlds for small prices

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•