Matlab
Matlab
6th Edition
ISBN: 9781119299257
Author: Amos Gilat
Publisher: WILEY CONS
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, 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!
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.
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman
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