Search:

Type: Posts; User: jamesR

Search: Search took 0.18 seconds.

  1. Replies
    2
    Views
    1,469

    How do i make two equations have to be equal?

    Right now i am writing a program that will find the intersection point of two lines. My general equations are y=m1 * x + b1 and y = m2 * x +b2. I want to make m1 * x + b1 HAVE to equal m2 * x + b2,...
  2. Re: when i run the program to find the y values it always prints y2 instead

    sorry, I wasn't ignoring your question, I was away from my computer for a while.
  3. Re: when i run the program to find the y values it always prints y2 instead

    Thank you so much for all your help Zaphod, i have no idea how i din't see that simple error earlier.
  4. Re: when i run the program to find the y values it always prints y2 instead

    ok so when i did what you suggested, d was always 3.
  5. Replies
    12
    Views
    1,782

    Re: Errors with beginning jOptionPane code

    I would suggest putting the area outputs in the initial if statements with asking fr the base that might make it easier to look at.
  6. when i run the program to find the y values it always prints y2 instead

    import javax.swing.*;
    public class LinearFinder
    {
    public LinearFinder()
    {
    }
    public static void main(String args[])
    {
    int x1;
    int y1;
Results 1 to 6 of 6