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.

Elementary Geometry For College Students, 7e
7th Edition
ISBN:9781337614085
Author:Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:Alexander, Daniel C.; Koeberlein, Geralyn M.
Chapter10: Analytic Geometry
Section10.1: The Rectangular Coordinate System
Problem 41E: Find the exact lateral area of each solid in Exercise 40. Find the exact volume of the solid formed...
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
Elementary Geometry For College Students, 7e
Elementary Geometry For College Students, 7e
Geometry
ISBN:
9781337614085
Author:
Alexander, Daniel C.; Koeberlein, Geralyn M.
Publisher:
Cengage,
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning