Question: Question (15 marks) As shown Figure 3, two lines are intersecting each other, where straight line is y=x-2 and straight line 2 passes through the

 Question (15 marks) As shown Figure 3, two lines are intersecting

Question (15 marks) As shown Figure 3, two lines are intersecting each other, where straight line is y=x-2 and straight line 2 passes through the point (0.2) and (1.0). 10,2) (1,0) Figure 3 a) Find the equation for L in the form y=mx+c The intersection point can be calculated by using linear matrix equations. Write linear matrix equations in the form of AX=B (3 marks) b) Write MATLAB code to find the coordinates of the intersection of the lines. (6 marks) c) Plot a graph of both lines and intersection point in MATLAB. The graph should have a title and all labels as shown in Figure 4. Intersection of two ines --LI L2 2 Intersection Point) . O Figure 4 Question (15 marks) As shown Figure 3, two lines are intersecting each other, where straight line is y=x-2 and straight line 2 passes through the point (0.2) and (1.0). 10,2) (1,0) Figure 3 a) Find the equation for L in the form y=mx+c The intersection point can be calculated by using linear matrix equations. Write linear matrix equations in the form of AX=B (3 marks) b) Write MATLAB code to find the coordinates of the intersection of the lines. (6 marks) c) Plot a graph of both lines and intersection point in MATLAB. The graph should have a title and all labels as shown in Figure 4. Intersection of two ines --LI L2 2 Intersection Point) . O Figure 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!