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
The details of the clock sales at a supermarket for the past 6 weeks are shown in the table below. The time series appears to be relatively​ stable, without​ trend, seasonal, or cyclical effects. The simple moving average value of k is set at 2. Calculate the value of the simple moving average mean absolute percentage error. Round to two decimal places.   Week Units sold 1 88 2 44 3 54 4 65 5 72 6 85   Part 1 A. 14.39   B. 25.56   C. 23.45   D. 20.90
The accompanying data shows the fossil fuels​ production, fossil fuels​ consumption, and total energy consumption in quadrillions of BTUs of a certain region for the years 1986 to 2015. Complete parts a and b. Year    Fossil Fuels Production    Fossil Fuels Consumption    Total Energy Consumption1949    28.748    29.002    31.9821950    32.563    31.632    34.6161951    35.792    34.008    36.9741952    34.977    33.800    36.7481953    35.349    34.826    37.6641954    33.764    33.877    36.6391955    37.364    37.410    40.2081956    39.771    38.888    41.7541957    40.133    38.926    41.7871958    37.216    38.717    41.6451959    39.045    40.550    43.4661960    39.869    42.137    45.0861961    40.307    42.758    45.7381962    41.732    44.681    47.8261963    44.037    46.509    49.6441964    45.789    48.543    51.8151965    47.235    50.577    54.0151966    50.035    53.514    57.0141967    52.597    55.127    58.9051968    54.306    58.502    62.4151969    56.286…
The accompanying data shows the fossil fuels​ production, fossil fuels​ consumption, and total energy consumption in quadrillions of BTUs of a certain region for the years 1986 to 2015. Complete parts a and b. Year    Fossil Fuels Production    Fossil Fuels Consumption    Total Energy Consumption1949    28.748    29.002    31.9821950    32.563    31.632    34.6161951    35.792    34.008    36.9741952    34.977    33.800    36.7481953    35.349    34.826    37.6641954    33.764    33.877    36.6391955    37.364    37.410    40.2081956    39.771    38.888    41.7541957    40.133    38.926    41.7871958    37.216    38.717    41.6451959    39.045    40.550    43.4661960    39.869    42.137    45.0861961    40.307    42.758    45.7381962    41.732    44.681    47.8261963    44.037    46.509    49.6441964    45.789    48.543    51.8151965    47.235    50.577    54.0151966    50.035    53.514    57.0141967    52.597    55.127    58.9051968    54.306    58.502    62.4151969    56.286…
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
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