Simple 01

Page 1

1 of 10 Object Status Ian Beardsley 2016 


2 of 10


3 of 10 #include <stdio.h> int main (void) { printf("\n"); float object, Tzero, T, time; int n; printf("If we use alphacentauri as the key to our model,\n"); printf("for modeling the future, then our task has been reduced,\n"); printf("through the work I have done, to quite a simple one.\n"); printf("growthrate=k=0.0621, objective=log 100/log e = 4.6 achievements,\n"); printf("Tzero=1969 when we landed on the moon, which at 2009 is 0.552=.0.12(4.6)\n"); printf("1/0.55 = 1.8=9/5 = R/r = Au/Ag, putting us in the age of gold:silver\n"); printf("Our equation is then, Time=(Object Achieved)/(Achievements/ year)\n"); printf("\n"); do { printf("How many simulations would you like to run (10 max)? "); scanf("%d", &n); } while (n>10 && n<=0); for (int i=1; i<=n; i++) { do { printf("What is distance to object(0-4.6?) "); scanf("%f", &object); } while (n<=0 && n>=4.6); printf("What is the starting point (year) ?"); scanf("%f", &Tzero); T= object/(0.0621); time= Tzero+T; printf("Time to object=%f years.\n", T); printf("That is the year: %f\n", time); printf("\n"); } }


4 of 10 jharvard@appliance (~): cd Dropbox jharvard@appliance (~/Dropbox): ./object If we use alphacentauri as the key to our model, for modeling the future, then our task has been reduced, through the work I have done, to quite a simple one. growthrate=k=0.0621, objective=log 100/log e = 4.6 achievements, Tzero=1969 when we landed on the moon, which at 2009 is 0.552=.0.12(4.6) 1/0.55 = 1.8=9/5 = R/r = Au/Ag, putting us in the age of gold:silver Our equation is then, Time=(Object Achieved)/(Achievements/year) How many simulations would you like to run (10 max)? 10 What is distance to object(0-4.6?) 0.25 What is the starting point (year) ?1969 Time to object=4.025765 years. That is the year: 1973.025757 What is distance to object(0-4.6?) 0.50 What is the starting point (year) ?1969 Time to object=8.051530 years. That is the year: 1977.051514 What is distance to object(0-4.6?) 0.75 What is the starting point (year) ?1969 Time to object=12.077294 years. That is the year: 1981.077271 What is distance to object(0-4.6?) 1.00 What is the starting point (year) ?1969 Time to object=16.103060 years. That is the year: 1985.103027 What is distance to object(0-4.6?) 1.25 What is the starting point (year) ?1969 Time to object=20.128824 years. That is the year: 1989.128784 What is distance to object(0-4.6?) 1.50 What is the starting point (year) ?1969 Time to object=24.154589 years. That is the year: 1993.154541 What is distance to object(0-4.6?) 1.75 What is the starting point (year) ?1969 Time to object=28.180355 years. That is the year: 1997.180298 What is distance to object(0-4.6?) 2.00 What is the starting point (year) ?1969


5 of 10 Time to object=32.206120 years. That is the year: 2001.206177 What is distance to object(0-4.6?) 2.25 What is the starting point (year) ?1969 Time to object=36.231884 years. That is the year: 2005.231934 What is distance to object(0-4.6?) 2.50 What is the starting point (year) ?1969 Time to object=40.257648 years. That is the year: 2009.257690 jharvard@appliance (~/Dropbox):  


6 of 10 Last login: Tue Apr 5 20:29:12 on ttys000 /Users/ianbeardsley/Desktop/object\ run ; exit; Claires-MBP:~ ianbeardsley$ /Users/ianbeardsley/Desktop/object\ run ; exit; If we use alphacentauri as the key to our model, for modeling the future, then our task has been reduced, through the work I have done, to quite a simple one. growthrate=k=0.0621, objective=log 100/log e = 4.6 achievements, Tzero=1969 when we landed on the moon, which at 2009 is 0.552=.0.12(4.6) 1/0.55 = 1.8=9/5 = R/r = Au/Ag, putting us in the age of gold:silver Our equation is then, Time=(Object Achieved)/(Achievements/year) How many simulations would you like to run (10 max)? 4 What is distance to object(0-4.6?) 4 What is the starting point (year) ?1969 Time to object=64.412239 years. That is the year: 2033.412231 What is distance to object(0-4.6?) 0 What is the starting point (year) ?1969 Time to object=0.000000 years. That is the year: 1969.000000 What is distance to object(0-4.6?) 4.6 What is the starting point (year) ?1969 Time to object=74.074074 years. That is the year: 2043.074097 What is distance to object(0-4.6?) 4.5 What is the starting point (year) ?1969 Time to object=72.463768 years. That is the year: 2041.463745 logout [Process completed]


7 of 10 Last login: Tue Apr 5 20:29:12 on ttys000 /Users/ianbeardsley/Desktop/object\ run ; exit; Claires-MBP:~ ianbeardsley$ /Users/ianbeardsley/Desktop/object\ run ; exit; If we use alphacentauri as the key to our model, for modeling the future, then our task has been reduced, through the work I have done, to quite a simple one. growthrate=k=0.0621, objective=log 100/log e = 4.6 achievements, Tzero=1969 when we landed on the moon, which at 2009 is 0.552=. 0.12(4.6) 1/0.55 = 1.8=9/5 = R/r = Au/Ag, putting us in the age of gold:silver Our equation is then, Time=(Object Achieved)/(Achievements/year) How many simulations would you like to run (10 max)? 4 What is distance to object(0-4.6?) 4 What is the starting point (year) ?1969 Time to object=64.412239 years. That is the year: 2033.412231 What What Time That

is is to is

distance to object(0-4.6?) 0 the starting point (year) ?1969 object=0.000000 years. the year: 1969.000000

What What Time That

is is to is

distance to object(0-4.6?) 4.6 the starting point (year) ?1969 object=74.074074 years. the year: 2043.074097

What What Time That

is is to is

distance to object(0-4.6?) 4.5 the starting point (year) ?1969 object=72.463768 years. the year: 2041.463745

logout [Process completed] 


8 of 10


9 of 10


10 of 10 The Author


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.