MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
bartleby

Concept explainers

bartleby

Videos

Question
Book Icon
Chapter 10, Problem 1P
To determine

To plot:

The position of a moving particle as a function of time from the equation,

    x=0.01(30t)2sin(2t) ,

    y=0.01(30t)2cos(2t) ,

    and z=0.5t1.5 for 0t20s .

Expert Solution & Answer
Check Mark

Answer to Problem 1P

Solution:

The program is stated as follows.

Explanation of Solution

The given equation is,

    x=0.01(30t)2sin(2t)

    y=0.01(30t)2cos(2t)

    z=0.5t1.5

The range of t is 0t20s.

Write the MATLAB code to plot the position of a moving particle as a function of time from the equation,

x=0.01(30t)2sin(2t),

y=0.01(30t)2cos(2t),

and z=0.5t1.5 for 0t20s.

MATLAB Code:

t = 0:0.1:20;

r = 0.01.*(30-t).^2;

x = r.*sin(2.*t);

y = r.*cos(2.*t);

z = 0.5.*t.^(1.5);

plot3(x,y,z,'r','linewidth',2)

grid on

xlabel('x'); ylabel('y'); zlabel('z')

Save the MATLAB script with name, Chapter10_56830_10_1P.m in the current folder. Execute the script by typing the script name at the command window to get the code to plot the position of a moving particle as a function of time from the equation, x=0.01(30t)2sin(2t),

y=0.01(30t)2cos(2t),

and z=0.5t1.5 for 0t20s.

Result:

MATLAB: An Introduction with Applications, Chapter 10, Problem 1P

Conclusion:

Therefore, the required program is executed above.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
PSD A certain signal f(t) has the following PSD (assume 12 load): | Sƒ(w) = π[e¯\w\ + 8(w − 2) + +8(w + 2)] (a) What is the mean power in the bandwidth w≤ 1 rad/sec? (b) What is the mean power in the bandwidth 0.99 to 1.01 rad/sec? (c) What is the mean power in the bandwidth 1.99 to 2.01 rad/sec? (d) What is the total mean power in (t)? Pav= + 2T SfLw) dw - SALW)
An AM modulation waveform signal:- p(t)=(8+4 cos 1000πt + 4 cos 2000πt) cos 10000nt (a) Sketch the amplitude spectrum of p(t). (b) Find total power, sideband power and power efficiency. (c) Find the average power containing of each sideband.
Can you rewrite the solution because it is unclear? AM (+) = 8(1+ 0.5 cos 1000kt +0.5 ros 2000ks) = cos 10000 πt. 8 cos wat + 4 cos wit + 4 cos Wat coswet. -Jet jooort J11000 t = 4 e jqooort jgoort +4e + e +e j 12000rt. 12000 kt + e +e jooxt igoo t te (w) = 8ES(W- 100007) + 8IS (W-10000) USB
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
What is a Function? Business Mathematics and Statistics; Author: Edmerls;https://www.youtube.com/watch?v=fcGNFyqRzuI;License: Standard YouTube License, CC-BY
FUNCTIONS CONCEPTS FOR CBSE/ISC/JEE/NDA/CET/BANKING/GRE/MBA/COMEDK; Author: Neha Agrawal Mathematically Inclined;https://www.youtube.com/watch?v=hhbYynJwBqk;License: Standard YouTube License, CC-BY