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
In a creep test, increasing the temperature will (choose the best answer) A. increase the instantaneous initial deformation B. i
Hitman42 [59]

Answer:

All of the above

Explanation:

firstly, a creep can be explained as the gradual deformation of a material over a time period. This occurs at a fixed load with the temperature the same or more than the recrystallization temperature.

Once the material gets loaded, the instantaneous creep would start off and it is close to electric strain. in the primary creep area, the rate of the strain falls as the material hardens. in the secondary area, a balance between the hardening and recrystallization occurs. The material would get to be fractured hen recrstallization happens.  As temperature is raised the recrystallization gets to be more.

8 0
2 years ago
8. Block A shown in the figure below weighs 2000 N. The chord attached to A passes over a
Kobotan [32]

Answer:

Read the passage. Then, answer the questions about the metaphor in boldface in the text.

Lately, I've been so overwhelmed with school and sports. There was a time when I enjoyed going to classes and going to practice every afternoon. Now, everything is piling up and wearing me down. Thankfully, I get to see you every day. You are truly the sunshine of my life. Thank you for making me laugh when I'm feeling down.

What is the context of the passage?

What is being compared in the metaphor?

What is the meaning of the metaphor?

Explanation:

4 0
2 years ago
Technician A says that a fully charged battery is less likely to freeze than a discharged battery. Technician B says that the st
zheka24 [161]
Answer : Technician B is correct
8 0
2 years ago
Who ate cdonalds in hell with god then died from food ppoisoning
siniylev [52]

Answer:

McDonald’s announced recently that they are going through some major menu changes, and will be nixing some unnecessary ingredients. They also are finally listening to us, and will stop using chickens that are injected with growth-promoting antibiotics, along with dairy products raised with the growth hormone rbST but they still are using a lot of factory farmed meat and the beef is still raised with antibiotics.

McDonald’s even said they might add kale to their menu, by putting it in salads or in a smoothie. I LOVE kale, and I hope they don’t find a way to ruin it. You know the saying, “You can put lipstick on a pig, but it’s still a pig”. So, they need to do a lot more than just add kale to their menu before I’d ever eat there. The problem is that millions are still eating there and consuming several questionable food additives that McDonald’s could remove entirely if they really wanted to.

Explanation:

7 0
2 years ago
What should you consider when choosing the type of head protection
Serggg [28]

Answer: hope this helps u

Explanation:

Material,Flexibility,Comfort,Workplace Hazards

6 0
2 years ago
Other questions:
  • What is Euler's equation?
    6·1 answer
  • Air in a rigid tank is initially at 320 K and 130 kPa. Heat is added until the final pressure is 438 kPa. What is the change in
    9·1 answer
  • Steam enters a nozzle at 400°C and 800 kPa with a velocity of 10 m/s and leaves at 375°C and 400 kPa while losing heat at a rate
    7·1 answer
  • Giving out 100 coins cuz why not?​
    11·1 answer
  • How do i do this? if y’all don’t mind helping lol
    13·1 answer
  • Describe in detail the process of making a collapsable bowl.​
    11·1 answer
  • Hi, everyone I'm a high school student in Texas. My engineering teacher is asking us to find an active engineer to complete a li
    5·1 answer
  • Construction lines are thick lines true false
    11·2 answers
  • Whats the purpose of the keyway
    13·1 answer
  • All aspects of the Kirby-Bauer test are standardized to assure reliability. What might be the consequence of pouring the plates
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!