Day 6

For homework we had to make a program  that computes the great circle distance between two points in the Northern Hemisphere.

Here is the program that calculates the angle between two vectors
Here is the code for the distance and angle between two points, I could get the added North and South function added but could not get the West and East one to work

For lab we had to use the  PIR and CdS sensors to control the LED.
Here is the light sensor working with the LED and this link shows the LED in action

I tried to get the PIR lab to work but couldn't get the sensor to work I could only get the light to turn off when i disconected the PIR.


Comments

Popular posts from this blog

Day 5

Day 22 Nov 14

Day 21 Nov 9