Simple 01
description
Transcript of Simple 01
� of �3 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"); } }
� of �4 10
jharvard@appliance (~): cd Dropboxjharvard@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:silverOur equation is then, Time=(Object Achieved)/(Achievements/year)
How many simulations would you like to run (10 max)? 10What is distance to object(0-4.6?) 0.25What is the starting point (year) ?1969Time to object=4.025765 years.That is the year: 1973.025757
What is distance to object(0-4.6?) 0.50What is the starting point (year) ?1969Time to object=8.051530 years.That is the year: 1977.051514
What is distance to object(0-4.6?) 0.75What is the starting point (year) ?1969Time to object=12.077294 years.That is the year: 1981.077271
What is distance to object(0-4.6?) 1.00What is the starting point (year) ?1969Time to object=16.103060 years.That is the year: 1985.103027
What is distance to object(0-4.6?) 1.25What is the starting point (year) ?1969Time to object=20.128824 years.That is the year: 1989.128784
What is distance to object(0-4.6?) 1.50What is the starting point (year) ?1969Time to object=24.154589 years.That is the year: 1993.154541
What is distance to object(0-4.6?) 1.75What is the starting point (year) ?1969Time to object=28.180355 years.That is the year: 1997.180298
What is distance to object(0-4.6?) 2.00What is the starting point (year) ?1969
� of �5 10
Time to object=32.206120 years.That is the year: 2001.206177
What is distance to object(0-4.6?) 2.25What is the starting point (year) ?1969Time to object=36.231884 years.That is the year: 2005.231934
What is distance to object(0-4.6?) 2.50What is the starting point (year) ?1969Time to object=40.257648 years.That is the year: 2009.257690
jharvard@appliance (~/Dropbox):
� of �6 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:silverOur equation is then, Time=(Object Achieved)/(Achievements/year)
How many simulations would you like to run (10 max)? 4What is distance to object(0-4.6?) 4What is the starting point (year) ?1969Time to object=64.412239 years.That is the year: 2033.412231
What is distance to object(0-4.6?) 0What is the starting point (year) ?1969Time to object=0.000000 years.That is the year: 1969.000000
What is distance to object(0-4.6?) 4.6What is the starting point (year) ?1969Time to object=74.074074 years.That is the year: 2043.074097
What is distance to object(0-4.6?) 4.5What is the starting point (year) ?1969Time to object=72.463768 years.That is the year: 2041.463745
logout
[Process completed]
� of �7 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]