Evaluate the line integral (x-3y²) ds where C is the straight line segment from (0, 1, 1) to (3,-2,2), and assign the result to q3. . A piece of wire is in the shape of the circle x²+ y² = 1. The density at any point is given by f(x, y) = x² + y². Find the mass of the wire using a line integral and assign the result to q4.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question

Hey could I get some help with my MATLAB code for q4? The format should be correct, so i'm assuming I solved it wrong, but I'm not 100% sure. q3 is correct, but q4 isn't and I'm not sure why


 
syms t x y z;
rbar3 = [3*t,-3*t+1,t+1];
f_3 = x - (3 * y.^2);
q3=int(simplify(subs(f_3,[x,y,z],rbar3)*norm(diff(rbar3,t))),t,0,1)

 
rbar4 = [cos(t),sin(t),1];
f_4 = (x.^2) + (y.^4)
q4=int(simplify(subs(f_4,[x,y,z],rbar4)*norm(diff(rbar4,t))),t,0,1)

 
Evaluate the line integral (x-3y²) ds where C is the straight line segment from (0, 1, 1) to (3,-2,2), and assign the result to q3.
. A piece of wire is in the shape of the circle x²+ y² = 1. The density at any point is given by f(x, y) = x² + y². Find the mass of the wire using a line integral
and assign the result to q4.
Transcribed Image Text:Evaluate the line integral (x-3y²) ds where C is the straight line segment from (0, 1, 1) to (3,-2,2), and assign the result to q3. . A piece of wire is in the shape of the circle x²+ y² = 1. The density at any point is given by f(x, y) = x² + y². Find the mass of the wire using a line integral and assign the result to q4.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,