Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

AME 205: Lab Einal Part B will adhere to the University Code of Academic Integri

ID: 3825735 • Letter: A

Question

AME 205: Lab Einal Part B will adhere to the University Code of Academic Integrity: I will only use the resources perminesl for this exam and I w not share its content with anyone outside my lab AT THE END OF YOUR LAB, DAD YOUR SOLU ON AS A WORD/PDF FILE TO CORRESPONDING DROP ON IN D2 Be sure to include your function files, script files, commands/inputs and results/output from the contaraad window, and plots (all grouped by problem and in order of assign saructure your work according to the problem statements and mark clearly if you skip any part aou will receive partial credit.) Follow good programming practices: comment your codes. Problem Bi (50 points) Develop a function for the solution of two simultaneous linear equations (i.e. the equations of two straight lines) given as Your program must be able to handle ALL possible cases, i e. lines that are intersecting, parallel, or coincident and give comesponding results answers. If a unique solution exists your program should CHECK it by plugging the solution into the given equations Do Moruse bwir in ALATLABoperators 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 the system.) STEP 3. Specifi input output arguments and program scope. STEP4. 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)

Explanation / Answer

CODE:

The below code is for 4th equation in the list.

Feed the equation as below.
>> A = [0.77 1;
1.2 1.7]

A =

0.7700 1.0000
1.2000 1.7000


>> b = [14.25;20]

b =

14.2500
20.0000

>> res = A

res =

38.7615
-15.5963

>>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote