like this pic

1 Kommentar

Thai Anh
Thai Anh am 1 Dez. 2022
Full quest :
Let D be a domain bounded by x + y = 1, x = √y, and y = 0.
Sketch the domain

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Stephan
Stephan am 1 Dez. 2022

0 Stimmen

x1 = 0:0.001:1;
y1 = x1.^2;
y2 = 1 - x1;
xcut = fzero(@(x)x.^2 - 1+x, 0.5);
x = [x1(x1<=xcut), x1(end)];
y = [x1(x1<=xcut).^2, 1-x1(end)];
P = polyshape(x,y);
plot(x1,y1,x1,y2,x,y)
hold on
plot(P)
hold off
xlim([0,1])
ylim([0,1])

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 1 Dez. 2022

Kommentiert:

am 1 Dez. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by