Results 1 to 2 of 2
  1. #1
    Lissa is offline Member
    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Unhappy Very new to Java. Would appreciate some help!

    Hey guys! This assignment is due tonight and I have been struggling with it for a while now. Can anyone help? Thanks!

    Design a class named LinearEquation for a 2 X 2 system of linear equations:
    ax + by = e x = (ed bf)/(ad bc)
    cx + dy = f y = (af ec)/(ad bc)
    The class contains:
     Private data fields a, b, c, d, e, f.
     A constructor with the arguments for a, b, c, d, e, f.
     Six get methods for a, b, c, d, e, and f.
     A method named isSolvable() that returns true if ad bc is not 0.
     Methods getX() and getY() that retrun the solution for the equation.

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,559
    Rep Power
    25

    Default Re: Very new to Java. Would appreciate some help!

    Do you have any specific questions about your assignment?
    Please post your code and any questions about problems you are having.

    What have you tried? - Matt Gemmell
    If you don't understand my response, don't ignore it, ask a question.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •