subject

In the on-line resources you will find a file called sunspots. txt which contains the observed number of sunspots on the Sun for each month since January 1749. The file contains two columns of numbers, the first being the month and the second being the sunspot numbery, y(t). A. Write a program that reads in the data and makes a graph of sunspots as a function of time.
B. One way to demonstrate highly fluctuating data is to calculate moving average (or running average) for the data as you taking the average over small range of data rather than entire data. The moving average of the data, defined by
Yk = 1/2r sigma_m = -r^r yk + m
where r represents the range for taking average and the yk are the sunspot numbers. Calculate the moving average for r = 5, 10 and 100 and plot both the original data and the moving average on the same graph.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
In the microsoft® access® and microsoft excel® programs, the ribbon contains tabs that are divided into with like tools in them. parts groups containers bunches
Answers: 1
You know the right answer?
In the on-line resources you will find a file called sunspots. txt which contains the observed numbe...
Questions
question
Biology, 21.09.2020 14:01
question
Spanish, 21.09.2020 14:01
question
Mathematics, 21.09.2020 14:01
Questions on the website: 13722363