필터 지우기
필터 지우기

System of linear equations

조회 수: 1 (최근 30일)
Shimanto Sarker
Shimanto Sarker 2021년 11월 27일
답변: Abdelrhman Abdelfatah 2021년 11월 27일
Draw the plot of the following equations in same graph,
System of linear equations with one solution (x+3y = 5, 2x-y = 17)
  댓글 수: 1
Abdelrhman Abdelfatah
Abdelrhman Abdelfatah 2021년 11월 27일
Here you go,
syms x y
y1=(1/3)*(5-x);
y2= 2*x-17
figure
fplot (y1,[0,50],'r')
title('System of Linear Equations')
xlabel('X value')
ylabel ('Y value')
grid on
hold on
fplot(y2,[0,50],'b')
hold off
legend ('Y1','Y2')
And here is the output graph

댓글을 달려면 로그인하십시오.

채택된 답변

Abdelrhman Abdelfatah
Abdelrhman Abdelfatah 2021년 11월 27일
Check if this is what u wanted
syms x y
y1=(1/3)*(5-x);
y2= 2*x-17
figure
fplot (y1,[0,50],'r')
title('System of Linear Equations')
xlabel('X value')
ylabel ('Y value')
grid on
hold on
fplot(y2,[0,50],'b')
hold off
legend ('Y1','Y2')
And this is the output graph

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by