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
noname [10]
3 years ago
8

Plot the function y(x)=e–0.5x sin(2x) for 100 values of x between 0 and 10. Use a 2- point-wide solid blue line for this functio

n. Then plot the function y(x)=e–0.5x cos(2x) on the same axes. Use a 3-point-wide dashed red line for this function. Be sure to include a legend, title, axis labels, and grid on the plots

Mathematics
2 answers:
Flauer [41]3 years ago
3 0

Answer:

The plot is attached.

Step-by-step explanation:

Plot the function y(x)=e^–0.5x sin(2x) for 100 values of x between 0 and 10. Use a 2- point-wide solid blue line for this function.

The step value for x is (10-0)/100=0.1.

Plot the function y(x)=e–0.5x cos(2x) on the same axes. Use a 3-point-wide dashed red line for this function.

The step value for x is the same as the previous function.

The plot is attached.

Oksi-84 [34.3K]3 years ago
3 0

Answer:

import numpy as np

import matplotlib.pyplot as plt

x = np.linspace(0,10,100)

plt.figure(figsize = (10,3))

plt.plot(x,np.e-0.5*x*np.sin(2*x),label = "y = e-0.5x(sin(2*x))",color = "b")

plt.scatter(x,np.e-0.5*x*np.cos(2*x),label = "y = e-0.5x(cos(2*x))", color = "r")

plt.legend(loc = "best")

Step-by-step explanation:

Using python you could use the matplotlib library and the numpy library, when you use are writing the code for the plot you just write color = "b" and color = "r". And that is it. For the blue line you can just use plt.plot and for the dashed red line you just use plt.scatter.

Also do not forget that you have to add the plt.legend(loc = "best") for your labels to display. This is a possible solution.

import numpy as np

import matplotlib.pyplot as plt

x = np.linspace(0,10,100)

plt.figure(figsize = (10,3))

plt.plot(x,np.e-0.5*x*np.sin(2*x),label = "y = e-0.5x(sin(2*x))",color = "b")

plt.scatter(x,np.e-0.5*x*np.cos(2*x),label = "y = e-0.5x(cos(2*x))", color = "r")

plt.legend(loc = "best")

You might be interested in
Which additional congruence statement could you use to prove that CAB CAD by HL?
icang [17]

Answer:

#2, AB is congruent to AD

Step-by-step explanation:

AB is congruent to AD.

since the bottom sides are corresponding, and the middle sides are corresponding, then if the outside sides are corresponding, then CAB is congruent to CAD

8 0
4 years ago
Please help me with this question
almond37 [142]
C. None from the above
8 0
3 years ago
There are 1,735 trees in a forest. The population of trees decreases by 3% each year.
Ymorist [56]

Answer:

1,735-3

Step-by-step explanation:

It said decreases so it would be subtracted

7 0
3 years ago
Calculate the value of each expression.<br><br><br><br><br> −18/−3<br><br> omg please helpp
Jet001 [13]

Answer:

6

Step-by-step explanation:

7 0
3 years ago
Octagon ABCDEFGH and its dilation, octagon A'B'C'D'E'F'G'H', are shown on the coordinate plane below:
Vaselesa [24]

Answer:

2)  2

Step-by-step explanation:

Transformation is the movement of a point from its initial location to a new location. Types of transformation are reflection, translation, rotation and dilation.

Dilation is the enlargement or reduction of the size of an object. If a figure with point A(x, y) is dilated by a scale factor of k about the center of the origin, the new point would be at (kx, ky). If k < 1 it is a reduction and if k > 1 it is an enlargement.

The octagon ABCDEFGH has vertices at A(3, 1), B(3, -1), C(1, -3), D(1, -3), E(-3, -1), F(-3, 1), G(-1,3) and H(1, 3)

Octagon ABCDEFGH is then dilated about the origin to form octagon A'B'C'D'E'F'G'H' with vertices at A'(6, 2), B'(6, -2), C'(2, -6), D'(2, -6), E'(-6, -2), F'(-6, 2), G'(-2,6) and H'(2, 6)

A = (3, 1) and A' = (6, 2) = [2(3), 2(1)]

Therefore octagon ABCDEFGH was dilated by a scale factor of 2 to form octagon A'B'C'D'E'F'G'H'

6 0
3 years ago
Other questions:
  • Evaluate the expression for the given variable(s).
    14·1 answer
  • What is the best answer for choose ing pounds or pint
    15·1 answer
  • What is 32.03 in expanded form
    8·1 answer
  • A pot of water is being heated up the temperature of the water can be modeled by this equation with y representing the temperatu
    10·1 answer
  • Please Help me I'm stuck
    6·1 answer
  • Please help me with 1-8 thank you :)
    14·1 answer
  • The graph of F(x), shown below, has the same shape as the graph of G(x)=x^4, but it’s shifted 3 units to the left. What’s its eq
    13·1 answer
  • Someone pls help me
    5·2 answers
  • Pls help i really need this
    14·1 answer
  • a bag with 10 marbles has 3 yellow marbles , 2 blue marbles, and 5 red marbles. A marble is chosen from the bag at random. What
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!