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
Total Horse Channel
15 hours agoAMHA World Show 2025 9/21
1,556 watching -
1:29:02
Game On!
1 day ago $6.26 earnedTHEY'RE BACK! NFL Wise Guys Return For Week 3 BEST BETS!
26.3K2 -
6:16
China Uncensored
1 hour agoHow Trump Plans on Stopping Russia and China—Without Firing a Shot!
3.7K3 -
33:13
Ohio State Football and Recruiting at Buckeye Huddle
13 hours agoOhio State Football: 10 Things We Learned Watching Washington's Win over Colorado State
2.25K -
1:14:04
NAG Entertainment
13 hours agoKickback w/ Leon - Rocket League: Road to GC
8.59K -
30:13
Degenerate Plays
1 hour agoBritish Insults Are Hilarious - Call of Duty: Modern Warfare 2 (2009) : Part 2
3.94K1 -
6:42
NAG Daily
17 hours agoCharlie Kirk: His Words. His Vision. His Movement.
29.6K25 -
21:42
Jasmin Laine
19 hours ago“Kimmel Isn’t a Victim, Charlie Kirk Was”—Gutfeld OBLITERATES Liberal Media Over FAKE Outrage
30.3K26 -
33:59
ComedyDynamics
23 days agoBest of Jim Breuer: Let's Clear the Air
77.2K20 -
2:11:03
Badlands Media
1 day agoDevolution Power Hour Ep. 391: First Principles, Psyops, and Hybrid Warfare
128K152