Results 1 to 2 of 2
  1. #1
    ausefi is offline Member
    Join Date
    Jul 2012
    Posts
    1
    Rep Power
    0

    Default how to accuire the answers of equations in java?

    hi
    I have a problem in finding the answers of the equation below, I wanna know if I can the eqaution directly in java and by giving the parameters , get the answer?

    (3+5x)/2sqrt[(2-x)(6+x)]-sqrt[(1+x)(3+x)+5(3+x)]/2=n n=0,1,2,...

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,783
    Blog Entries
    7
    Rep Power
    21

    Default Re: how to accuire the answers of equations in java?

    Java is way too stupid for that; you have a function f(x) == n, and given a value for n you want to know the value(s) for x. You basically want to know the inverse of function f w.r.t. x, i.e. x= f^-1(n), but Java can't do that by itself, you either need to write a substantial amount of software for that or use a CAS (Computer Algebra System) for that.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Two Java Equations
    By Army in forum New To Java
    Replies: 2
    Last Post: 02-02-2012, 06:31 PM
  2. equations in java
    By kekcklemen in forum Advanced Java
    Replies: 2
    Last Post: 04-08-2011, 10:17 PM
  3. Output Equations in Java
    By jlbird in forum New To Java
    Replies: 5
    Last Post: 11-02-2010, 04:24 PM
  4. need answers to this java program
    By peixd in forum New To Java
    Replies: 2
    Last Post: 06-14-2010, 05:23 AM
  5. Solving this equations problem in Java
    By matt_well in forum New To Java
    Replies: 17
    Last Post: 08-30-2008, 10:05 PM

Posting Permissions

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