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).]