lopolop Posted February 7, 2006 Posted February 7, 2006 (edited) im doing alot quadratic stuff in math... ive been using formuals and stuff.. instead of actually doing everything i wanted to make a program.. but one thing we need to do is find the discriminate and the equation to find this is.. $B^2-4*$A*$C One of the things i need to check is if it s a perfect square... I am unsure how to do this... like i need to check if the Sqrt of the answer is a Rational Number then In a message box say there is 2 solutions. then if it isnt.. check it is irrational... i can figure the rest out just need to no the rational/irrational numbers Edited February 8, 2006 by lopolop
jjohn Posted February 8, 2006 Posted February 8, 2006 may be... said $n is the test number $n-Int($n)>0 then is irrational =0 is rational hope this answer your question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now