How do I do this?

5 次查看(过去 30 天)
JIANGWEN DONG
JIANGWEN DONG 2021-2-9
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 个评论
jessupj
jessupj 2021-2-9
you need to first identify whether you want to solve this numerically or symbolicallly

请先登录,再进行评论。

采纳的回答

the cyclist
the cyclist 2021-2-9
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 个评论
JIANGWEN DONG
JIANGWEN DONG 2021-2-9
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 2021-2-9
You could use the mesh or surf functions to plot the 3-d surface.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by