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
-
1:40:36
The Quartering
4 hours agoKimmel Pulls Show Mysteriously, Youtube Collapse? & Much MOre
85.3K48 -
LIVE
cosmicvandenim
4 hours agoCOSMIC VAN DENIM | OFF CHARACTER | WARZONE PRACTICE
49 watching -
LIVE
The Robert Scott Bell Show
4 hours agoMike Adams, Brian Hooker, Live From Brighteon Studios in Austin Texas, Kids Triple Vaccinated, Blood Sugar and Autism, Candy Fed to Cows, Nutrition Reform - The RSB Show 11-7-25
207 watching -
LIVE
GritsGG
3 hours ago#1 Most Warzone Wins 3943+!
25 watching -
1:15:58
DeVory Darkins
4 hours agoLIVE NOW: Democrats SABOTAGE GOP effort to reopen Government
99.9K52 -
1:21:21
Tucker Carlson
4 hours agoThe Global War on Christianity Just Got a Whole Lot Worse, and Ted Cruz Doesn’t Care
52.9K242 -
10:50
Dr. Nick Zyrowski
2 days agoDoctors Got It Wrong! This LOWERS CORTISOL In Minutes!
20K3 -
24:14
Verified Investing
2 days agoBiggest Trade As AI Bubble Begins To Burst, Bitcoin Flushes Through 100K And Gold Set To Fall
17.9K -
1:12:28
Sean Unpaved
4 hours agoAB's Dubai Drama: Extradited & Exposed + NFL Week 10 Locks & CFB Week 11 Upsets
26.4K -
2:06:08
The Culture War with Tim Pool
6 hours agoDemocrats Elect Man Who Wants To Kill Conservatives, Time For An Exorcism | The Culture War Podcast
129K109