Now this may not at first seem wearable related, but let's think about this, Are you going to run this little snippet of code at home, for various levels of Dew in the can? No! You are going to want to run this while coming up on the Basingstroke roundabout with a half full can at well over the recommended speed limit. Is this the time to pull over, call your wife on your cell phone and ask her to run this program for you? No!, you want to be able to look at the upcoming curve, estimate the diamater and plug the values in and have the right speed appear in your viewfinder. And that's when you slow down to the correct speed and pull right out of the curve without spilling a drop of your Mountain Dew. Seriously - This may be a use for wearables for tradespeople, being able to run complicated calculations on the fly and have the answer appear right in your viewfinder. Think of making a sale to someone and calculating the cost with ever breaking eye contact. Obviously these programs would have to be setup in advance. Side Note - before this came out in code form, there was some talk about the formula and variations, it was noted that the highest speed was when the can was about 1/4 full or something like that, about when the caffeine was just starting to get to you and you wanted to go faster. There was also some talk about modifying it for a beer can, slighty heavier beverage but a lighter can. And also there was the discussion of what size of can provided the highest speed for all levels of fullness (8 oz). Personally I think someone needs to get a job to occupy their spare time. > ---------- > From: glen mccready[SMTP:] > Sent: Thursday, September 03, 1998 8:46 PM > To:
> Cc:
> Subject: Warning: Exploit code may cause sticky seats. > > > Forwarded-by: William Knowles <
> > Forwarded-by: noid <
> > Forwarded-by: VanLahr Andrew <
> > > /* Do_the_Dew.c > > this program calculates the speed at which you can go around a > corner without spilling your can of mountain dew. As you all > know spilling sugary beverage in car is bad. Code written by > Petty Larceny, equations supplied by William Knowles > (
). > > Code was written with borland C++ compiler V3.0 and is not tested > under GNU > > */ > > > #include <stdio.h> > #include <math.h> > #define g 9.8 > #define diameter 0.064 > #define height 0.123 > #define can 15 > #define full 355 > #define scroll "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n > \n" > > void main() > { > float mph,zf,fullness,v,weight; > int radius, ounces; > printf(scroll); > printf("\n this program calculates how fast you can go around the > corner \n with a can that is N ounces full of mountain dew. \n \n"); > printf("Please enter how many ounces of soda are in the can: "); > scanf("%i", &ounces); > fullness = (ounces / 12); > printf("\nPlease type in the radius of the turn in meters: "); > scanf("%i", &radius); > zf = height / 2 * ( can + pow(fullness, 2) * full ) / ( can + > fullness * full ); > v = sqrt( g * radius * ( diameter / 2 ) / zf ); > printf(" the maximum speed you can turn the corner is %f meters per > > second\n", v); > mph = (((v * 39) / 12) * 3600) / 5280; > printf("\n This is %f miles per hour.",mph); > } > > -- Subcription/unsubscription/info requests: send e-mail with subject of "subscribe", "unsubscribe", or "info" to
Wear-Hard Mailing List Archive (searchable): http://wearables.ml.org
From Wear-Hard Mailing list Archive (WH)
Maintained by R. Paul McCarty
Archive created with babymail