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:33:25
Jeff Ahern
3 hours ago $4.24 earnedThe Saturday Show with Jeff Ahern
14.9K7 -
LIVE
Spartan
2 hours agoHalo 3 MCC Throwback Charity Tournament for Men's Mental Health | Kuhlect Mental Riqhts Spartan
62 watching -
LIVE
GrimmHollywood
3 hours ago🔴LIVE • GRIMM HOLLYWOOD • SGT WILKY'S WARZONE PALOOZA 2 •
90 watching -
20:36
It’s the Final Round
3 hours ago $4.83 earnedNBA Best Bets & Player Props | Full Analysis & Predictions, FREE Today (Saturday 11/9) November 9th
16.6K2 -
LIVE
The Real Tombliboos - Live Streaming
15 hours ago $1.62 earned🎮 Charity Stream for Extra Life 4 Kids! ❤ Supporting Texas Children’s Hospital ! 🙌
127 watching -
LIVE
Amarok_X
4 hours ago $0.18 earned🟢LIVE | BF6 REDSEC | OPERATION 100 FOLLOWERS | VETERAN GAMER
9 watching -
18:08
Professor Nez
5 hours ago⚠ Charlie Kirk WARNED America about Zohran Mamdani
15.6K71 -
LIVE
GritsGG
3 hours ago#1 Most Warzone Wins 3943+!
30 watching -
LIVE
FoeDubb
4 hours ago🏰KINGDOM MENU: 🎮💻SHORT SESH ON DECK VIBES ON DECK DILLY DILLY!!!
9 watching -
2:16:26
Megyn Kelly
1 day agoBen Shapiro Responds to Tucker Carlson, Plus Sydney Sweeney and Newsom, with Knowles and Klavan
96.2K238