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
Tundra Tactical
6 hours ago🛑LIVE NOW!! Dad Gamer Attempts To Dunk On Nerds
79 watching -
1:45:14
Redacted News
3 hours agoBREAKING: Jeffrey Epstein's Israeli Mossad Connections EXPOSED in New Documents - Cover-Up Deepens
114K70 -
1:14:16
vivafrei
5 hours agoKash Patel's Girlfriend Sues Elijah Schaeffer for $5 MIL Man Charged Over Portnoy Incident & MORE!
114K66 -
1:53:37
The Quartering
6 hours agoWar Declared On ICE In Chicago, Massive Allegations Against Leftist Streamer Hasan, 600,000 Chinese
134K42 -
2:04:04
DeVory Darkins
7 hours agoSchumer gets NIGHTMARE NEWS from Democrats
153K62 -
8:41
ARFCOM News
6 hours ago $2.69 earnedWill It Dremel? New V-Series Glock Pics Leaked! + ATF Alters The Deal
14.4K3 -
LIVE
LFA TV
21 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/11/25
982 watching -
1:42:29
freecastle
7 hours agoTAKE UP YOUR CROSS- For the Lord is a GOD of justice; BLESSED are all those who wait for him!
12K8 -
2:10:12
Side Scrollers Podcast
8 hours agoMAJOR Hasan Allegations + Arc Raiders Review CONTROVERSY + Craig TRENDS on X + More | Side Scrollers
55K7 -
5:43
Buddy Brown
7 hours ago $6.91 earnedThere's a List of WEF's "Post Trump" Predictions GOING VIRAL! | Buddy Brown
39.9K19