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
A family in Florida heard about evaporative coolers as a way to cool their home without the expenses of a refrigerated air condi
I am Lyosha [343]

Their HVACR technician advises against it because of the residential energy costs from HVAC units.

hat is the cost energy?

Energy Cost is known to be a term that connote the cost of electricity and this is one that is often related to fuel oil, gasoline, heating oil, natural gas, as well as other kinds or source of energy linked to any operation.

Hence, Since family in Florida heard about evaporative coolers as a way to cool their home without the expenses of a refrigerated air conditioning system. Their HVACR technician advises against it because of the residential energy costs from HVAC units.

Learn more about energy costs from

brainly.com/question/9821162

#SPJ1

7 0
2 years ago
Freeeee pointssssssssssss
Annette [7]

Answer:thx

Explanation:

5 0
3 years ago
Read 2 more answers
thier only motto and goal is to work for society and not make any profits A.small business entreprenuership B.scalable start up
sweet-ann [11.9K]

Answer:

social entrepreneurship

8 0
3 years ago
Read 2 more answers
When a man returns to his well-sealed house on a summer day, he finds that the house is at 35°C. He turns on the air conditioner
ipn [44]

Answer:

\dot W = 1.667\, kW

Explanation:

A well-sealed house means that there is no mass interaction between air indoors and outdoors. Hence, cooling process is isochoric. The heat removed by the air conditioner is:

\dot Q_{L} = \frac{m_{air}}{\Delta t} \cdot c_{v, air} \cdot (T_{o}-T_{f})\\\dot Q_{L} = \frac{800\, kg}{(30\, min)\cdot (\frac{60\, s}{1 \, min} )}\cdot (0.7 \frac{kJ}{kg \cdot K}) \cdot (15\, K)\\\dot Q_{L} = 4.667\, kW

The power drawn by the air conditioner is:

\dot W = \frac{\dot Q_{L}}{COP_{R}} \\\dot W = \frac {4.667\, kW}{2.8}\\\dot W = 1.667\, kW

3 0
3 years ago
Add the following vector given in rectangular form and illustrated the process graphically A = 16+j12, B= 6+j10.4
MariettaO [177]

Answer:

A=16+j12…'B=6+j10.4

Explanation:

add the following vector given in

3 0
2 years ago
Other questions:
  • A 3-kg block rests on top of a 2-kg block supported by, but not attached to, a spring of constant 40 N/m. The upper block is sud
    14·2 answers
  • Coefficients of friction always involve how many materials? a. 0 b. 1 c. 2 d. 3
    15·1 answer
  • A transmitter on the moon emits sound and light waves to a receiver on Earth. The light waves are picked up by the receiver but
    10·1 answer
  • Steam enters a turbine operating at steady state with a mass flow of 10 kg/s, a specific enthalpy of 3100 kJ/kg, and a velocity
    6·1 answer
  • (a) Design a lag compensation to meet the following specifications: The step response settling time is to be less than 5 sec, th
    10·1 answer
  • A driver is traveling at a speed of 72 km/h in car A when he looks down to text a friend that he is running late. Just before he
    15·1 answer
  • How are hybrid and gasoline cars alike
    6·1 answer
  • I really need help on this!
    6·2 answers
  • What are the numbers for the coil connection of the LB2 relay?
    9·1 answer
  • Internal service quality means that an entire organization,
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!