Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math question...
Message
From
13/09/2003 17:17:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/09/2003 01:58:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00828722
Message ID:
00828786
Views:
13
>You can then use the Quadratic Formula (e.g. http://mathworld.wolfram.com/QuadraticEquation.html ) to determine the 2 roots, which may both be real, or complex. If complex, you'll likely have to trap the error (taking the square root of a negative number) in your math routine.

Reminder: there is also a third case, two identical roots (if the discriminant is equal to zero).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform