Jump to content
Sign in to follow this  

Some Math help

Recommended Posts

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


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 by lopolop

Share this post

Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...