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:56:43
Steven Crowder
5 hours agoLWC Christmas Special 2025 | Giving Back with Santa Crowder
241K92 -
14:33
Robbi On The Record
3 hours ago $1.97 earnedNPC Girls & The Digital Dehumanization of Women
29.6K7 -
53:25
Simply Bitcoin
1 day ago $0.64 earnedThe Bitcoin Crucible w/ Alex Stanczyk & Tomer Strolight - Episode 13
28.4K1 -
59:21
The Rubin Report
3 hours agoIs This the Real Reason Bongino Is Leaving the FBI?
47K58 -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | THURSDAY 12/18/25
2,605 watching -
LIVE
The Mel K Show
2 hours agoMORNINGS WITH MEL K- America is Mad As Hell And We’re Not Going to Take it Anymore! - 12-18-25
899 watching -
LIVE
The Shannon Joy Show
3 hours ago🔥SJ LIVE Dec 18 - Exclusive With Peter Schiff On Trumpflation, The Affordability Crisis, AI Bubbles & Bitcoin Collapse. Will Metals Become The Global Hedge Against Financial Chaos?🔥
167 watching -
45:19
Grant Stinchfield
2 hours agoKeystone Cops of the Ivy League... It Gets Worse Every Day as Brown Suspect Still on the Run!
6.5K10 -
1:02:26
VINCE
4 hours agoIt's Official: Dan Bongino To Leave FBI | Episode 191 - 12/18/25 VINCE
247K295 -
1:04:17
Chad Prather
3 hours agoTrump FOOLS Fake News, Touts Accomplishments + Trans Surgeries For Minors BANNED & BONGINO IS BACK!
41.8K14