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
Why is it reasonable to say that no system is 100% efficient?​
Virty [35]

Generally, frictional losses are more predominant for the machines being not 100% efficient. This friction leads to the loss of energy in the form of heat, into the surroundings. Some of the supplied energy may be utilised to change the entropy (measure of randomness of the particles) of the system.

5 0
3 years ago
You are working in a lab where RC circuits are used to delay the initiation of a process. One particular experiment involves an
Ymorist [56]

Answer:

t'_{1\2} = 6.6 sec

Explanation:

the half life of the given circuit is given by

t_{1\2} =\tau ln2

where [/tex]\tau = RC[/tex]

t_{1\2} = RCln2

Given t_{1\2} = 3 sec

resistance in the circuit is 40 ohm and to extend the half cycle we added new resister of 48 ohm. the net resitance is 40+48 = 88 ohms

now the new half life is

t'_{1\2} =R'Cln2

Divide equation 2 by 1

\frac{t'_{1\2}}{t_{1\2}} = \frac{R'Cln2}{RCln2} = \frac{R'}{R}

t'_{1\2} = t'_{1\2}\frac{R'}{R}

putting all value we get new half life

t'_{1\2} = 3 * \frac{88}{40}  = 6.6 sec

t'_{1\2} = 6.6 sec

7 0
3 years ago
Recommend the types of engineers needed to collaborate on a city project to build a skateboard park near protected wetlands.
4vir4ik [10]

Answer:

A civil engineer.

Explanation:

Civil engineering is the science that deals with the design, creation and maintenance of constructions for civil use on the earth's surface. Thus, this specialty seeks to adapt soils to the needs of life in society, creating buildings, bridges, and all other constructions adapted to civil life, while taking care of the correct use of soils and the correct distribution of spaces and resources. to be used for such constructions.

4 0
2 years ago
What happens when force is placed on a square/rectangle?
mart [117]

im not sure i need to see a photo and also is this science

7 0
3 years ago
Read 2 more answers
When do you know if you start volly ball
igomit [66]
Answer You ask your coach
7 0
3 years ago
Other questions:
  • Thermosetting polymers are polymers that becomes soft and pliable when heated. ( True , False )
    8·2 answers
  • The rate of energy transfer by work is called power. a)-True b)-False
    15·1 answer
  • 11. Which of the following is the brake fluid most often used?
    11·2 answers
  • An undeformed specimen of some alloy has an average grain diameter of 0.050 mm. You are asked to reduce its average grain diamet
    11·1 answer
  • If the same strength force were exerted on both wheelchairs, which chair would go faster?
    9·1 answer
  • Diffrerentiate y=cos^{4} (3x+1)
    5·1 answer
  • What can you add to a seatbelt ??<br> HELP ASAP
    15·1 answer
  • one number is 11 more than another number. find the two number if three times the larger number exceeds four times the smaller n
    14·1 answer
  • W
    7·1 answer
  • Sometimes we need to create heat, such as in circuit breakers and rear window
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!