Page 1 of 1

LAB #6 In this lab, we want to check our understanding with MATLAB to solve a system of linear equations. The below prob

Posted: Sat Feb 26, 2022 10:57 am
by answerhappygod
Lab 6 In This Lab We Want To Check Our Understanding With Matlab To Solve A System Of Linear Equations The Below Prob 1
Lab 6 In This Lab We Want To Check Our Understanding With Matlab To Solve A System Of Linear Equations The Below Prob 1 (40.58 KiB) Viewed 59 times
LAB #6 In this lab, we want to check our understanding with MATLAB to solve a system of linear equations. The below problem can be solved by hand, but it requires more time to do it. MATLAB will be able to solve it in a short period of time. Problem statement: Ahmed went to the supermarket to buy some fruits and vegetables. He bought 3 Apple, 4 Oranges, 15 bananas, 7 lemons and 12 onions, and he paid SR 87. The next day he went back and bought 4 lemons and 5 onions, and he paid SR 23. Then he went again and bought 7 apples, 1 orange and 2 onions, and he paid SR 14. Two days later, he bought 3 bananas, 2 lemon and 1 onion and paid SR 13. Then for the last time he paid SR 9 for 1 apple, 1 orange, 1 banana, 1 lemon and 1 onion Problem Requirement: Using MATLAB, we want to know the price of each type of fruit and vegetable. Fill out the below table: Apple Orange Banana Lemon Omen Price SR SR SR SR SR Hint: Construct a matrix A from the problem above, then input the matrix into MATLAB, then use it to solve, and fill out the above table.