lopolop 0 Report post 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 Share this post Link to post Share on other sites
jjohn 0 Report post 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 Share this post Link to post Share on other sites
lopolop 0 Report post Posted February 8, 2006 ok i see now thanks! Share this post Link to post Share on other sites