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
The boy in the wagon begins throwing bricks out of the wagon to simulate rocket propulsion. The wagon begins at rest, and the bo
Digiron [165]

Q:What velocity does the boy attain if he throws the bricks one at a time?

Answer:Linear velocity since it moves back and firth and does not rotate like angular velocity.

5 0
3 years ago
Help please really fast!!
ra1l [238]

Answer:368 hdhtygtÿ

901 vuiøöńč

Explanation:

6 0
3 years ago
A plane wall of thickness 0.1 m and thermal conductivity 25 W/m·K having uniform volumetric heat generation of 0.3 MW/m3 is insu
Contact [7]

Answer:

T = 167 ° C

Explanation:

To solve the question we have the following known variables

Type of surface = plane wall ,

Thermal conductivity k = 25.0 W/m·K,  

Thickness L = 0.1 m,

Heat generation rate q' = 0.300 MW/m³,

Heat transfer coefficient hc = 400 W/m² ·K,

Ambient temperature T∞ = 32.0 °C

We are to determine the maximum temperature in the wall

Assumptions for the calculation are as follows

  • Negligible heat loss through the insulation
  • Steady state system
  • One dimensional conduction across the wall

Therefore by the one dimensional conduction equation we have

k\frac{d^{2}T }{dx^{2} } +q'_{G} = \rho c\frac{dT}{dt}

During steady state

\frac{dT}{dt} = 0 which gives k\frac{d^{2}T }{dx^{2} } +q'_{G} = 0

From which we have \frac{d^{2}T }{dx^{2} }  = -\frac{q'_{G}}{k}

Considering the boundary condition at x =0 where there is no heat loss

 \frac{dT}{dt} = 0 also at the other end of the plane wall we have

-k\frac{dT }{dx } = hc (T - T∞) at point x = L

Integrating the equation we have

\frac{dT }{dx }  = \frac{q'_{G}}{k} x+ C_{1} from which C₁ is evaluated from the first boundary condition thus

0 = \frac{q'_{G}}{k} (0)+ C_{1}  from which C₁ = 0

From the second integration we have

T  = -\frac{q'_{G}}{2k} x^{2} + C_{2}

From which we can solve for C₂ by substituting the T and the first derivative into the second boundary condition s follows

-k\frac{q'_{G}L}{k} = h_{c}( -\frac{q'_{G}L^{2} }{k}  + C_{2}-T∞) → C₂ = q'_{G}L(\frac{1}{h_{c} }+ \frac{L}{2k} } )+T∞

T(x) = \frac{q'_{G}}{2k} x^{2} + q'_{G}L(\frac{1}{h_{c} }+ \frac{L}{2k} } )+T∞ and T(x) = T∞ + \frac{q'_{G}}{2k} (L^{2}+(\frac{2kL}{h_{c} }} )-x^{2} )

∴ Tmax → when x = 0 = T∞ + \frac{q'_{G}}{2k} (L^{2}+(\frac{2kL}{h_{c} }} ))

Substituting the values we get

T = 167 ° C

4 0
4 years ago
Explain the term electric current as used in engineering principles​
vodomira [7]

Answer:

<em>Electric current is the movement of electrons through a wire. Electric current is measured in amperes (amps) and refers to the number of charges that move through the wire per second. If we want current to flow directly from one point to another, we should use a wire that has as little resistance as possible.</em><em>Current is directly proportional to voltage, inversely proportional to resistance. One of the most common electrical measurements you'll use is the watt, a unit of electrical power: W (Watts) = E (Volts) x I (Amperes). The quantity of electric charge is measured in coulombs.</em><em>They can even pass through bones and teeth. This makes gamma rays very dangerous. They can destroy living cells, produce gene mutations, and cause cancer.</em>

Explanation:

hey mate this is the best answer if you're studying engineering!

8 0
3 years ago
Read 2 more answers
A sample of cast iron with .35 wt%C is slow cooled from 1500C to room temperature. What is the fraction of proeutectoid Cementit
Marizza181 [45]

Answer:

So the fraction of proeutectoid cementite is 44.3%

Explanation:

Given that

cast iron with 0.35 % wtC and we have to find out fraction of proeutectoid cementite phase when cooled from 1500 C to room temperature.

We know that

Fraction of  proeutectoid cementite phase gievn as

{w_p}'=\dfrac{{C_o}'-0.022}{0.74}

Now by putting the values

{w_p}'=\dfrac{0.35-0.022}{0.74}

{w_p}'=0.443

So the fraction of proeutectoid cementite is 44.3%

6 0
3 years ago
Other questions:
  • How many D-cell batteries would it take to power a human for 1 day?
    11·1 answer
  • python Write a program that asks a user to type in two strings and that prints •the characters that occur in both strings. •the
    6·1 answer
  • Can I get a hand? Thanks y’all much luv
    13·1 answer
  • How to design a solar panel<br>​
    7·1 answer
  • What is 203593^54/38n^7
    6·1 answer
  • How long will it take a Honda Civic to travel 118 miles if it is travelling at an average speed of 72 mph?
    6·1 answer
  • Think of an employee object. What are several of the possible states that the object may have over time?
    6·1 answer
  • The forklift exiting an aisle in a warehouse has the right of way?
    15·1 answer
  • A(n) _____ is an apparatus that changes alternating current (AC) to direct current (DC)
    14·1 answer
  • The locations and type of electrical device required on an architectural<br> plan are referred to as
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!