answer.
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]
2 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]2 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]2 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
The table below shows the typical hours worked by employees at a company. A salaried employee makes $78,000 per year. Hourly emp
MrRa [10]

Given:

  • The table of typical hours worked by employees at a company
  • salaried employee makes $78,000 per year
  • hourly employees get $26 per hour and $39 per hour when they work more than 40 hours.

To Find: Which payment option to recommend to a new employee.

Solution: I would recommend being a salaried employee.

Explanation:

We begin by calculating the typical number of hours worked per week.

Adding up the hours from the table, we have 0+8+8.5+9.5+10+8+3=47.

The payment for an hourly employee must be calculated as $26 per hour for working till 40 hours, and $39 per hour when they work more than 40 hours.

So, the payment for 47 hours of work per week will be (26)(40) + (39)(7) = 1313 dollars.

As there are 52 weeks in a year, the yearly payment for an hourly emplyee would be (1313)(52) = 68276. That is, an hourly employee would earn $68276.

On the other hand, we are given that a salaried employee makes $78000 per year which is more money than what an hourly employee makes for the same amount of work.

Therefore, I would recommend a new emplyee to be paid a salary rather than work on an hourly basis.


6 0
2 years ago
Read 2 more answers
Which shows one way to determine the factors of 12x3 – 2x2 + 18x – 3 by grouping?
AleksAgata [21]

we are given

12x^3-2x^2+18x-3

Firstly, we will split terms

2x^2*6x-1*2x^2+3*6x-1*3

We can group first two and last two terms

(2x^2*6x-1*2x^2)+(3*6x-1*3)

we can see that 2x^2 is common in first two terms

and 3 is common in last two terms

so, we can factor factor out 2x^2 from first group and 3 from second group

we get

=2x^2(6x-1)+3(6x-1)

we can see that each terms are multiple of 6x-1

so, we can factor out 6x-1

so, we get

12x^3-2x^2+18x-3 =(2x^2+3)(6x-1)............Answer


4 0
2 years ago
Read 2 more answers
Using V = lwh , find an expression in factored form for the volume of this prism. Explain the general steps you used to arrive a
Mademuasel [1]
The student made a mistake in  Line 1: AC=2, DF=2 AC ≅ DF .
3 0
2 years ago
Read 2 more answers
Yuto and Lian are at train stations 1,880 kilometers apart. Yuto boards a train heading east at an average speed of 220 kilomete
lys-0071 [83]
<span>the correct answer is
D) 1000 kilometers                                                                              </span>
5 0
2 years ago
Tom says he is comparing banks to see what interest rates they offer on savings accounts. Explain how Tom should use the informa
dolphi86 [110]

~Hello There!~

Tom should choose the bank that offers the highest interest rate because that would mean he makes more money.

Hope This Helps You!

Good Luck :)

Have A Great Day ^_^

- Hannah ❤

4 0
2 years ago
Read 2 more answers
Other questions:
  • A car enters a turnpike 22 miles north of a town. The car travels north at an average speed of 64 miles per hour. How far is the
    10·2 answers
  • A basketball team has eight boys and four girls on the roster. The boys average 12 points each. The team averages 136 points as
    10·2 answers
  • As a computer technician, Andre makes $20 per hour to diagnose a problem and $25 per hour to fix a problem. He works fewer than
    5·2 answers
  • Find the height of a square pyramid that has a volume of 75 cubic feet and a base length of 5 feet.
    5·2 answers
  • The weight limit of an elevator is 2,200 pounds. Michelle is solving an inequality to determine how many 40-pound boxes she can
    5·2 answers
  • A student estimated a mass for by 325g, but upon carefully mesuring it, found the actual mass to be 342g. What is the percent er
    8·1 answer
  • what are some advantages of writing the polynomial expression -7x^2+32x+240 in factored form when interpreting this situation ​
    8·1 answer
  • 1. A large game cube with a three inch side
    11·1 answer
  • Solve for all values of x by factoring<br> X^2-4x-45=0
    7·2 answers
  • Malcolm is filling bags with rice. He starts with a 5 1/4 pound container of rice and fills each bag with 5/8 pound of rice. How
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!