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
-
LIVE
XDDX_HiTower
48 minutes agoGRAY ZONE DEVLOG FOR .3.5 UPDATE!!! [RGMT CONTENT Mgr. | RGMT GL | GZW CL]
55 watching -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/4/25
3,876 watching -
LIVE
The Shannon Joy Show
2 hours agoICE Brutality In Evanston, Illinois Sparks New Outrage * GOP Seeks New FISA Re-Authorization * Are Tucker Carlson & Nick Fuentes Feds?
250 watching -
LIVE
The Mel K Show
2 hours agoA Republic if You Can Keep It-Americans Must Choose 11-04-25
606 watching -
Grant Stinchfield
1 hour agoThe Mind Meltdown: Are COVID Shots Fueling America’s Cognitive Collapse?
3.26K -
1:00:46
VINCE
4 hours agoThe Proof Is In The Emails | Episode 161 - 11/04/25
146K139 -
2:12:22
Benny Johnson
3 hours ago🚨Trump Releases ALL Evidence Against James Comey in Nuclear Legal BOMBSHELL! It's DARK, US in SHOCK
77.7K27 -
2:04:05
Badlands Media
11 hours agoBadlands Daily: November 4, 2025
58.6K10 -
2:59:49
Wendy Bell Radio
8 hours agoBUSTED.
71.6K85 -
1:15:01
The Big Migâ„¢
4 hours agoDing Dong The Wicked Witch Pelosi Is Gone
12.3K6