Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Equation

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Location
    Nigeria
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Equation

    Can some one write a class that solves the following equation ax2+bx+c=0.............................


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Equation

    I'm sure it has been written many times. Did you use a search engine to find a version online?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Equation

    Sure, here you go:
    class EquationSolver {
        public static void main(String[] args) {
            System.out.println("Do your own homework!");
        }
    }
    Improving the world one idiot at a time!

Similar Threads

  1. For loop with equation?
    By UPYoda in forum Loops & Control Statements
    Replies: 3
    Last Post: January 31st, 2013, 08:34 PM
  2. Using an Array in an equation
    By georger55 in forum Java Theory & Questions
    Replies: 5
    Last Post: July 1st, 2012, 05:50 PM
  3. quadratic equation solver help!
    By overlord in forum Algorithms & Recursion
    Replies: 2
    Last Post: October 20th, 2011, 11:39 AM
  4. Testing equation of a line
    By TimoElPrimo in forum Object Oriented Programming
    Replies: 8
    Last Post: February 23rd, 2011, 12:40 AM
  5. Linear Equation Help !!!
    By thangavel in forum Algorithms & Recursion
    Replies: 1
    Last Post: January 13th, 2011, 06:32 AM