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
4x-2y&lt;-2<br><br>a) (2,8) b) (0,1) c) (3,7) d) (5,8)​
amm1812

Answer:

a) (2, 8)  

Step-by-step explanation:

The easiest way is to insert the coordinates into the inequality.

a) (2, 8)

\begin{array}{rcl}4(2) - 2(8) & < & -2\\8 - 16 & < & -2\\-8 &< & -2\\\end{array}\\\textbf{TRUE}

b) (0, 1)

\begin{array}{rcl}4(0) - 2(1) & < & -2\\0 - 2 & < & -2\\-2 &< & -2\\\end{array}\\\text{False}

c) (3, 7)

\begin{array}{rcl}4(3) - 2(7) & < & -2\\12 - 14 & < & -2\\-2 &< & -2\\\end{array}\\\text{False}

d) (5, 8)

\begin{array}{rcl}4(5) - 2(8) & < & -2\\20 - 16 & < & -2\\4 &< & -2\\\end{array}\\\text{False}

You could also plot the inequality and test the points. You would get a graph like the one below. Point (2, 8) is the only one that satisfies the inequality. Points (0, 1) and (3, 7) do not satisfy the inequality because they are on a dashed line.

7 0
3 years ago
Similar to a rectangle with a length of 16 cm and width of 10 cm
snow_tiger [21]

Answer:

the correct answer 26 cm

4 0
3 years ago
Find how many solutions there are to the given equation that satisfy the given condition.
den301095 [7]

Answer:

17550 solutions

Step-by-step explanation:

Given that:

y1 +y2+y3+y4=27

where;

(yi  ≥ 0 and yi \epsilon {\displaystyle \mathbb {Z} }  )

The no. of a nonnegative integer determines the number of ways to choose 27 objects from (4) distinct objects with repetition regardless of the order.

i.e

\bigg(^{27}_{4} \bigg)

∴

The number of nonnegative integer solution is \bigg(^{27}_{4} \bigg)

= \dfrac{27!}{4!(27-4)!}

= \dfrac{27!}{4!(23)!}

= \dfrac{27\times 26\times 25\times 24 \times  23 !}{4\times 3\times 2\times 1(23)!}

= \dfrac{27\times 26\times 25\times 24 }{4\times 3\times 2\times 1}

= \dfrac{421200}{24}

= 17550 solutions

7 0
3 years ago
Look at the image for the question. Show all that apply + explanation to help me figure it out better.
OLga [1]
The general point-slope equation for a str. line is y-k = m(x-h),

where m is the slope and (h,k) is a point on the line.

Given that the line passes thru (-4,6) and (1,2), we find the slope as follows:
           6-2
m = ----------- = -4/5
          -4-1

Subst. -4/5 for m, 6 for k and -4 for h     in    y-k = m(x-h):

y-6 = (-4/5)(x+4)

Compare this result to the equations given.
6 0
3 years ago
Solving Quadratic Equations By Completing the Square
Amiraneli [1.4K]

Answer:

1. 2<u>+</u>sqrt(102)

2. 5<u>+</u>sqrt(5)

3. No Solution

4. No Solution

Step-by-step explanation:

1. r^2-4r+4-91=7+4      r^2-2r-2r+4     (r-2)^2-91=11    (r-2)^2=102   r-2=<u>+</u>sqrt(102)

1. x^2-10x+25+26=8+25      x^2-5x-5x+25     (x-5)^2+26=33    (x-5)^2=5          x-5=<u>+</u>sqrt(5)

1. k^2-4k+4+1=-5+4     k^2-2k-2k+4     (k-2)^2+1=-1    (r-2)^2=-2   No Solution

1. b^2+2b+1=-20+1     b^2+b+b+1     (b+1)^2=-19   No Solution

7 0
4 years ago
Other questions:
  • All I want is the work, I know the answer. (Don't ask)
    12·2 answers
  • Jenna has 76.47 dollars she bought 2 books for 39.86 dollars how much does she have left
    11·2 answers
  • Could you guys please help me with number 1
    13·1 answer
  • Joseph drives 125 miles in 2.5 hours. At the same rate, how far will he be able to travel in 6 hours?
    10·2 answers
  • A box has a volume given by the trinomial x^3+4x^2-5x. What are possible dimensions of the box? Use factoring.
    6·1 answer
  • Someone help with #1
    11·2 answers
  • Solve each Multi-Step equation.<br> -6(-6n + 2)=-228
    14·2 answers
  • Find the percent increase. From 32 teachers to 45 teachers.
    15·1 answer
  • 745,093 rounded to the nearest thousands
    14·2 answers
  • ASAP!!!
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!