EBK MATLAB: AN INTRODUCTION WITH APPLIC
EBK MATLAB: AN INTRODUCTION WITH APPLIC
5th Edition
ISBN: 8220102007642
Author: GILAT
Publisher: YUZU
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=[ (t15)100+1 ]sin(3t), y=[ (t15)100+1 ]cos(0.8t) and z=0.4t32 for 0t30s.

Expert Solution & Answer
Check Mark

Answer to Problem 1P

Solution:

The program is stated as follows.

Explanation of Solution

The given equation is,

x=[ (t15)100+1 ]sin(3t)

y=[ (t15)100+1 ]cos(0.8t)

z=0.4t32

The range of t is 0t30s.

Write the MATLAB code to plot the position of a moving particle as a function of time from the equation, x=[ (t15)100+1 ]sin(3t), y=[ (t15)100+1 ]cos(0.8t) and z=0.4t32 for 0t30s.

MATLAB Code:

t = 0:0.1:30;

%Define the variable t.

x = [((t-15)./100)+1].*sin(3.*t);

%Define the variable x.

y = [((t-15)./100)+1].*cos(0.8.*t);

%Define the variable y.

z = 0.4.*t.^(3/2);

%Define the variable z.

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

grid on

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

Save the MATLAB script with the name, Chapter10_29864_10_1P.m in the current folder. Execute the script by typing the script name at the command window to get the code that plots the position of a moving particle as a function of time from the equation, x=[ (t15)100+1 ]sin(3t), y=[ (t15)100+1 ]cos(0.8t) and z=0.4t32 for 0t30s.

Result:

EBK MATLAB: AN INTRODUCTION WITH APPLIC, Chapter 10, Problem 1P

Conclusion:

Therefore, the program is stated 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
A modulating signal f(t) is bandlimited to 5 kHz is sampled at a rate of 15000 samples/sec. The samples are quantized into 128 levels. Calculate the transmission bandwidth if the following modulation types are used for signal transmission: 4- ASK 5- 8-PSK 6- FSK with Af = 25 kHz
Draw the Split-Phase Manchester code for the follow ng binary data: (1001010110)
11.54 For the network in Fig. 11.73, find the complex power absorbed by each element. 120/-20° V Figure 11.73 For Prob. 11.54. | + -1302 j5Q 4 Ω
Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering 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,
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY