Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

CSC 142 Geiger Counter Radiation Measurements Programming Project

CSC 142 Geiger Counter Radiation Measurements Programming Project

CSC 142 Geiger Counter Radiation Measurements Programming Project

Question Description

I have a Geiger Counter (https://en.wikipedia.org/wiki/Geiger_counter) that measures beta, gamma, and X-ray radiation in counts per minute.

The Geiger counter cannot distinguish between those types of radiation, and does not know from which direction the radiation originated.

I don’t have any strong radioactive sources in my home that I know of, so I assume the Geiger counter is measuring only the natural background radiation in the local environment of the counter. (https://en.wikipedia.org/wiki/Background_radiation)

Some of the background radiation measured comes from the decay of radioactive isotopes in the earth. Another component of the background radiation comes from cosmic rays, originating in outer space.

Average background radiation counts per minute varies somewhat by geographic location. (you can find a map on the internet if you are interested)

However, our atmosphere helps shield us from the cosmic ray component of the background. The Wikipedia article above notes that the city of Denver, Colorado (5200 feet elevation) receives approximately twice the amount of radiation from cosmic rays as a city at sea level.

The raw data file logged by the counter was originally formatted as a .csv file produced by Microsoft Excel.

( https://en.wikipedia.org/wiki/Comma-separated_values)

(I had to rename the file to the extension .txt to get around some Microsoft-created problems. The file content is unchanged, only the name has been changed.

The file looks like the following when displayed using the vi text editor. Other text editors may show dozens of commas after the data on each line.

(it may display quite differently in other text editors or in Excel):

GQ Electronics LLC, GMC Data Viewer, Version 2.40

Date Time,uSv/h,CPM,#1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11,#12,#13,#14,#15,#16,#17,#18,#19,#20,#21,#22,#23,#24,#25,#26,#27,#28,#29,#30,#31,#32,#33,#34,#35,#36,#37,#38,#39,#40,#41,#42,#43,#44,#45,#46,#47,#48,#49,#50,#51,#52,#53,#54,#55,#56,#57,#58,#59,#60,

FEDERAL-WAY,,,

2018-04-06 17:13,Every Minute,16,

2018-04-06 17:14,Every Minute,18,

2018-04-06 17:15,Every Minute,15,

2018-04-06 17:16,Every Minute,15,

There is an option on the Geiger counter to log location data – those are the lines in the file that contain the string “Federal Way”.

After I inspected the log file, I found that every time the location was written to the log file, the Geiger counter skipped logging one or two minutes of data. I turned off the location logging around the end of April 2018 in the file, and never turned it back on.

For this project, you are only interested in lines that look like the last few above: The time and date the data was taken, and the number of counts per minute (the integer at the end of the line).

Your program will read a file with the above format named ‘7_14_2019.txt’.A link to the file is located under the Resources block in WAMAP.

The file consists of over a year of background radiation measurements, one measurement per minute. The first data line in the file shows that at time 17:13 on April 6th, 2018, 16 radiation events were counted.

For this programming project:

1)

  • Find the maximum number of counts per minute in the file and write all of the data lines to the console that are within 5 counts of the maximum number of counts per minute.
  • Answer this question if you can:

Write the date and counts per minute to the console for those data lines in the format:

Date Counts per minute

5-06-18 35

6-17-18 33

..

2)

I took the Geiger counter with me on one or two camping trips, and stayed for at least one full day at an elevation of 4900 feet. My house is 500 feet above sea level, so we would expect a greater value for the counts per minute, on average, at the higher altitude.

What is the date that I was most likely to be on that camping trip? Explain what you tried and how you figured this out at the bottom of your header comment block.

There are two questions. Line limits 100 in the program. Write what methods do in the header comments.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20