Premium Only Content
![Evaluating a double integral and demonstrating Fubini's Theorem with MATLAB](https://1a-1791.com/video/s8/1/S/v/n/G/SvnGe.qR4e-small-Evaluating-a-double-integra.jpg)
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:28:04
Russell Brand
5 hours agoBREAKING: UK Troops To Ukraine | Zelensky Wants “Army Of Europe” | JD Vance SLAMS EU Tyranny – SF538
131K45 -
1:46:20
Benny Johnson
6 hours agoPANIC: Feds FLEE DC After Mass PURGE, Fired USAID Activists EXPOSED | Trump DOMINATES Daytona 500
128K138 -
1:58:43
The Charlie Kirk Show
5 hours agoCBS Steps In It + Hockey Brawl + Judicial Standoff | Yoo, Schlapp, BigTree | 2.17.2025
129K41 -
1:01:26
The Dan Bongino Show
8 hours agoTrump Is Cancelling DEI And Cancel Culture (Ep. 2424) - 02/17/2025
850K1.66K -
1:06:12
Timcast
7 hours agoDemocrat Swamp IMPLODES, CBS Runs DAMAGE Control For Democrats, Gets ROASTED By Elon | Timcast LIVE
165K177 -
2:00:58
RealAmericasVoice
13 hours agoWAR ROOM WITH STEVE BANNON AM EDITION
136K22 -
2:59:47
Wendy Bell Radio
12 hours agoAmerica Drops The Gloves
125K66 -
1:22:27
Steven Crowder
7 hours agoGeorge Washington, Our First President | 3 in 3 Special
341K248 -
1:03:57
Kyle Fortch
8 hours ago $1.69 earnedDJ Chill: DJing For Jelly Roll, SOLD OUT Tour, Performing at Hometown Arena | THE ONE SHEET S1E4
57.6K3 -
4:05:26
The Pete Santilli Show
19 hours agoThe Deep State Spied On Trump & Sabotaged 2020 Operation To Oust Maduro [EP 4440-8AM]
75.9K3