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 50 mm 45 mm 20 mm cell phone charger has a surface temperature of Ts 33 C when plugged into an electrical wall outlet but not
romanna [79]

Answer:

C = $0.0032 per day

Explanation:

We are given;

Dimension of cell phone; 50 mm × 45 mm × 20 mm

Temperature of charger; T1 = 33°C = 306K

Emissivity; ε = 0.92

convection heat transfer coefficient; h = 4.5 W/m².K

Room air temperature; T∞ = 22°C = 295K

Wall temperature; T2 = 20°C = 293 K

Cost of electricity; C = $0.18/kW.h

Chargers are usually in the form of a cuboid, and thus, surface Area is;

A = (50 × 45) + 2(50 × 20) + 2(45 × 20)

A = 6050 mm²

A = 6.05 × 10^(-3) m²

Formula for total heat transfer rate is;

E_t = hA(T1 - T∞) + εσA((T1)⁴ - (T2)⁴)

Where σ is Stefan Boltzmann constant with a value of; σ = 5.67 × 10^(-8) W/m².K⁴

Thus;

E_t = 4.5 × 6.05 × 10^(-3) (306 - 295) + (0.92 × 6.05 × 10^(-3) × 5.67 × 10^(-8)(306^(4) - 293^(4)))

E_t = 0.7406 W = 0.7406 × 10^(-3) KW

Now, we know C = $0.18/kW.h

Thus daily cost which has 24 hours gives;

C = 0.18 × 0.7406 × 10^(-3) × 24

C = $0.0032 per day

6 0
3 years ago
Para conseguir jugo de naranja concentrada, se parte de un extracto con 7% en peso de sólidos el cual se mete a un evaporador al
padilas [110]

Answer:

Se obtendrán 116.66 litros de jugo concentrado, y el agua evaporada será por un total de 883.33 litros.

Explanation:

Dado que para conseguir jugo de naranja concentrada, se parte de un extracto con 7% en peso de sólidos el cual se mete a un evaporador al vacío, y en el evaporador se elimina el agua necesaria para que el jugo salga con una concentración del 60% de peso de sólidos, si se introducen al proceso 1000 kg/h de jugo diluido, para calcular la cantidad de agua evaporada y de jugo concentrado saliente se debe realizar el siguiente cálculo;

1000 x 0.07 = 70

60 = 70

100 = X

100 x 70 / 60 = X

7000 / 60 = X

116.66 = X

Por lo tanto, se obtendrán 116.66 litros de jugo concentrado, y el agua evaporada será por un total de 883.33 litros.

4 0
3 years ago
DUS 14. Next → Post Test: Engineering Systems and Te 14 Select the correct answer.. Which of these is a unit of heat? O A. joule
salantis [7]

Answer:

The answer is A.) joule

Explanation:

a joule is the heat unit and the watt is the measure of heat transfered.

6 0
3 years ago
Design a 8th order wideband band-pass Butterworth filter with a lower cutoff frequency of 45 Hz, an upper cutoff frequency of 17
Lunna [17]

Explanation:

71hz 45+17+9

5 0
2 years ago
1. Select the punch that is used to make a mark in metal
s344n2d4d5 [400]

Answer:

pin punch

Explanation:

  1. <em><u>Pin</u></em><em><u> </u></em><em><u>Punch</u></em><em><u> </u></em>
  2. <em><u> </u></em><em><u>pin</u></em><em><u> </u></em><em><u>punch</u></em>
8 0
3 years ago
Other questions:
  • David wants to determine what his organization should do in the future, and set project targets. Which management function can D
    14·1 answer
  • Which statement best explains the underlined portion of the quote from the declaration of independence
    11·1 answer
  • A turntable A is built into a stage for use in a theatrical production. It is observed during a rehearsal that a trunk B starts
    5·1 answer
  • Technician A says that UHSS is designed to absorb collision energy.
    13·1 answer
  • Horizontal wind turbines have same design for offshore and on shore wind farms. a)-True b)- False
    5·1 answer
  • while performing a running compression test how should running compression compare to static compression
    5·1 answer
  • While discussing PCM monitor tests: Technician A says that some monitors only run after another monitor completes. Technician B
    10·1 answer
  • Applications of attenuators.
    5·1 answer
  • I need help on the Coderz Challenge missions 3 part 3. PLEASE HELP!
    11·2 answers
  • What documentation is required when a pilot has performed preventive maintenance on an aircraft?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!