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
B)<br>State the essential difference between a plain carbon steel<br>and an alloy steel​
choli [55]

Answer:

Plain carbon steel has no or trace external elements while alloy steel has high amount of other elements.

Explanation:

Plain carbon steel has no or trace amount of other elements while alloy steel has high amount of other elements in their composition.

The presence of other elements in alloy steel improvise several physical properties of the steel while plain carbon steel has the basic properties.

6 0
3 years ago
What is the simplified meaning of the word "engineering"​
juin [17]

Answer:

.

Explanation:

.

4 0
2 years ago
Select the correct answer.
MAVERICK [17]

Answer:crane and engine I guess

Explanation:

8 0
3 years ago
A motor car shaft consists of a steel tube 30 mm internal diameter and 4 mm thick. The engine develops 10 kW at 2000 r.p.m. Find
tresset_1 [31]

The maximum shear stress in the tube when the power is transmitted through a 4: 1 gearing is 28.98 MPa.

<h3>What is power?</h3>

Power is the energy transferred per unit time.

Torque is find out by

P = 2πNT/60

10000 = 2π x 2000 x T / 60

T =47.74 N.m

The gear ratio Ne / Ns =4/1

Ns =2000/4 = 500

Ts =Ps x 60/(2π x 500)

Ts =190.96 N.m

Maximum shear stress τ = 16/π x (T / (d₀⁴ - d₁⁴))

τ max =T/J x D/2
where d₁ = 30mm = 0.03 m

           d₀ = 30 +(2x 4) = 38mm =0.038 m

Substitute the values into the equation, we get

τ max = 16 x 190.96 x 0.038 /π x (0.038⁴ - 0.03⁴)

τ max = 28.98 MPa.

Thus, the maximum shear stress in the tube is 28.98 MPa.

Learn more about power.

brainly.com/question/13385520

#SPJ1

7 0
2 years ago
A semiconductor is a solid substance that has a conductivity between that of an insulator and that of most metals. (True , False
tiny-mole [99]

The answer is : True

4 0
2 years ago
Other questions:
  • Describe a simple process
    11·1 answer
  • A spherical seed of 1 cm diameter is buried at a depth of 1 cm inside soil (thermal conductivity of 1 Wm-1K-1) in a sufficiently
    14·1 answer
  • At a certain location, wind is blowing steadily at 10 m/s. Determine the mechanical energy of air per unit mass and the power ge
    5·1 answer
  • WhT DO FILM PRODUTION SAY WHEN REMOVING GREEN AND BLUE SCREENS.
    14·1 answer
  • which one of the following appliance parts gets the hardest services? A. Heating elementwhich one of the following appliance par
    10·2 answers
  • If the same strength force were exerted on both wheelchairs, which chair would go faster?
    9·1 answer
  • In multi-grade oil what is W means?
    11·1 answer
  • The loneliest people are to kindest
    14·2 answers
  • Technician A says that the starter solenoid switches the high current on and off. Technician B says that the solenoid on the sta
    5·1 answer
  • Subject : SCIENCE
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!