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
-
14:54
The Kevin Trudeau Show Limitless
3 days agoThe Hidden Force Running Your Life
94.7K19 -
2:16:35
DLDAfterDark
6 hours ago $3.67 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
18.5K9 -
19:58
TampaAerialMedia
18 hours ago $6.07 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
31.2K16 -
1:23
Memology 101
2 days ago $6.03 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
26.1K55 -
3:27:27
SavageJayGatsby
8 hours ago🔥🌶️ Spicy Saturday – BITE Edition! 🌶️🔥
54.4K5 -
26:09
Exploring With Nug
18 hours ago $12.13 earned13 Cold Cases in New Orleans What We Discovered Beneath the Surface!
51.5K20 -
27:39
MYLUNCHBREAK CHANNEL PAGE
12 hours agoDestroying Time.
134K40 -
3:27:19
Mally_Mouse
8 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Minecraft Christmas Adventure!!
133K9 -
2:14:31
Side Scrollers Podcast
13 hours agoSide Scrollers INVITE ONLY - Live From Dreamhack
159K14 -
1:18:23
Simply Bitcoin
2 days ago $14.52 earnedThe Bitcoin Crucible w/ Alex Stanczyk and Lawrence Lepard
38.9K6