Question

Let the curve C be parameterized by the vector: P(

Need the MATLab code. Thank you so much in advance for the help!

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

t=[0.2,0.1,0.05]; %1X3
> x=inline('1-cos(t)');
> y=inline('1+2*t+t.^2');
> P0=[0,0,0,1,1,1]; %1X6, first 3 for real, last 3 for imaginary
> Pt = [x(t), y(t)];
> t=[0.2,0.1,0.05, 0.2,0.1,0.05]; %1X6
> Sec = (Pt-P0)./t %1X6

Add a comment
Know the answer?
Add Answer to:
Need the MATLab code. Thank you so much in advance for the help! Let the curve...
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
  • Please code in MatLab or Octave Output should match Sample Output in Second Picture Thank you...

    Please code in MatLab or Octave Output should match Sample Output in Second Picture Thank you 5. In this problem we will investigate using the Secant Method to approximate a root of a function f(r). The Secant Method is an iterative approach that begins with initial guesses , and r2. Then, for n > 3, the Secant Method generates approximations of a root of f(z) as In-1-In-2 n=En-1-f (x,-1) f(Fn-1)-f(-2) any iteration, the absolute error in the approximation can be...

  • Let C be the curve parameterized by with 0 ≤ t ≤ 2π. a) Show that the curve C is contained in ...

    Let C be the curve parameterized by with 0 ≤ t ≤ 2π. a) Show that the curve C is contained in a plane and that it is a closed curve. You must explicitly give the equation of the plane that contains the curve. *( Reminder: the general equation of a plane is ax + by + cz = d.) b)Let P be the plane found in a). Calculate the area of ​​the part of P delimited by curve C...

  • PLEASE USE MATLAB this problem you are trying to find an approximation to the periodic function /(t) esint-1) over one period, o <t < 2π. In t-linspace(0,2*pi,200)' and let b be a column ve...

    PLEASE USE MATLAB this problem you are trying to find an approximation to the periodic function /(t) esint-1) over one period, o <t < 2π. In t-linspace(0,2*pi,200)' and let b be a column vector of evaluations of f at those points. (a) Find the coefficients of the least squares fit In MATLAB, let (b) Find the coefficients of the least squares fit f(t)ndy+d2 cos(t)+ d, sin(t)+d, cos(2t)+dy sin(2t). (c) Plot the original function f(t)and the two approximations from (a) and...

  • Need help with these MATLAB questions! Thank you in advance. If it's not too much to...

    Need help with these MATLAB questions! Thank you in advance. If it's not too much to ask please provide an explanation httpe/bb assessment take/launchjup?course assessment ida 91560 1&course id--105708 18coetent ida 213504 18 trpmnul Take Test BB3.1 due end of x Amazon.com Online Sh. search X Find queried points save Al QUESTIONS This time, you've used the 's flag as your input argument. Notice how the user enters the name How many characters have beenstored in the variable naTe? Answer...

  • Problem 2: (0.2 point) The position vector, infeet, of an object follows a space curve defined...

    Problem 2: (0.2 point) The position vector, infeet, of an object follows a space curve defined by: r =e i[sin(t)+cos(t)j+cos(2t)k where t is time in seconds. Find the arc length of this space curve between 0 and 2 seconds 0.5- Be sure to clearly show the arc length integral Then use the trapezoidal rule with n 40 to approximate the arc length. Give your answer out to 3 decimal places. 0- You may use the tool of your choice to...

  • Matlab coding assistance. Having some difficulty please help! thank you so much in advance! %% Task...

    Matlab coding assistance. Having some difficulty please help! thank you so much in advance! %% Task 9 % use logical tests to locate and update subsets of a matrix % Step 1: Create vec, a row vector of 5 random integers on the closed interval [-10,10]. % Step 2: Use a logical mask to count the number of positive values (code provided is already sufficient) mask = vec > 0 count = sum(mask) % Step 3: Use the find function...

  • QUIZ 2.3 EXAMPLE 2.25 Please help me build the MATLAB code Use MATLAB to build a...

    QUIZ 2.3 EXAMPLE 2.25 Please help me build the MATLAB code Use MATLAB to build a simulation of Quiz 2.3. Simulate the transmission of 10000 packets, each containing 100 bits. Count the number of packets that contain no error, one, two, three- bit errors, calculate their probabilities. Also calculate the probability of a packet is decoded correctly. Compare your numbers from MATLAB with your theoretical calculation. (Hint: look at Example 2.25.) Data packets containing 100 bits are transmitted over a...

  • Need help using Matlab to solve differential equations, will rate! Thank You! a) The code used...

    Need help using Matlab to solve differential equations, will rate! Thank You! a) The code used to solve each problem b) The output form c) Use EZPLOT (where possible) to graph the result Use Matlab symbolic capabilities to solve the following Differential Equations: yy +36x = 0 3. ytky = e2kakis a constant y" +(x +1)y = ex'y' ;y(0) = 0.5 4 4y-20y'+25y = 0 xy-7x/+16y=0 xy-2xy'+2y=x' cos(x) yy =292 y-4y'+4y = (x + 1)e 2x

  • MATLAB question I need the code exactly as you would write it in MATLAB. thank you...

    MATLAB question I need the code exactly as you would write it in MATLAB. thank you 1. Consider a Gaussian solution of the traveling-wave form ψ(z,t)-exp(-a(z-vt)2). The parameter values are a 1, 2. (a) Explain the physical meaning of these parameters (eg. what would happen if we took a = 10 instead?) Determine the direction of propagation of this solution: Is it traweling to the left or to the right? (2pts) (b) Write a Matlab code to plot the Gaussian...

  • Please help with the following matlab code and please show all work. Thank you! Viscous losses in a pipe are expressed...

    Please help with the following matlab code and please show all work. Thank you! Viscous losses in a pipe are expressed in terms of a friction factor, f. It is important to know the frictional forces in pipe flow because they result in pressure loss which must be accounted for in the piping system. For turbulent low in pipes, the friction factor is caleulated using the Colebrook e/D 2.51 where e is the roughness height, D is the pipe diameter...

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