Question: Problem B1 (50 points) equations of Develop function for the solution of two simultaneous lin equations (i.e. the a two straight lines), given as Your
Problem B1 (50 points) equations of Develop function for the solution of two simultaneous lin equations (i.e. the a two straight lines), given as Your program must be able to handle ALL possible cases, ie. lines that are intersecting, parallel or coincident and give corresponding resultsanswers. Ifa unique solution exists your program should CHECK it by plugging the solution into the given equations. Do NOTuse buil-in MATLAB operators for solving linear systems other than for validation. CARRY OUTAND DOCUMENT (in your Word/text file) the following PROGRAM DESIGN STEPS (as discussed in the lecture) and submit them with your solution: STEP 2. problem description, including applicable formulas (Hint: Begin by deriving an algebraic formula for the solution of the system.) STEP 3. Specify input/output arguments and program scope. STEP 4. Write a detailed structure plan implementing your algorithm that satisfies the program scope you specified. TEP 5. Write the function based on your structure plan. (turn over)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
