Please help me code this
Show older comments

1 Comment
John D'Errico
on 11 Jul 2022
Stop posting your homework problems You have gotten two of them solved. Enough. Answers is not a homework solving service.
Accepted Answer
More Answers (1)
c = integral(@(x)integral(@(y)sqrt(x.^2+y.^2),0,sqrt(2*x-x.^2)),0,2,'ArrayValued',true)
syms x y
c = int(int(sqrt(x^2+y^2),y,0,sqrt(2*x-x^2)),x,0,2)
Categories
Find more on Acoustics, Noise and Vibration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!