determinant program
Results 1 to 4 of 4

Thread: determinant program

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    244

    determinant program

    can anyone help me with the cod for for finding the value of a determinant of a matrix in c programming.
    can anyone tell a simple code for the program
    The people who are crazy enough to think they can change the world are the ones that do.


    http://www.AntiOnline.com/sig.php?imageid=767

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Posts
    500
    What size Matrix? I only have c++, and my code is on my linux partition. If I remember right you use an If statement and then another If statement inside of that. Then just learn how you find a determinent and if you need to give the determinent then either supply a switch or an if then else statement for each determinent.

    Plus what fun would it be to tell you the answer to your homework
    You shall no longer take things at second or third hand,
    nor look through the eyes of the dead...You shall listen to all
    sides and filter them for your self.
    -Walt Whitman-

  3. #3
    Senior Member
    Join Date
    Dec 2003
    Posts
    244
    it can be taken of order m*n
    3*3 would do i need the code in a hurry man
    The people who are crazy enough to think they can change the world are the ones that do.


    http://www.AntiOnline.com/sig.php?imageid=767

  4. #4
    Senior Member
    Join Date
    Aug 2003
    Posts
    1,019
    it can be taken of order m*n
    3*3 would do i need the code in a hurry man
    lol...sounds like someone didn't get their homework done

    I'm writing a program for a class in java that solves a quadratic equation. Since I don't know crap about programming (but I'm learning), I searched google and was able to find a bunch of examples that I can apply to my program.

    My instructor doesn't consider it cheating. His opinion ,"why reinvent the wheel". As long as I don't copy it word for word (which in all cases so far I can't because we are limited to the classes we can use)

    Anyway, using this approach, I have had my labs done 4 and 5 days ahead of time, which left me plenty of time to tweak and refine.

    Good luck with your homework.

Posting Permissions

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