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.
-
14:33
Robbi On The Record
3 hours ago $1.97 earnedNPC Girls & The Digital Dehumanization of Women
29.6K7 -
53:25
Simply Bitcoin
1 day ago $0.64 earnedThe Bitcoin Crucible w/ Alex Stanczyk & Tomer Strolight - Episode 13
28.4K1 -
59:21
The Rubin Report
3 hours agoIs This the Real Reason Bongino Is Leaving the FBI?
47K58 -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | THURSDAY 12/18/25
2,601 watching -
LIVE
The Mel K Show
2 hours agoMORNINGS WITH MEL K- America is Mad As Hell And We’re Not Going to Take it Anymore! - 12-18-25
905 watching -
LIVE
The Shannon Joy Show
3 hours ago🔥SJ LIVE Dec 18 - Exclusive With Peter Schiff On Trumpflation, The Affordability Crisis, AI Bubbles & Bitcoin Collapse. Will Metals Become The Global Hedge Against Financial Chaos?🔥
171 watching -
45:19
Grant Stinchfield
2 hours agoKeystone Cops of the Ivy League... It Gets Worse Every Day as Brown Suspect Still on the Run!
6.5K10 -
1:02:26
VINCE
4 hours agoIt's Official: Dan Bongino To Leave FBI | Episode 191 - 12/18/25 VINCE
247K293 -
1:04:17
Chad Prather
3 hours agoTrump FOOLS Fake News, Touts Accomplishments + Trans Surgeries For Minors BANNED & BONGINO IS BACK!
41.8K14 -
2:04:25
Benny Johnson
3 hours ago🚨Trump BREAKS Internet With Primetime Address, TROLLS Media Into Covering His WINS | 2025 IN REVIEW
65.6K51