Question

1. (44 points): Given the equations u, v, and w: create a function file that has u, v, and was outputs and for inputs b and t

in matlab please

0 0
Add a comment Improve this question Transcribed image text
Answer #1

%please ask 1 question at a time

%script

t=0:pi/500:pi;
b=10:1:30;
u=zeros(length(t),length(b));
v=zeros(length(t),length(b));
w=zeros(length(t),length(b));
for i=1:length(t)
for j=1:length(b)
[u(i,j),v(i,j),w(i,j)]=getUVW(b(j),t(i));
end
end
mesh(u,v,w)

%function

function [u,v,w]=getUVW(b,t)
u=sin(t)*cos(b*t);
v=sin(t)*sin(b*t);
w=cos(t);
end

%generated plot

0.5 об о 0.5 05 о -0.5 л

Add a comment
Know the answer?
Add Answer to:
in matlab please 1. (44 points): Given the equations u, v, and w: create a function...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 5. In class we saw that the function r(u, v) = (sin u, (2 + cos...

    5. In class we saw that the function r(u, v) = (sin u, (2 + cos u) cos v, (2 + cos u) sin v), 0<u<27, 050521 parametrizes a torus T, which is depicted below. (a) Calculate ||ru x rull. (b) Show that T is smooth. (c) Find the equation of the tangent plane to T at (0,). (d) Find the surface area of T (e) Earlier in the semester, we observed that a torus can be built out of...

  • 1. Who's that surface? Consider the function Flu, y) = (v cosu, v sin u, u),...

    1. Who's that surface? Consider the function Flu, y) = (v cosu, v sin u, u), 0 Su<27, -2 SU <2. The goal of this problem is to figure out what surface this function parametrizes! (a) Find a parametrization of the coordinate curve with u held constant as u = u. Plot a couple of these curves in 3D to see what they look like. (b) Find a parametrization of the coordinate curve with v held constant as v =...

  • (1 point) 5x2 — 5у, v %3D 4х + Зу, f(u, U) sin u cos v,u...

    (1 point) 5x2 — 5у, v %3D 4х + Зу, f(u, U) sin u cos v,u = Let z = = and put g(x, y) = (u(x, y), v(x, y). The derivative matrix D(f ° g)(x, y) (Leaving your answer in terms of u, v, x, y ) (1 point) Evaluate d r(g(t)) using the Chain Rule: r() %3D (ё. e*, -9), g(0) 3t 6 = rg() = dt g(u, v, w) and u(r, s), v(r, s), w(r, s). How...

  • In a certain region of the atmosphere, the pressure is given as a function of x,...

    In a certain region of the atmosphere, the pressure is given as a function of x, y and z Consider a fluid moving in this pressure field. The position of the fluid particle is a function of time and given by The symbols a, b, H, P and U represent constants. -Find the wind components u, v, and w ? -Find the total derivative dp dt according to x, y, z and t. ? ----- - Find Local acceleration ?...

  • 3. PARTIAL DIFFERENTIAL EQuATIONS (40 POINTS) Use the MATLAB function pdepe to solve the followin...

    3. PARTIAL DIFFERENTIAL EQuATIONS (40 POINTS) Use the MATLAB function pdepe to solve the following boundary value problem a(t, 0) = 0, a(t, 1)=0, u(0, z) =-x2 + x. The output of your file should be the plot of the solution ( 0,1). 3. PARTIAL DIFFERENTIAL EQuATIONS (40 POINTS) Use the MATLAB function pdepe to solve the following boundary value problem a(t, 0) = 0, a(t, 1)=0, u(0, z) =-x2 + x. The output of your file should be the...

  • 2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e 2. Ske...

    2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e 2. Sketch the function cos[w(t-v) overwz/u for value at-0, π/4,π/2,3%,π. (one diagram for cach ot) Esplain how this can be regarded as a propagating wae Repeat this procedure for cos co e

  • The transfer function relating Z(s) to the input U(s) is given below: It can be shown that the IL...

    The transfer function relating Z(s) to the input U(s) is given below: It can be shown that the ILT of Z (s) is of the form Z(t) Find C1, C2, r1 r2 r3 , and W Problem 1: (5Points) The transfer function relating Z(s) to the input U(s) is given below: St S It can be shown that the ILT of Z (s) is of the form rt Find C1, C2» T['T2'3' Problem 2: (20 Points) The DE for a...

  • Verify the following using MATLAB 2) (a) Consider the following function f(t)=e"" sinwt u (t (1)...

    Verify the following using MATLAB 2) (a) Consider the following function f(t)=e"" sinwt u (t (1) .... Write the formula for Laplace transform. L[f)]=F(6) F(6))e"d Where f(t is the function in time domain. F(s) is the function in frequency domain Apply Laplace transform to equation 1. Le sin cot u()]F(s) Consider, f() sin wtu(t). From the frequency shifting theorem, L(e"f()F(s+a) (2) Apply Laplace transform to f(t). F,(s)sin ot u (t)e" "dt Define the step function, u(t u(t)= 1 fort >0...

  • 2. Given the columns of the matrix u v w 0 1 2 0-1 0 0 r S t -1 021 01 0 For each of the sets of ...

    Please solve using matrices and not equations. Thanks. 2. Given the columns of the matrix u v w 0 1 2 0-1 0 0 r S t -1 021 01 0 For each of the sets of vectors given below, answer the following questions: (i) Is the set linearly independent? 1 Does the set span (iii Does the vector a- (a) S (r, s, t, u) (b) T fr,t, 0, u) (c) U = {r, t, w, u, v} (3,2,1,5)...

  • Q7 8 Points Let V, W, and U be three finite dimensional vector spaces over R...

    Q7 8 Points Let V, W, and U be three finite dimensional vector spaces over R and T:V + W and S : W + U be two linear transformations. Q71 4 Points Show that null(S o T) < null(T) + null(S) Please select file(s) Select file(s) Save Answer Q7.2 4 Points Show that rank(SoT) > rank(T) + rank(S) - dim(W) (Hint: Use part (1) at some point) Please select file(s) Select file(s) Save Answer

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT