How do I do this?

3 Ansichten (letzte 30 Tage)
JIANGWEN DONG
JIANGWEN DONG am 9 Feb. 2021
Kommentiert: the cyclist am 9 Feb. 2021
Integrate function 𝑓(𝑢, 𝑣) = 𝑣 − √𝑢 over the triangular region cut from the first quadrant of the uv-plane by the line u + v = 1. Plot the region of interest.
  1 Kommentar
jessupj
jessupj am 9 Feb. 2021
you need to first identify whether you want to solve this numerically or symbolicallly

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

the cyclist
the cyclist am 9 Feb. 2021
This seems like a homework problem, so here is a hint instead of an answer: Your problem is extremely close to the first example in the documentation for the integral2 function.
(Assuming, as @jessupj asks, that you are OK with a numerical solution.)
  2 Kommentare
JIANGWEN DONG
JIANGWEN DONG am 9 Feb. 2021
hi, I have already done the code, but how do I plot it out in the first quadrant?
figure(2);
f = @(u,v) v-sqrt(u);
vmax = @(u) 1-u;
q = integral2(f,0,1,0,vmax);
the cyclist
the cyclist am 9 Feb. 2021
You could use the mesh or surf functions to plot the 3-d surface.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by