Premium Only Content

Evaluating a double integral and demonstrating Fubini's Theorem with MATLAB
In the last video we quickly go through the nuts and bolts of evaluating this algebraically, comparing it to what we had in CP3D, and here we'll evaluated the integral with MATLAB and use MATLAB to demonstrate Fubini's Theorem
First we define our x and y symbolic variables
syms x y
Then we define our function
f(x,y)=24-x^2-3*y^2;
And now we use the integrate command nested within another integrate command,
So our inner integral is wrt y between 0 and 2
And our outer integral is wrt x between 0 and 3
int(int(f,y,[0 2]),x,[0 3])
And there we have our answer of 23 confirmed
Finally, we can also compare this to our Reimann sum from CP3D
And if we go back to that and ratchet up our increments in the x and y directions we see that our Reimann sum gets pretty close to 102, further confirming our answer.
But one final question here, what if we switch around the order of integration, will that give us a different answer?
Well, I would encourage you to do just using the calculus steps above, but since hopefully you trust MATLAB now that we’ve confirmed our answer, let’s try it there..
And… we see this does in fact give us the same answer,
This illustrates ‘Fubini’s Theorem’
So we can freely switch our order of integration as long as we keep the bounds consistent and as long as those bounds are just numbers. In the next video, we’ll discuss what happens when those bounds are actually functions rather than numbers, but until then, take care
-
2:26:29
vivafrei
18 hours agoEp. 270: MASSIVE SCOTUS WINS! Big Beautiful Bill! New-Scum Sues! Diddy Watch! Big Apple Rot & MORE
140K115 -
8:38:54
a12cat34dog
12 hours agoTHE *NEW* KRATOS IS EPIC :: God of War (2018) :: FIRST-TIME PLAYING {18+}
38.7K3 -
3:12:50
EricJohnPizzaArtist
4 days agoAwesome Sauce PIZZA ART LIVE Ep. #52: GEYCK!
37.8K3 -
57:30
RiftTV/Slightly Offensive
8 hours agoTHIS is Where It ALL Went Wrong.. The Rise of NEOCONS | Rift Book Club | B1E2
59.2K31 -
5:13:57
Barry Cunningham
11 hours agoBREAKING NEWS: SENATE FINAL DEBATE AND DISCUSSION ON BIG BEAUTIFUL BILL
171K99 -
6:46:21
Tekavor
7 hours ago🔴LIVE | [NIGHTMARE] Assassin's Creed Shadows | PT 5
30.8K -
48:10
Aztekin59
6 hours ago🔵🔴best weapon?🔴🔵
22.2K2 -
1:17:14
Sarah Westall
13 hours agoPolitical Rhetoric, War and Open Borders Breeding Dangerous Extremist Cells w/ Carole Lieberman
117K48 -
1:12:18
Josh Pate's College Football Show
10 hours ago $0.88 earnedCFB’s Team To Beat | Recruiting May Be Back | Better OR Worse In 2025 | Truth About Brent Venables
26.7K -
43:38
Patriots With Grit
1 day agoPoverty to Prosecutor; The Food Stamp Warrior | John Deaton
19.3K1