Premium Only Content

How to find work done by 3D force field on object in motion
In this video I tackle a seemingly difficult math problem involving vector fields and space curves with a surprisingly easy method using a line integral.
Here’s the problem statement:
Compute the work done by the force field F ⃗(x,y,z)=(x+y) i ̂+(x-z) j ̂+(y+z) k ̂ on a mathematical bug walking along the helix parameterized by r ⃗(t)=〈sin(t),cos(t),2t〉 for 0≤t≤3π.
Ok if this seems rather involved well it is and this only becomes more clear if we take a look at this problem visually to get a handle on it, which you can pull up from the calcplot3d link below
You might imagine it’s rather hard problem to find the work done by this intricate force field on the bug over this convoluted path, but it’s actually pretty straightforward,
We can start off with the equation
And if we parameterize our x and y and z are functions of time, and our dr ⃗ translates into our velocity vector function, r ⃗ ‘(t)dt, and we’re integrating from time a to b.
Now this isn’t too bad, we already have our x, y and z defined above as part of r ⃗(t), and we’re given our a and b as our t range, so we actually have all we need at this point and can just plug into MATLAB
MATLAB
So in MATLAB first we’ll define our variables as usual
syms x y z t r F
then define the x,y and z values given with the provided definition of r ⃗(t)
x=sin(t)
y=cos(t)
z=2*t
then we can define our position function with these x,y and z values
r=[x,y,z]
And finally we can define the force field
F=[x+y,x-z,y+z]
And let’s go ahead and define our a and b limits for good measure
a=0
b=3*pi
Plugging this in we can find our work as the integral of the dot product of our force field F, with the derivative of our position function r wrt t, integrating wrt t for the limits t=a to t=b.
W=int(dot(F,diff(r,t)),t,[a,b])
That answers a bit ugly so we can convert to a decimal
double(ans)
and get ~196.5
And that’s it!
I finally take a look at the problem graphically again to make sure the work done by the force field on the bug is going to be positive, and that solves this seemingly difficult problem with some pretty quick mathematics and the help of MATLAB.
-
LIVE
The Nunn Report - w/ Dan Nunn
2 hours ago[Ep 611] DOGE On The March! | Guest Sam Anthony - [your]NEWS | Seditious Dems | Ukraine
367 watching -
1:00:56
The Tom Renz Show
8 hours agoThe War On DOGE Is ALSO A War On The Economy
4.95K5 -
1:30:16
Steve-O's Wild Ride! Podcast
5 days ago $0.84 earnedAri Shaffir Exposes The Dark Side of Podcasting - Wild Ride #252
11.3K1 -
1:56:29
The Quartering
6 hours agoAirplane FLIPS and CRASHES, Sean Duffy Slams Pete Buttigieg, & What Happened with Patriarchy Hannah
66.8K29 -
37:08
Standpoint with Gabe Groisman
23 hours agoDOGE The UK?! With Liz Truss
26.5K12 -
56:39
SLS - Street League Skateboarding
6 days agoHIGHEST SCORING KNOCKOUT ROUND OF ALL TIME! Felipe Gustavo, Dashawn Jordan, Filipe Mota & more...
21.7K1 -
14:26
Breaking Points
1 day agoWOKE VS BASED?: Saagar And Ryan Play A Game
24.2K6 -
5:29:58
SoundBoardLord
8 hours agoThe Red Dead Journey Continues!!!
23.1K1 -
1:17:31
The Officer Tatum
4 hours agoLIVE: Delta Airlines CRASH BLAMED On Trump, Ashley St. Claire Had Elon's BABY? + More | Ep 63
29.7K37 -
1:38:08
vivafrei
6 hours agoAOC goes Full Criminal Lover? Mehdi Hasan Goes Full Terrorist? Another Plane Crash & MORE! Viva Frei
71.8K36