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 warehouse already has 27 pallets of stock waiting to be unloaded, and the delivery van arrives with another 8. The warehouse
Natasha_Volkova [10]
To find the answer you would add 27 and 8 together which would give you 35. Once you've done that, you would subtract 32 from 35 which would give you 3 meaning that there will be 3 pallets left over as your answer.
5 0
2 years ago
Answer this:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
blagie [28]
What is the question?
6 0
2 years ago
A mirror with a parabolic cross section is used to collect sunlight on a pipe located at the focus of the mirror. The pipe is lo
vodomira [7]

Answer: x^2=32y


Step-by-step explanation:

Given:  A mirror with a parabolic cross section is used to collect sunlight on a pipe located at the focus of the mirror.

The pipe is located 8 inches from the vertex of the mirror.

Assume the vertex is at the origin.

If the parabola opens upwards

then the coordinates of focus= (0,8)

We know that equation of parabola with focus (0,a) and open upards is of the form (vertex=(0,0)) is

x^2=4ay

Substitute the value of a=8 in equation, we get

x^2=4\times8y

\Rightarrow\ x^2=32y

Therefore, equation of the parabola that models the cross section of the mirror is x^2=32y

3 0
2 years ago
1.488 divided by 2.1 rounded to nearest tenth
Neko [114]
The answer should be 0.70
7 0
2 years ago
I AM GIVING 99 POINTS!
faust18 [17]
In 1944 Elion joined the Burroughs Wellcome Laboratories (now part of GlaxoSmithKline (a company that makes prescription medicines)). There she was first the assistant and then the colleague of Hitchings, with whom she worked for the next four decades. Elion and Hitchings developed an array (variety) of new drugs that were effective against leukemia, autoimmune disorders, urinary-tract infections, gout, malaria, and viral herpes. Their success was due primarily to their innovative (characterized by new or unique) research methods. Rather than using the trial-and-error approach used by previous pharmacologists, Elion and Hitchings examined the difference between the biochemistry of normal human cells and that of cancer cells, bacteria, viruses, and other pathogens (disease-causing agents). They used this information to create drugs that could target a particular pathogen without harming the human host's normal cells. Their methods enabled them to eliminate much of the guesswork and wasted effort typical in previous drug research.
3 0
2 years ago
Read 2 more answers
Other questions:
  • Mary Hernandez had a policy with a $250 deductible which paid 80% of her covered charges less deductible. She had medical expens
    11·2 answers
  • Tasha earns $400 per week plus a commission of 10% on her weekly sales. Each week she saves of her earnings. In the expression ,
    11·2 answers
  • Darius bakes 18 muffins for his friends, he gives each of his friends an equal number has none left over. How could he divided t
    13·2 answers
  • The oil tank in your car is leaking at a rate of 1.2 oz per mile driven you drive 15 miles over to your grandma house.how many c
    13·1 answer
  • Emilia saved nickels, dimes, and quarters in a jar. She had as many quarters as dimes, but twice as many nickels as dimes. If th
    12·2 answers
  • Translate and solve: 344% of what number is 34,400 ?
    7·2 answers
  • Researchers studying the effectiveness of a diet on heart disease divided the study's participants into two groups—those with Ty
    8·1 answer
  • Jeremiah and Tristan work at a dry cleaners ironing shirts. Jeremiah can iron 35 shirts per hour, and Tristan can iron 20 shirts
    10·1 answer
  • Use differentials to estimate the amount of material in a closed cylindrical can that is 60 cm high and 24 cm in diameter if the
    5·1 answer
  • What is the place value of the 3-digit in the number 11.321?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!