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
6. During some actual expansion and compression processes in piston–cylinder devices, the gases have been
Katyanochek1 [597]

During some actual expansion and compression processes in piston-cylinder devices, the gases have been are the P1= P2.

<h3>What is the pressure?</h3>

Pressure is something that has the pressure that is physical and that causes the pressure is piston-cylinder devices.

During a few real enlargements and compression procedures in piston-cylinder devices, the gases were located to meet the connection PV n = C, wherein n and C are constants.

Read more about the pressure :

brainly.com/question/25736513

#SPJ1

5 0
2 years ago
A(n) ____ is an object setting used to control the visible display of objects.
KatRina [158]
Remote?? maybe I’m not really sure
3 0
3 years ago
Meaning of perfomance bond
nekit [7.7K]

Answer:

a bond issued by a bank or other financial institution, guaranteeing the fulfilment of a particular contract

6 0
3 years ago
A specimen of a 4340 steel alloy with a plane strain fracture toughness of 54.8 Mpa root m is exposed to a stress of 1030 MPa. W
cupoosta [38]

Answer:

It will not  experience fracture when it is exposed to a stress of 1030 MPa.

Explanation:

Given

Klc = 54.8 MPa √m

a = 0.5 mm = 0.5*10⁻³m

Y = 1.0

This problem asks us to determine whether or not the 4340 steel alloy specimen will fracture when exposed to a stress of 1030 MPa, given the values of <em>KIc</em>, <em>Y</em>, and the largest value of <em>a</em> in the material. This requires that we solve for <em>σc</em> from the following equation:

<em>σc = KIc / (Y*√(π*a))</em>

Thus

σc = 54.8 MPa √m / (1.0*√(π*0.5*10⁻³m))

⇒ σc = 1382.67 MPa > 1030 MPa

Therefore, the fracture will not occur because this specimen can handle a stress of 1382.67 MPa before experience fracture.

3 0
3 years ago
Information such as tolerances and scale can be found in the _______________ of an engineering drawing.
nasty-shy [4]

Answer:

Information such as tolerance and scale can be found in the <u>title block</u> of an engineering drawing

Explanation:

The title block of an engineering drawing can normally be found on the lower right and corner of an engineering drawing and it carries the information that are used to specify details that are specific the drawing including, the name of the project, the name of the designer, the name of the client, the sheet number, the drawing tolerance, the scale, the issue date, and other relevant information, required to link the drawing with the actual structure or item

8 0
3 years ago
Other questions:
  • What is the stress concentration factor of a shaft in torsion, where D=1.25 in. and d=1 in. and the fillet radius is, r=0.2 in.a
    7·1 answer
  • What does basic levels of competence involves??​
    13·2 answers
  • Estimate the quantity of soil to be excavated from the borrow pit​
    12·1 answer
  • A heat engine is coupled with a dynamometer. The length of the load arm is 900 mm. The spring balance reading is 16. Applied wei
    11·1 answer
  • You want to know your grade in Computer Science, so write a program that continuously takes grades between 0 and 100 to standard
    7·1 answer
  • At the grocery store you place a pumpkin with a mass of 12.5 lb on the produce spring scale. The spring in the scale operates su
    5·1 answer
  • Which of the following is true Select one: a. HTML stands for Hyper Text Markup Language is a language for describing web pages
    6·1 answer
  • List a minimum of four reasons why you might be rejected for a job offer.
    10·1 answer
  • What should you consider when choosing the type of hearing protection you use?
    15·1 answer
  • Find the capacitance reactance of a 0.1 micro frequency capacitor 50Hz and at 200Hz​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!