1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
OLEGan [10]
3 years ago
8

Plot the following trig functions using subplots, choosing an appropriate layout for the number of functions displayed. The subp

lots should include a title which is the equation displayed. The independent variable (angle) should vary from 0 to 360 degrees and the plots should use a solid red line.

Engineering
1 answer:
Maksim231197 [3]3 years ago
3 0

The question is incomplete! The complete question along with Matlab code and explanation is provided below.

Question

Plot the following trig functions using subplots, choosing an appropriate layout for the number of functions displayed. The subplots should include a title which is the equation displayed. The independent variable (angle) should vary from 0 to 360 degrees and the plots should use a solid red line.

1. cos(u - 45)

2. 3cos(2u) - 2

3. sin(3u)

4. -2cos(u)

Matlab Code with Explanation:

u=[0:0.01:2*pi] % independent variable represents 0 to 360 degrees in steps of 0.01

y1=cos(2*pi*u-45); % function 1

y2=3*cos(2*pi*2*u)-2;  % function 2

y3=sin(2*pi*3*u);  % function 3

y4=-2*cos(2*pi*u);  % function 4

subplot(4,1,1) % 4 rows, 1 column and at position 1

plot(u,y1,'r');  % this function plots y w.r.t u and 'r' is for red color

grid on   % turns on grids

xlabel('u') % label of x-axis

ylabel('y1')  % label of x-axis

title('y1=cos(2*pi*u-45)') % title of the plot

ylim([-3 3]) % limits of y-axis

xlim([0 2*pi]) % limits of x-axis

% repeat the same procedure for the remaining 3 functions

subplot(4,1,2)

plot(u,y2,'r');  

grid on  

xlabel('u')  

ylabel('y2')  

title('y2=3*cos(2*pi*2*u)-2')  

ylim([-6 3])

xlim([0 2*pi])

subplot(4,1,3)  

plot(u,y3,'r');

grid on  

xlabel('u')  

ylabel('y3')  

title('y3=sin(2*pi*3*u)')  

ylim([-3 3])  

xlim([0 2*pi])

subplot(4,1,4)  

plot(u,y4,'r');  

grid on  

xlabel('u')

ylabel('y4')  

title('y4=-2*cos(2*pi*u)')  

ylim([-3 3])

xlim([0 2*pi])

Output Results:

The first plot shows a cosine wave with a phase shift of 45°

The second plot shows that the amplitude of the cosine wave is increased and the wave is shifted below zero level into the negative y-axis because of -2 also there is a increase in frequency since it is multiplied by 2.

The third plot shows that the frequency of the sine wave is increased since it is multiplied by 3.

The fourth plot shows a cosine wave which is multiplied by -2 and starts from the negative y-axis.

You might be interested in
The air in a room has a pressure of 1 atm, a dry-bulb temperature of 24C, and a wet-bulb temperature of 17C. Using the psychrome
TEA [102]

Answer:

(a) Relative Humidity = 48%,

Specific humidity = 0.0095

(b) Enthalpy = 65 KJ/Kg of dry sir

Specific volume = 0.86 m^3/Kg of dry air

(c/d) 12.78 degree C

(e) Specific volume = 0.86 m^3/Kg of dry air

8 0
3 years ago
John, a team member, has completed e0 - agile for beginners he wants to contribute to tcs agile vision. he wants to find out wha
Jet001 [13]

Answer:

John should detail his Scrum Master.

Explanation:

The Team Lead or Scrum Master coordinates the tasks of individual team members and supports the progress of the team. The Scrum Master usually receives instructions from the Product Owner and then ensures that the tasks are performed accordingly.  She also coaches the Development Team and works with the Product Owner to carry out daily development activities.  She also drives the Scrum Values and Principles, ensuring that the team members understand and practice them.

7 0
3 years ago
ILL GIVE YOU BRAINLIEST PLEASE HELP PLEASE
Lesechka [4]

Answer:

try to pop it back in good luck im scared for you

4 0
3 years ago
Which goal incorporates most of the criteria required for a SMART goal?
STatiana [176]

Answer:

e

Explanation:

8 0
3 years ago
Given resistance 30ohms Inductance 200mH is connected to a 230v,50hZ supply. Impedance 69.6ohms Calculate current consumed?
Kisachek [45]

Answer:

the current consumed is 3.3 A

Explanation:

Given;

resistance, R = 30 ohms

inductance, L = 200 mH

Voltage supply, V = 230 V

frequency of the coil, f = 50 Hz

impedance, Z = 69.6 Ohms

The current consumed is calculated as;

I = \frac{V}{Z} \\\\I = \frac{230}{69.6} \\\\I = 3.3 \ A

Therefore, the current consumed is 3.3 A

4 0
3 years ago
Other questions:
  • The 30-kg gear is subjected to a force of P=(20t)N where t is in seconds. Determine the angular velocity of the gear at t=4s sta
    9·1 answer
  • What kind or kinds of engineers does take to design a drone and why?
    11·1 answer
  • Is it possible to interface an IC with a different technology such as TTL to HCS12 ports? What are the conditions in terms of el
    10·1 answer
  • 6. Driving with parking lights only (in place of headlights) is against the law. A. True B. False
    15·2 answers
  • For the system form of the basic laws, the momentum of a system can change as a result of: a. pressure acting on the system. b.
    14·2 answers
  • A rectangular open channel is 20 ft wide and has a bed slope of 0.007. Manning's roughness coefficient n is 0.03. It is in unifo
    10·1 answer
  • Describe the algorithm you use for looking up a person’s telephone number in the phone book. The input is person’s name; the out
    9·2 answers
  • URGENT PLEASE HELP!!!
    11·1 answer
  • Why do you think there are so many different kinds of can openers?
    10·1 answer
  • Where would the impossible amount of product 1 and 2 points intersect on the production possibility curve
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!