Problem 9.3-1.1x1+10x2=120 -2x1+17.4x2=174 (a) Solve it graphically. To solve graphically we express x2 in terms of x1 for both equations, plot the two lines and see where they intersect. [email protected](x1) (120+1.1*x1)/10 x2 = @(x1) (120+1.1*x1)/10 And for the second equation >> [email protected](x1) (174+2*x1)/17.4 x2a = @(x1) (174+2*x1)/17.4 In order to look for a graphical solution, we need to select a range to plot the functions. If we solved the problem only for x1 we would get values of the order of 100, and if we solved only for x2 we would get values of the order of 10. So we could try (0,200) for x1 >> fplot (x2,[0,200]); hold on >> fplot (x2a,[0,200])
This preview has intentionally blurred sections.
Sign up to view the full version.