How do I do this?

2 views (last 30 days)
JIANGWEN DONG
JIANGWEN DONG on 9 Feb 2021
Commented: the cyclist on 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 Comment
jessupj
jessupj on 9 Feb 2021
you need to first identify whether you want to solve this numerically or symbolicallly

Sign in to comment.

Accepted Answer

the cyclist
the cyclist on 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 Comments
JIANGWEN DONG
JIANGWEN DONG on 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 on 9 Feb 2021
You could use the mesh or surf functions to plot the 3-d surface.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!