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]
4 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]4 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
Name the variable in this experiment
taurus [48]
You have to show the story or experiment so we know
7 0
3 years ago
How does refrigeration preserve food and dead bodies​
algol [13]

Answer:

The Purpose of Refrigeration. The fundamental reason for having a refrigerator is to keep food cold. Cold temperatures help food stay fresh longer. The basic idea behind refrigeration is to slow down the activity of bacteria (which all food contains) so that it takes longer for the bacteria to spoil the food.

Explanation:

8 0
3 years ago
Read 2 more answers
9. To forward bias an NPN transistor, the
murzikaleks [220]

Answer:

a. the base must be more positive than the emitter

Explanation:

A transistor can be defined as a semiconductor component that is used to control the flow of voltage or current and as a gate (switch) for electronic signals. Thus, a transistor allows for the amplification, control and generation of electronic signals in a circuit. The three (3) basic parts of a transistor are; base, emitter and collector.

Basically, there are two (2) main types of transistor and these are;

1. PNP transistor.

2. NPN transistor.

Biasing of a transistor can be defined as the process of providing the controlled amount of direct current (DC) voltage or current conditions so as to enable the transistor amplify the alternating current (AC) input signal correctly.

Hence, to forward bias an NPN transistor, the base must be more positive than the emitter because the majority carriers are electrons which are moved from the n-type region to the p-type region while the minority carriers are holes.

This ultimately implies that, for an NPN transistor to conduct current in milliamps, its base-emitter junction must be forward biased.

4 0
3 years ago
What part of the plane makes it go up and down
Sunny_sXe [5.5K]
Elevators makes it go up and down
4 0
3 years ago
Read 2 more answers
Light acoustical panels in fire rated assemblies generally:
umka2103 [35]

Answer:

a. Compromise the fire rating by one hour.

Explanation:

One hour fire rating is given to materials that can resist the fire exposure. The Acoustical panels controls reverberation and they are used for echo controls. The Fire rating is the passive fire protection which can resist standard fire. The test for fire rating also consider normal functioning of the material.

7 0
3 years ago
Other questions:
  • g A food department is kept at -12oC by a refrigerator in an environment at 30oC. The total heat gain to the food department is
    7·1 answer
  • As a construction manager, Alex found a major issue with the client's design demands. He found out that the building design was
    8·1 answer
  • Saul is testing an installation and discovers a short circuit. What's causing this?
    10·1 answer
  • Help pleasee I'm bad in this thing:(
    8·1 answer
  • PLEEEAASSSSEEEE HELP ME!!
    13·1 answer
  • PLEASE HELP
    12·2 answers
  • En que consiste la ley del emprendimiento ?
    13·1 answer
  • The _____________ is your car’s electrical charger. It’s various parts are contained in an aluminum housing and generate direct
    7·1 answer
  • How do I find v0 using Kirchhoff's laws and Ohm's law? The answer is 25V but I'm confused about how to get that.
    11·1 answer
  • In alternating current, how often does the current alternate between negative and positive?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!