gnosticgnowledge
asked on
Fortran problem: Need help. --- Anyone speak this dead language?
Hi, I know this is a C forum, however I have a Fortran question. I guess this is the closest I will get to this ancient language. I am trying to help out a kid who has this assignment. The teacher is making him write it in fortran. Could anyone give us any help with it? The old language I have worked with is C. Thanks
PROBLEM: Solution of simultaneous linear equations using matrices and Cramer’s rule.
GIVEN: Several pairs of linear equations of the form Ax + By = E, and Cx + Dy = F. The coefficients A, B, C, D, and F may have up to five digits including two decimal places.
REQUIRED: A flowchart for FORTRAN program to arrive at the different possible solutions for the pairs of linear equations.
A printout of the .LST file for your program showing no errors.
A printout of the solution to each pair of equations. The solutions for your printout will be for the following coefficients:
A B C D E F
1.0 3.0 -2.0 4.0 2.0 5.0
2.0 4.0 3.0 6.0 1.0 4.0
-2.0 3.0 1.0 8.0 0.0 0.0
2.0 4.0 3.0 6.0 1.0 1.5
-3.0 2.0 1.0 2.0 -2.0 6.0
3.2 6.7 5.4 1.8 0.9 3.2
Your program should include sufficient alphanumeric information to identify the different possible solutions for simultaneous linear equations.
PROBLEM: Solution of simultaneous linear equations using matrices and Cramer’s rule.
GIVEN: Several pairs of linear equations of the form Ax + By = E, and Cx + Dy = F. The coefficients A, B, C, D, and F may have up to five digits including two decimal places.
REQUIRED: A flowchart for FORTRAN program to arrive at the different possible solutions for the pairs of linear equations.
A printout of the .LST file for your program showing no errors.
A printout of the solution to each pair of equations. The solutions for your printout will be for the following coefficients:
A B C D E F
1.0 3.0 -2.0 4.0 2.0 5.0
2.0 4.0 3.0 6.0 1.0 4.0
-2.0 3.0 1.0 8.0 0.0 0.0
2.0 4.0 3.0 6.0 1.0 1.5
-3.0 2.0 1.0 2.0 -2.0 6.0
3.2 6.7 5.4 1.8 0.9 3.2
Your program should include sufficient alphanumeric information to identify the different possible solutions for simultaneous linear equations.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Don't know about Aramaic but people in India learn Sanskrit like people in the West learn Latin.
A bit more about Cramer's Rule. That is good for solving one unknown in a system instead of solving all the unknowns as in LU decomposition. It is given a lot of bad press because of inefficiency. It is only inefficient if you want to solve the whole system.
A bit more about Cramer's Rule. That is good for solving one unknown in a system instead of solving all the unknowns as in LU decomposition. It is given a lot of bad press because of inefficiency. It is only inefficient if you want to solve the whole system.
ASKER
Thanks for your help. The kid dropped the course anyway.
ASKER