Tuesday, September 8, 2015

HW #3

PROBLEM #1

This function will output the difference between two points given latitude and longitude.


PROBLEM #2
This function takes the manually imported excel file of thermocouple readings and determines the max temperature read by each thermocouple as well as the maximum overall temperature reading.

PROBLEM #3
This function will generate a random 10,000 gaussian numbers in a 100x100 matrix. It will then give this random set a standard deviation of 23.5 and a mean of 80.

PROBLEM #4
This program calculates the current from the given AC circuit problem in the homework

PROBLEM #5


This program takes the latitude and longitude from the 5 weather stations nearest to my house and calculates the distance between my house and each one. The program will then choose the shortest distance from that list and output the lowest number, which represents the distance to the closest weather station from my house. The very last two lines of the program sum up the total rainfall recorded from that particular station.



No comments:

Post a Comment