text:
User:Ray Calvin Baker/Kurzweil cpp

Since my Microsoft Visual C++ 6.0 (32-bit) compiler seems to be incompatible with my new laptop with Windows 7 (64-bit) OS, and since I have found that some of my old QBasic programs work wonderfully with the QB64 compiler, FREE from the Wikipedia, I have decided to make a fresh programming start. I need to port these programs to QB64 to continue. Ray Calvin Baker 04:02, 28 November 2011 (UTC) Begin Newsletter Source Code  // This is the "Kurzweil.cpp" file: // Defines the entry point for the console application. // // NO COPYRIGHT! This is a FREE public domain // INSTRUMENT OF MATH INSTRUCTION!

 * 1) include "stdafx.h"
 * 2) include

int Connections(int nOldIdeas); void Continue(void); int ContinueOrEsc(void); int PlayTheGame(int nOldIdeas);

int main(int argc, char* argv[]) { int nOldIdeas = 0;

printf("Hello World!\t\t// NO COPYRIGHT! This is a FREE public domain\n"); printf("Wake up, World!\t\t// INSTRUMENT OF MATH INSTRUCTION!\n\n");

printf("Carrying the idea of \"Simultaneous Book Reports\" (AKA \"Library Reports\"),\n"); printf("as begun in the Wikiversity Sandbox, in a conversation\n"); printf("between Simple Simon, Tour Guide Extraordinaire,\n"); printf("and THE PI-MAN (\"Yours Truly\"), one step further,\n"); printf("I submit this collection of ideas from various sources, entitled\n\n"); printf("POEM COMPOSED IN MICROSOFT VISUAL C++ 6.0 INTEGRATED DEVELOPMENT ENVIRONMENT\n\n"); printf("Thus begins the PROLOGUE of the epic journal,\n"); printf("_THE_LAST_B._S._HISTORY_BOOK_IN_HISTORY_\n"); printf("(where \"B. S.\" means \"Before the Singularity\").\n\n");

printf("Now is a good time to make this text window as big as possible.\n"); printf("There are small buttons \"_ [] X\" at the top right of this window.\n"); printf("Use the mouse to click on the \"[]\" button, then ...\n"); Continue;

printf("\nThis program is about as simple as programs get \n"); printf("-- no fancy graphics -- text only.\n"); printf("Its purpose is to present a game invented by Ray Kurzweil,\n"); printf("(Source: _Re-invent_, by Tom Peters, page 23)\n"); printf("adapted for second-grade level arithmetic by Ray Calvin Baker,\n"); printf("as a timely news report, for the edification of all.\n\n");

printf("HOW MANY ROUNDS OF THIS GAME CAN YOU PLAY?\n"); printf("(My computer starts giving nonsensical answers after only 9 rounds.)\n"); printf("(The ordinary rules break down at a \"SINGULARITY\".)\n\n"); printf("Before anyone objects, \"Second-graders aren't ready for this stuff!\",\n"); printf("please let me say, \"YOU aren't ready for this stuff!\"\n"); printf("The future is coming at us at 669,600,000 miles per hour,\n"); printf("and NONE of us are ready!\n\n"); printf("You are encouraged to use a calculator, \n"); printf("though the numbers may get too big, very fast.\n"); printf("Ask your teacher to make sure you \"make no mistake\" (a Presidential quote).\n"); printf("You may share this game with older children and adults, \n"); printf("but they may not believe your reports.\n"); printf("\"Who hath believed our report?\" -- Isaiah 53:1)\n");	printf("(\"And these signs will accompany those who believe....\" -- Jesus, Mark 16:17)\n\n");	printf("I'm not worried about \"no child left behind\" (another Presidential quote)\n");	printf("although I'm inclined to think that the quote means \n\"no progress for any child\"\n");	printf("-- I'm concerned about EVERYBODY LEFT BEHIND!\n\n");	Continue;

printf("\n\tTHE FIRST PART OF THE EXPLANATION OF THE GAME\n"); printf("\nHow fast do ideas grow? A very simple model suggests that ideas grow\n"); printf("about as fast as people (or computers) can make connections between them.\n\n"); printf("Let's try to understand how this works.\n"); printf("I'll start with 0 ideas.\n"); Continue;

printf("\nNumber of Old Ideas=%d; Number of connections=%d\n", nOldIdeas, Connections(nOldIdeas)); printf("That makes sense -- no old ideas; therefore, no connections!\n\n"); printf("Let's try the next number.\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n", nOldIdeas, Connections(nOldIdeas)); printf("This also makes sense; 1 old idea, but nothing to connect it to \n-- so, no connections!\n\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", nOldIdeas, Connections(nOldIdeas)); printf("That worked. Here's a diagram: O---O\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", nOldIdeas, Connections(nOldIdeas)); printf("That worked even better! Here's another diagram:\n"); printf(" O\n"); printf(" / \\ \n"); printf("O---O\n\n"); printf("If you keep doing this long enough, you will crash the computer.\n"); printf("(I got to 25200 before I got tired and pressed the \"Esc\" key.)\n");

printf("\nThe computer will be using a simple recipe to calculate \nthe number of connections.\n"); printf("1. Remember the number of old ideas.\n"); printf("2. Subtract 1 from the number of old ideas.\n"); printf("3. Multiply the result from step 2 by the number you remembered in step 1.\n"); printf("4. Divide the result from step 3 by the number 2.\n"); printf("5. The result from step 4 is the number of connections\n"); printf("That is clear-as-crystal math -- so simple a computer can do it!\n");

printf("Press the \"Esc\" key when you want to move on \nto the second part of the explanation.\n"); while ( ContinueOrEsc != 27 ) { nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", 			nOldIdeas, Connections(nOldIdeas)); } // wend

printf("\n\tSECOND PART OF THE EXPLANATION OF THE GAME\n\n"); printf("This part of the game is as simple as the recipe to calculate distance,\n"); printf("given rate of travel, and the time of travel.\n"); printf("The recipe: Multiply rate of travel, and the time of travel.\n"); printf("If the units you use are correct and consistent, \nthe result is distance traveled.\n"); printf("Example: Walk at a rate of 4 miles per hour for 2 hours. \nYou will travel 8 miles.\n"); printf("I will make use of some variations of this recipe.\n\n");

printf("We can start the game with 2 ideas. \nRay Kurzweil supposes that it took 1000\n"); printf("years to make the connection between these 2 ideas \nand create a \"paradigm shift\" --\n"); printf("a radical change in the way people think and do things.\n"); printf("(I used a little bit of AL GEBRA here. \nSurely you will want to study AL GEBRA!)\n"); printf("To go 8 miles at a rate of 4 miles per hour takes 2 hours.\n"); printf("To make a \"paradigm shift\" using 2 ideas takes 1000 years.\n"); printf("The way I make the numbers work is to divide 2000 by the number of old ideas\n"); printf("to calculate the length of time (in years) until the next \"paradigm shift\".\n"); Continue;

printf("\nToday's topic is NOT dimensional analysis, \n"); printf("but I said above, that the units should be correct and consistent.\n"); printf("I will \"make it so\", and demonstrate.\n"); printf("Distance (the unit is \"miles\")\n"); printf("Rate (unit is \"miles per hour\"\n");	printf("Time (unit is \"hours\")\n\n");	printf("Distance (miles) = Rate (miles) multiplied by Time (hours).\n");	printf("                       ---\n");	printf("                        (hour)\n\n");	printf("When the equation is written this way, dimensional analysis makes sense.\n");	printf("On the right side of the equation, \n(hours) above the --- line cancels (hour) below the line,\n");	printf("leaving only (miles), which is the correct unit for Distance.\n");

printf("I did some AL GEBRA to re-arrange the recipe. I ended up with:\n\n"); printf("Time (hours) = Distance (miles) divided by Rate (miles)\n"); printf("                                               ---\n"); printf("                                           per (hour)\n\n"); printf("When you learn to do arithmetic with fractions, \nyou will learn how to handle \"divided by\".\n"); printf("The relevant rule is \"turn the divisor upside-down, then multiply.\"\n"); printf("This puts my recipe into its final, useful form:\n\n"); printf("Time (hours) = Distance (miles) multiplied by     (hour)\n"); printf("                                                  ---\n"); printf("                                             Rate (miles)\n\n");

printf("The metaphorical equivalent of distance is 2000 ideas per \"paradigm shift\".\n"); printf("The metaphorical equivalent for rate is ideas per year.\n"); printf("We are trying to calculate Time Until the Next \"Paradigm Shift\" (in years).\n\n"); Continue;

printf("\nThe important recipe is:\n\n"); printf("Time (years)          =    2000 (ideas)            divided by (ideas)\n"); printf("    ---                     ---                       --- \n"); printf("per (\"paradigm shift\")      per (\"paradigm shift\")            (year)\n\n"); printf("\"Turn the divisor upside-down, then multiply.\" We get:\n\n"); printf("Time until     (years)     = 2000 (ideas)        multiplied by (year)\n"); printf("next \"paradigm shift\"             ---                      ---\n"); printf("                              per (\"paradigm shift\"            (idea)\n\n");	printf("But, today's topic is NOT dimensional analysis, so let's move on, \n");

printf("\n\tHOW TO PLAY THE GAME\n\n"); printf("1. Calculate the number of connections and \n"); printf("the time (in years) until the next \"paradigm shift\",\n"); printf("using the current number of ideas.\n"); printf("2. Add the number of connections to the current number of ideas\n"); printf("to get the number of ideas to use in the next round.\n"); printf("It's as simple as that. I'll start you off with 2 ideas.\n");

while ( ContinueOrEsc != 27 ) { static int n = 2; n = PlayTheGame(n); } // wend

printf("\n\n\tWHAT DOES IT MEAN?\n\n"); printf("You have just experienced a preview of what has been written \n"); printf("about in your weekly Church bulletin since 2008.\n\n"); printf("\"'I have a time for everything, I have a time set for it all,' says the Lord.\"\n\n");

printf("\"'This is your time,' God says, 'Because I said so.' 'It seemed like\n");	printf("those promises had fallen by the wayside, but they are coming to\n");	printf("pass.' The Holy Ghost says that it will happen FAST, it will happen \n");	printf("much faster. That's why you have to make sure that you are seeking\n");	printf("Me with all you've got because I'm going to bring about the prom-\n");	printf("ises that I have spoken over this place years back. Make sure you \n");	printf("are in the right place, make sure you stay there because it is going to\n");	printf("happen fast. The harvest is coming fast. Even the answers to your\n");	printf("prayers and things you've believed for are coming fast this year.\n");	printf("But I have to warn you, says the Holy Spirit, that the blessings are\n");	printf("coming fast, a harvest is coming fast, what you have believed for\n");	printf("and prayed for is coming fast, but also those things that have not\n"); printf("been done in the right way will be dealt with fast, as well.\"\n\n");	Continue;	printf("\nThe 2nd Annual \"Holy Smoke Barbeque Fesitival\" [sic] was going on this past \n");	printf("week, I recently read to my wife a reprint of a magazine article\n");	printf("describing the Eggstravaganza, the Wild Goose Hunt, Jesus Jam, and the\n");	printf("\"Holy Smoke Barbeque Fesitival\" -- activities supported by the Easton\n");	printf("Church of God as relevant Christian ministries in the 21st century.\n");	printf("(Source: =\"21st-Century Srategies for Implementing the Great Commission\",\n");	printf("by Priscilla Hilliard, Winter 2011 _engage_)\n");	printf("We both chuckled when I read the footnote at the end of the article -- \n");	printf("\"1. Rich Marshall, _God_at_Work:_Discovering_the_Anointing_for_Business_\n"); printf("(Shippensburg, Penn.: Destiny Image Publishers, Inc., 2000), 46.)\"\n");	printf("My wife had worked for Don Nori as a telemarketer for several years, \n");	printf("and two of our children had collated books for Destiny Image.\n\n");	printf("My daily readings in _The_Daily_Bible_ (Harvest House Publishers) \n");	printf("for this past week, by some curious coincidence, seemed\n");	printf("especially relevant to the high level of on-going activity.\n\n");	printf("(Source: Iaaiah 59:21 - 64:12)\n\n");

printf("PROMISE OF THE SPIRIT. \n"); printf("\"As for Me, this is My covenant with them,\"\n"); printf("says the LORD. \"My Spirit, who is on you, and my words that I have put\n");	printf("in your mouth will not depart from your mouth, or from the mouths of\n");	printf("your children, or from the mouths of their descendants from this time on\n");	printf("and forever,\" says the LORD.\n\n"); Continue;

printf("\nJULY 20 -- THE GLORY OF ZION. \n"); printf("(Portions of this passage are suitable for singing.)\n"); printf("\"Arise, shine, for your light has come,\n");	printf("\tand the glory of the LORD rises upon you.\n");	printf("See, darkness covers the earth\n");	printf("\tand thick darkness is over the peoples,\n");	printf("But the LORD rises upon you\n");	printf("\tand His glory appears over you.\n");	printf("Nations will come to your light,\n");	printf("\tand kings to the brightness of your dawn.\n\n");

printf("\"Lift up your eyes and look around you:\n");	printf("\tAll assemble and come near to you;\n");	printf("your sons come from afar,\n");	printf("\tand your daughters are carried on the arm.\n");	printf("Then you will look and be radiant,\n");	printf("\tyour heart will throb and swell with joy;\n");	printf("the wealth on the seas will be brought to you,\n");	printf("\tto you the riches of the nations will come.\n");	printf("Herds of camels will cover your land,\n");	printf("\tyoung camels of Midian and Ephah.\n");	printf("And all from Sheba will come,\n");	printf("\tbearing gold and incense\n");	printf("\tand proclaiming the praise of the LORD.\n");	printf("All Kedar's flocks will be gathered to you,\n");	printf("\tthe rams of Nebaioth will serve you;\n");	printf("they will be accepted as offerings on My altar,\n");	printf("\tand I will adorn My glorious temple.\n\n");	Continue;

printf("\n\"Who are these that fly along like clouds,\n");	printf("\tlike doves to their nests?\n");	printf("Surely the islands look to Me;\n");	printf("\tin the lead are the trading ships\n");	printf("bringing your sons from afar,\n");	printf("\twith their silver and gold,\n");	printf("to the honor of the LORD your God,\n");	printf("\tthe Holy One of Israel,\n");	printf("\tfor He has endowed you with splendor.\n\n");

printf("\"Foreigners will rebuild your walls,\n");	printf("\tand their kings will serve you,\n");	printf("Though in anger I struck you,\n");	printf("\tin favor I will show you compassion.\n");	printf("Your gates will always stand open,\n");	printf("\tthey will never be shut, day or night,\n");	printf("so that men may bring you the wealth of the nations--\n");	printf("\ttheir kings led in triumphal procession.\n");	printf("For the nation or kingdom that will not serve you will perish;\n");	printf("\tit will be utterly ruined.\n\n");

printf("\"The glory of Lebanon will come to you,\n");	printf("\tthe pine, the fir and the cypress together;\n");	printf("to adorn the place of My sanctuary;\n");	printf("\tand I will glorify the place of My feet.\n");	printf("The sons of your oppressors will come bowing before you;\n");	printf("\tall who despise you will bow down at your feet\n");	printf("and will call you The City of the LORD,\n");	printf("\tZion of the Holy One of Israel.\n\n");	Continue;

printf("\n\"Although you have been forsaken and hated,\n");	printf("\twith no one traveling through,\n");	printf("I will make you the everlasting pride\n");	printf("\tand the joy of all generations.\n");	printf("You will drink the milk of nations\n");	printf("\tand be nursed at royal breasts.\n");	printf("Then you will know that I, the LORD, am your Savior,\n");	printf("\tyour Redeemer, the Mighty One of Jacob.\n");	printf("Instead of bronze I will bring you gold,\n");	printf("\tand silver in place of iron.\n");	printf("Instead of wood I will bring you bronze,\n");	printf("\tand iron in place of stones.\n");	printf("I will make peace your governor\n");	printf("\tand righteousness your ruler.\n");	printf("No longer will violence be heard in your land,\n");	printf("\tnor ruin or destruction within your borders,\n");	printf("but you will call your walls Salvation\n");	printf("\tand your gates Praise.\n"); printf("The sun will no more be your light by day,\n"); printf("\tnor will the brightness of the moon shine on you,\n"); printf("For the LORD will be your everlasting light,\n"); printf("\tand your God will be your glory.\n"); printf("your sun will never set again,\n"); printf("\tand your moon will wane no more;\n"); printf("the LORD will be your everlasting light,\n"); printf("\tand your days of sorrow will end.\n"); printf("Then will all your people be righteous\n"); printf("\tand they will possess the land forever.\n"); printf("They are the shoot I have planted,\n"); printf("\tthe work of My hands,\n"); printf("\tfor the display of My splendor.\n"); printf("The least of you will become a thousand,\n"); printf("\tthe smallest a mighty nation.\n"); printf("I am the LORD;\n"); printf("\tin its time I will do this swiftly.\"\n\n");	Continue;

printf("\nISAIAH'S MISSION TO COMFORT.\n"); printf("The Spirit of the Sovereign LORD is on me,\n"); printf("\tbecause the LORD has anointed me\n"); printf("\tto preach good news to the poor.\n"); printf("He has sent me to bind up the brokenhearted,\n"); printf("\tto proclaim freedom for the captives\n"); printf("\tand release from darkness for the prisoners,\n"); printf("to proclaim the year of the Lord's favor\n"); printf("\tand the day of vengeance of our God,\n"); printf("to comfort all who mourn,\n"); printf("\tand provide for those who grieve in Zion--\n"); printf("to bestow on them a crown of beauty\n"); printf("\tinstead of ashes,\n"); printf("the oil of gladness\n"); printf("\tinstead of mourning,\n"); printf("and a garment of praise\n"); printf("\tinstead of a spirit of despair.\n\n"); Continue;

printf("\nTHE MESSAGE OF HOPE.\n"); printf("They will be called oaks of righteousness,\n"); printf("\ta planting of the LORD\n"); printf("\tfor the display of His splendor.\n\n");

printf("They will rebuild the ancient ruins\n"); printf("\tand restore the places long devastated;\n"); printf("they will renew the ruined cities\n"); printf("\tthat have been devastated for generations,\n"); printf("Aliens will shepherd your flocks;\n"); printf("\tforeigners will work your fields and vineyards.\n"); printf("And you will be called priests of the LORD,\n"); printf("\tyou will be named ministers of our God.\n"); printf("You will feed on the wealth of nations,\n"); printf("\tand in their riches you will boast.\n\n");

printf("Instead of their shame\n"); printf("\tMy people will receive a double portion,\n"); printf("and instead of disgrace\n"); printf("\tthey will rejoice in their inheritance;\n"); printf("and so they will inherit a double portion in their land,\n"); printf("\tand everlasting joy will be theirs.\n\n");

printf("For I, the LORD, love justice;\n"); printf("\tI hate robbery and iniquity.\n"); printf("In My faithfulness I will reward them\n"); printf("\tand make an everlasting covenant with them.\n"); printf("Their descendants will be known among the nations\n"); printf("\tand their offspring among the peoples.\n"); printf("All who see them will acknowledge \n"); printf("\tthat they are a people the LORD has blessed.\n\n");

printf("\nPRAISE FOR SALVATION.\n"); printf("I delight greatly in the LORD;\n"); printf("\tmy soul rejoices in my God,\n"); printf("For He has clothed me with garments of salvation\n"); printf("\tand arrayed me in a robe of righteousness,\n"); printf("as a bridegroom adorns his head like a priest,\n"); printf("\tand as a bride adorns herself with her jewels,\n"); printf("For as the soil makes the sprout come up\n"); printf("\tand a garden causes seeds to grow,\n"); printf("so the Sovereign LORD will make righteousness and praise\n"); printf("\tspring up before all nations.\n\n"); Continue;

printf("\nTHE BRIDE'S NEW NAME.\n"); printf("For Zion's sake I will not keep silent,\n"); printf("\tfor Jerusalem's sake I will not remain quiet,\n"); printf("till her righteousness shines out like the dawn,\n"); printf("\ther salvation like a blazing torch.\n"); printf("The nations will see your righteousness,\n"); printf("\tand all kings your glory;\n"); printf("you will be called by a new name\n"); printf("\tthat the mouth of the LORD will bestow.\n"); printf("You will be a crown of splendor in the LORD's hand,\n"); printf("\ta royal diadem in the hand of your God.\n"); printf("No longer will they call you Deserted,\n"); printf("\tor name your land Desolate.\n"); printf("But you will be called Hephzibah,\n"); printf("\tand your land Beulah;\n"); printf("for the LORD will take delight in you,\n"); printf("\tand your land will be married.\n"); printf("As a young man married a maiden,\n"); printf("\tso will your sons marry you;\n"); printf("as a bridegroom rejoices over his bride,\n"); printf("\tso will your God rejoice over you.\n\n"); Continue;

printf("\nTHE HOLY AND REDEEMED\n"); printf("I have posted watchmen on your walls, O Jerusalem;\n"); printf("\tthey will never be silent day or night,\n"); printf("You who call on the LORD,\n"); printf("\tgive yourselves no rest,\n"); printf("and give Him no rest till He establishes Jerusalem\n"); printf("\tand makes her the praise of the earth.\n\n"); printf("The LORD has sworn by His right hand\n"); printf("\tand by His mighty arm:\n"); printf("\"Never again will I give your grain\n");	printf("\tas food for your enemies,\n");	printf("and never again will foreigners drink the new wine\n");	printf("\tfor which you have toiled;\n");	printf("but those who harvest it will eat it\n");	printf("\tand praise the LORD,\n");	printf("and those who gather the grapes will drink it\n");	printf("\tin the courts of my sanctuary.\"\n\n");

printf("Pass through, pass through the gates!\n"); printf("\tPrepare the way for the people.\n"); printf("Build up, build up the highway!\n"); printf("\tRemove the stones.\n"); printf("Raise a banner for the nations.\n\n");

printf("The LORD has made proclamation\n"); printf("\tto the ends of the earth;\n"); printf("\"Say to the Daughter of Zion,\n");	printf("\t'See, your Savior comes!\n");	printf("See, His reward is with Him,\n");	printf("\tand His recompense accompanies Him.'\"\n"); printf("They will be called the Holy People,\n"); printf("\tthe Redeemed of the LORD;\n"); printf("and you will be called Sought After,\n"); printf("\tthe City No Longer Deserted.\n\n"); Continue;

printf("\nVENGEANCE AGAINST WICKED.\n"); printf("Who is this coming from Edom,\n"); printf("\tfrom Bozrah, with His garments stained crimson?\n"); printf("Who is this, robed in splendor,\n"); printf("\tstriding forward in the greatness of His strength?\n\n");

printf("\"It is I, speaking in righteousness,\n");	printf("\tmighty to save.\"\n\n");

printf("Why are your garments red,\n"); printf("\tlike those of One treading the winepress?\n\n");

printf("\"I have trodden the winepress alone;\n");	printf("\tfrom the nations no one was with Me.\n");	printf("I trampled them in My anger\n");	printf("\tand trod them down in My wrath;\n");	printf("their blood spattered My garments,\n");	printf("\tand I stained all My clothing.\n");	printf("For the day of vengeance was in My heart,\n");	printf("\tand the year of My redemption has come.\n");	printf("\"I looked, but there was no one to help,\n"); printf("\tI was appalled that no one gave support;\n"); printf("So My own arm worked salvation for Me,\n"); printf("\tand My own wrath sustained Me.\n"); printf("I trampled the nations in My anger;\n"); printf("\tin My wrath I made them drunk\n"); printf("\tand poured their blood on the ground.\"\n\n");	Continue;

printf("\nKINDNESS TO RIGHTEOUS.\n"); printf("I will tell of the kindnesses of the LORD,\n"); printf("\tthe deeds for which He is to be praised,\n"); printf("\taccording to all the LORD has done for us -- \n"); printf("yes, the many good things He has done\n"); printf("\tfor the house of Israel,\n"); printf("\taccording to His compassion and many kindnesses.\n"); printf("He said, \"Surely they are my people,\n");	printf("\tsons who will not be false to Me\";\n"); printf("\tand so He became their Savior.\n"); printf("In all their distress He too was distressed,\n"); printf("\tand the angel of His presence saved them.\n"); printf("In His love and mercy He redeemed them,\n"); printf("\tHe lifted them up and carried them\n"); printf("\tall the days of old.\n\n");

printf("\nWRATH AGAINST REBELLIOUS.\n"); printf("Yet they rebelled\n"); printf("\tand grieved His Holy Spirit.\n"); printf("So He turned and became their enemy\n"); printf("\tand He Himself fought against them.\n\n"); Continue;

printf("\nGOD'S PROTECTION REMEMBERED.\n"); printf("Then His people recalled the days of old,\n"); printf("\tthe days of Moses and his people --\n"); printf("where is He who brought them through the sea,\n"); printf("\twith the shepherd of His flock?\n"); printf("Where is He who set\n"); printf("\tHis Holy Spirit among them,\n"); printf("who sent His glorious arm of power\n"); printf("\tto be at Moses' right hand,\n"); printf("Who divided the waters before them,\n"); printf("\tto gain for Himself everlasting renown,\n"); printf("Who led them through the depths?\n"); printf("Like a horse in open country,\n"); printf("\tthey did not stumble;\n"); printf("like cattle that go down to the plain,\n"); printf("\tthey were given rest by the Spirit of the LORD,\n"); printf("This is how You guided Your people\n"); printf("\tto make for Yourself a glorious name!\n\n"); Continue;

printf("\nISRAEL'S PRAYER TO GOD.\n"); printf("Look down from heaven and see\n"); printf("\tfrom Your lofty throne, holy and glorious,\n"); printf("Where are Your zeal and Your might?\n"); printf("\tYour tenderness and compassion are withheld from us.\n"); printf("But You are our Father,\n"); printf("\tthough Abraham does not know us\n"); printf("\tor Israel acknowledge us;\n"); printf("You, O LORD, are our Father,\n"); printf("\tour Redeemer from of old is Your name.\n"); printf("Why, O LORD, do You make us wander from Your ways\n"); printf("\tand harden our hearts that we do not revere You?\n"); printf("Return for the sake of Your servants,\n"); printf("\tthe tribes that are Your inheritance,\n"); printf("For a little while Your people possessed Your holy place,\n"); printf("\tbut now our enemies have trampled down Your sanctuary.\n"); printf("We are Yours from of old;\n"); printf("\tbut You have not ruled over them,\n"); printf("\tthey have not been called by Your name.\n\n"); Continue;

printf("\nOh, that You would rend the heavens and come down,\n"); printf("\tthat the mountains would tremble before You!\n"); printf("As when fire sets the twigs ablaze\n"); printf("\tand causes water to boil,\n"); printf("come down to make Your name known to Your enemies\n"); printf("\tand cause the nations to quake before You!\n"); printf("For when You did awesome things that we did not expect,\n"); printf("\tYou came down, and the mountains trembled before You.\n"); printf("Since ancient times no one has heard,\n"); printf("\tno ear has perceived,\n"); printf("no eye has seen any God besides You,\n"); printf("\tWho acts on behalf of those who wait for Him.\n"); printf("You come to the help of those who gladly do right,\n"); printf("\twho gremember Your ways,\n"); printf("But when we continued to sin against them,\n"); printf("\tYou were angry.\n"); printf("\tHow then can we be saved?\n"); printf("All of us have become like one who is unclean,\n"); printf("\tand all our righteous acts are like filthy rags,\n"); printf("we all shrivel up like a leaf,\n"); printf("\tand like the wind our sins sweep us away.\n"); printf("No one calls on Your name\n"); printf("\tor strives to lay hold of You;\n"); printf("for You have hidden Your face from us\n"); printf("\tand made us waste away because of our sins.\n\n");

printf("Yet, O LORD, You are our Father.\n"); printf("\tWe are the clay, You are the potter,\n"); printf("\twe are all the work of Your hand.\n"); printf("Do not be angry beyond measure, O LORD;\n"); printf("\tdo not remember our sins forever.\n"); printf("Oh, look upon us, we pray,\n"); printf("\tfor we are all Your people.\n"); printf("Your sacred cities have become a desert;\n"); printf("\teven Zion is a desert, Jerusalem a desolation,\n"); printf("Our holy and glorious temple, where our fathers praised You,\n"); printf("\thas been burned with fire,\n"); printf("\tand all that we treasured lies in ruins.\n"); printf("After all this, will You hold Yourself back?\n"); printf("\tWill You keep silent and punish us beyond measure?\n"); Continue; printf("\nJULY 21 -- GOD EXPLAINS JUDGMENT.\n"); printf("I revealed Myself to those who did not ask for Me,\n"); printf("\tI was found by those who did not seek Me.\n"); printf("To a nation that did not call on My name,\n"); printf("\tI said, 'Here am I, here am I.'\n"); printf("All day long I have held out My hands\n"); printf("\tto an obstinate people,\n"); printf("Who walk in ways not good,\n"); printf("\tpursuing their own imaginations --\n"); printf("a people who continually provoke Me\n"); printf("\tto My very face,\n"); printf("offering sacrifices in gardens\n"); printf("\tand burning incense on altars of brick;\n"); printf("who sit among the graves\n"); printf("\tand spend their nights keeping secret vigil;\n"); printf("who eat the flesh of pigs,\n"); printf("\tand whose pots hold broth of unclean meat;\n"); printf("who say, 'Keep away, don't come near me,\n"); printf("\tfor I am too sacred for you!'\n"); printf("Such people are smoke in My nostrils,\n"); printf("\ta fire that keeps burning all day.\n\n");

printf("\"See, it stands written before Me:\n");	printf("\tI will not keep silent but will pay back in full;\n");	printf("\tI will pay it back into their laps --\n");	printf("both your sins and the sins of your fathers,\"\n"); printf("\tsays the LORD.\n"); printf("\"Because they burned sacrifices on the mountains\n");	printf("\tand defied Me on the hills,\n");	printf("I will measure into their laps\n");	printf("\tthe full payment for their former deeds.\"\n\n"); Continue;

printf("\nSALVATION OF REMNANT.\n"); printf("This is what the LORD says:\n"); printf("\"As when juice is still found in a cluster of grapes\n");	printf("\tand men say, 'Don't destroy it,\n");	printf("\tthere is yet some good in it,'\n");	printf("so will I do on behalf of My servants;\n");	printf("\tI will not destroy them all.\n");	printf("I will bring forth descendants from Jacob,\n");	printf("\tand from Judah those who will inherit My mountains;\n");	printf("My chosen people will inherit them,\n");	printf("\tand there will My servants live.\n");	printf("Sharon will become a pasture for flocks,\n");	printf("\tand the Valley of Achor a resting place for herds,\n");	printf("\tfor My people who seek Me.\n\n");	Continue;	printf("\nNO MERCY FOR UNREPENTANT.\n");	printf("\"But as for you who forsake the LORD\n"); printf("\tand forget My holy mountain,\n"); printf("Who spread a table for Fortune\n"); printf("\tand fill bowls of mixed wine for Destiny,\n"); printf("I will destine you for the sword,\n"); printf("\tand you will all bend down for the slaughter;\n"); printf("for I called but you did not answer,\n"); printf("\tI spoke but you did not listen.\n"); printf("You did evil in My sight\n"); printf("\tand chose what displeases Me.\"\n\n");	Continue;

printf("\nBLESSINGS FOR SERVANTS.\n"); printf("Therefore this is what the Soverign LORD says:\n"); printf("\"My servants will eat,\n");	printf("\tbut you will go hungry;\n");	printf("My servants will drink,\n");	printf("\tbut you will go thirsty;\n");	printf("My servants will rejoice,\n");	printf("\tbut you will be put to shame.\n");	printf("Ny servants will sing \n");	printf("\tout of the joy of their hearts,\n");	printf("but you will cry out\n");	printf("\tfrom anguish of heart\n");	printf("\tand wail in brokenness of spirit.\n");	printf("You will leave your name\n");	printf("\tto My chosen ones as a curse;\n");	printf("the Soverign LORD will put you to death,\n");	printf("\tbut to His servants He will give another name.\n");	printf("Whoever invokes a blessing in the land\n");	printf("\twill do so by the God of truth;\n");	printf("he who takes an oath in the land\n");	printf("\twill swear by the God of truth.\n");	printf("For the past troubles will be forgottrn\n");	printf("\tand hidden from My eyes.\n\n"); Continue;

printf("\nNEW HEAVEN AND EARTH.\n"); printf("\"Behold, I will create\n");	printf("\tnew heavens and a new earth.\n");	printf("The former things will not be remembered,\n");	printf("\tnor will they come to mind.\n");	printf("But be glad and rejoice forever\n");	printf("\tin what I will create,\n");	printf("for I will create Jerusalem to be a delight\n");	printf("\tand its people a joy.\n");	printf("I will rejoice over Jerusalem\n");	printf("\tand take delight in My people;\n");	printf("the sound of weeping and of crying\n");	printf("\twill be heard in it no more.\n\n");

printf("\"Never again will there be in it\n");	printf("\tan infant who lives but a few days,\n");	printf("\tor an old man who does not live out his years;\n");	printf("he who dies at a hundred\n");	printf("\twill be thought a mere youth;\n");	printf("he who fails to reach a hundred\n");	printf("\twill be considered accursed.\n");	printf("They will build houses and dwell in them;\n");	printf("\tthey will plant vineyards and eat their fruit.\n");	printf("No longer will they build houses and others live in them,\n");	printf("\tor plant and others eat.\n");	printf("For as the days of a tree,\n");	printf("\tso will be the days of My people;\n");	printf("My chosen ones will long enjoy\n");	printf("\tthe works of their hands.\n");	printf("They will not toil in vain\n");	printf("\tor bear children doomed to misfortune;\n");	printf("for they will be a people blessed by the LORD,\n");	printf("\tthey and their descendants with them.\n"); printf("Before they call I will answer;\n"); printf("\twhile they are still speaking I will hear.\n"); printf("The wolf and the lamb will feed together,\n"); printf("\tand the lion will eat straw like an ox,\n"); printf("\tbut dust will be the serpent's food.\n"); printf("They will neither harm nor destroy\n"); printf("\tin all My holy mountain,\"\n");	printf("\t\tsays the LORD.\n\n");	Continue;

printf("\nGOD'S MAJESTY AND POWER.\n"); printf("This is what the LORD says:\n"); printf("\"Heaven is My throne,\n");	printf("\tand the earth is My footstool.\n");	printf("Where is the house you will build for Me?\n");	printf("\tWhere will My resting place be?\n");	printf("Has not My hand made all these things,\n");	printf("\tand so they came into being?\"\n"); printf("\t\tdeclares the LORD.\n\n");

printf("\"This is the one I esteem:\n");	printf("\the who is humble and contrite in spirit,\n");	printf("\tand trembles at My word.\n\n");	Continue;

printf("\nGOD'S ENEMIES WILL FALL.\n"); printf("(compare these verses with I Samuel 15:22-23)\n"); printf("But whoever sacrifices a bull\n"); printf("\tis like one who kills a man,\n"); printf("and whoever offers a lamb,\n"); printf("\tlike one who breaks a dog's neck;\n"); printf("whoever makes a grain offering\n"); printf("\tis like one who presents pig's blood,\n"); printf("and whoever burns memorial incense,\n"); printf("\tlike one who worships an idol.\n"); printf("They have chosen their own ways,\n"); printf("\tand their souls delight in their abominations;\n"); printf("so I also will choose harsh treatment for them\n"); printf("\tand will bring upon them what they dread.\n"); printf("For when I called, no one answered,\n"); printf("\twhen I spoke, no one listened.\n"); printf("They did evil in My sight\n"); printf("\tand chose what displeases Me.\n\n");

printf("Hear the word of the LORD,\n"); printf("\tyou who tremble at His word:\n"); printf("\"Your brothers who hate you,\n");	printf("\tand exclude you because of My name, have said,\n");	printf("'Let the LORD be glorified,\n");	printf("\tthat we may see your joy!'\n");	printf("\tYet they will be put to shame.\n");	printf("Hear that uproar from the city,\n");	printf("\thear that noise from the temple!\n");	printf("It is the sound of the LORD\n");	printf("\trepaying His enemies all they deserve.\n\n");	Continue;

printf("\nBELIEVERS WILL BE REWARDED.\n"); printf("Before she goes into labor,\n"); printf("\tshe gives birth;\n"); printf("before the pains come upon her,\n"); printf("\tshe delivers a son.\n"); printf("Who has ever heard of such a thing?\n"); printf("\tWho has ever seen such things?\n"); printf("Can a country be born in a day\n"); printf("\tor a nation be brought forth in a moment?\n"); printf("Yet no sooner is Zion in labor\n"); printf("\tthan she gives birth to her children.\n"); printf("Do I bring to the moment of birth\n"); printf("\tand not give delivery?\" says the LORD.\n");	printf("\"Do I close up the womb\n"); printf("\twhen I bring to delivery?\" says your God.\n");	printf("\"Rejoice with Jerusalem and be glad for her.\n"); printf("\tall you who love her;\n"); printf("rejoice greatly with her,\n"); printf("\tall you who mourn over her.\n"); printf("For you will nurse and be satisfied\n"); printf("\tat her comforting breasts;\n"); printf("you will drink deeply\n"); printf("\tand delight in her overflowing abundance.\"\n\n");

printf("For this is what the LORD says:\n"); printf("I will extend peace to her like a river,\n"); printf("\tand the wealth of nations like a flooding stream;\n"); printf("you will nurse and be carried on her arm\n"); printf("\tand dandled on her knees.\n"); printf("As s mother comforts her child,\n"); printf("\tso will I comfort you;\n"); printf("\tand you will be comforted over Jerusalem.\"\n\n");

printf("When you see this, your heart will rejoice\n"); printf("\tand you will flourish like grass;\n"); printf("the hand of the LORD will be made known to His servants,\n"); printf("\tbut His fury will be shown to His foes.\n\n"); Continue;

printf("\nDESTRUCTION OF WICKED.\n"); printf("See, the LORD is coming with fire,\n"); printf("\tand his chariots are like a whirlwind;\n"); printf("He will bring down His anger with fury,\n"); printf("\tand His rebuke with flames of fire.\n"); printf("For with fire and with His sword\n"); printf("\tthe LORD will execute judgment upon all men,\n"); printf("\tand many will be those slain by the LORD.\n\n");

printf("\t\"Those who consecrate and purify themselves to go into the gardens,\n");	printf("following tho one in the midst of those who eat the flesh of pigs and rats\n");	printf("and other abominable things -- they will meet their end together,\" declares\n"); printf("the LORD.\n\n"); Continue;

printf("\nSURVIVORS TO BE EVANGELISTS.\n"); printf("\"And I, because of their actions and\n");	printf("their imaginations, am about to come and gather all nations and tongues,\n");	printf("and they will come and see my glory.\n\n");

printf("\t\"I will set a sign among them, and I will send some of those who \n");	printf("survive to the nations -- to Tarshish, to the Libyans and Lydians (famous as\n");	printf("archers), to Tubal and Greece, and to the distant islands which have not\n");	printf("heard of My fame or seen My glory. They will proclaim My glory among\n");	printf("the nations. And they will bring all your brothers, from all the nations, to\n");	printf("My holy mountain in Jerusalem as an offering to the LORD -- on horses, in\n");	printf("chariots and wagons, and on mules and camels,\" says the LORD. \"They\n");	printf("will bring them, as the Israelites bring their grain offerings, to the temple\n");	printf("of the LORD in ceremonially clean vessels. And I will select some of them\n");	printf("also to be priests and Levites,\" says the LORD.\n\n");

printf("\nETERNAL LIFE AND DEATH.\n"); printf("\t\"As the new heavens and the new earth\n");	printf("that I make will endure before Me,\" declares the LORD, \"so will your name\n");	printf("and descendants endure. From one New Moon to another and from one\n");	printf("Sabbath to another, all mankind will come and bow down before Me,\"\n"); printf("says the LORD. \"And they will go out and look upon the dead bodies of\n");	printf("those who rebelled against Me; their worm will not die, nor will their fire\n");	printf("be quenched, and they will be loathsome to all mankind.\"\n\n"); Continue;

printf("\nFYI: The Singularity and the Second Coming of Christ are two distinctly \n"); printf("different events; one human, the other, divine. I cannot predict the exact \n"); printf("timetable for either event.\n\n");

printf("\nI hear in the previous passage a call to flourish in our stewardship,\n"); printf("whatever happens, but, above all, \"Occupy until I come!\".\n\n");

printf("Have I not commanded thee, be strong, of good courage.\n"); printf("Be not afraid, nor be thou dismayed,\n"); printf("For the LORD thy God is with thee, whithersoever thou goest.\n");

printf("\nI have seen one of the signs of the times, and it said,\n"); printf("\"Eglesia de Dios Torre Fuerte\n");	printf("'Yo soy el camino, la verdad y la vida; Nadie viene al padre\n");	printf("si no as por mi.\" -- San Juan 14 - 6\n\n"); Continue; return 0; } // End main.

int Connections(int nOldIdeas) { return nOldIdeas * (nOldIdeas - 1) / 2; } // End Connections.

void Continue(void) { int nChar;

printf("Press the \"Enter\" key to continue."); nChar = _getche; printf("\n"); } // End Continue.

int ContinueOrEsc(void) { int nChar;

printf("Press the \"Enter\" key (or \"Esc\") to continue."); nChar = _getche; printf("\n"); return nChar; } // End ContinueOrEsc.

int PlayTheGame(int nOldIdeas) { static int nRound = 1; int nConnections = Connections(nOldIdeas); double dTimeToPS = (double) 2000.0 / (double) nOldIdeas;

printf("\nRound	Number		Number of		Time until	\n"); printf("Number	of Ideas	Connections		Next P.S.	\n"); printf("%d	%d		%d			%f years\n", 			nRound, nOldIdeas, nConnections, dTimeToPS); switch ( nRound ) { case 1: printf("(The \"stone age\")\n"); break; case 2: printf("(The \"iron age\")\n"); break; case 3: printf("(The \"Industrial Revolution\"! Calculus was invented!)\n"); break; case 4: printf("Many major technologies of the 20th century went \nOBSOLETE within 50 years!\n"); break; case 5: printf("New version of Microsoft windows operating system every few years!\n"); break; case 6: printf("One of the numbers got too big for its alloted space!\n"); printf("0.074638 years = 27.24287 days\n"); break; case 7: printf("Another number got too big for its alloted space!\n"); printf("0.000006 years = 3.1536 MINUTES!\n"); break; case 8: printf("0.000003 years = 94 SECONDS!\n"); break; case 9: printf("0.000001 years = 31.536 SECONDS!\n"); printf("There was more intellectual invention in those few seconds\n"); printf("than in ALL OF HISTORY before you were born!\n"); printf("(P. s. Computer overflow!\n");		printf("Did you notice we're about 1000000000 connections short here!)\n"); break; case 10: printf("Computer overflow (again!)! This answer is SHEER NONSENSE!\n"); break; default: break; } // end switch. nRound++; return nConnections + nOldIdeas; } // End PlayTheGame(int nOldIdeas);

// ENd of the "Kurzweil.cpp" file.

=End= Newsletter Source Code

title: User:Ray Calvin Baker/Kurzweil cpp


text:
User:Ray Calvin Baker/Recursive cpp

Ray Calvin Baker 04:05, 28 November 2011 (UTC) New page for C++ source code -- to be ported to QB64, if/when I can do it.  // RECURSIVE.cpp : Defines the entry point for the console application. //

 * 1) include "stdafx.h"

// For _getche, etc.
 * 1) include

// Function prototypes: int All        (int nTries); int Cheese     (int nTries); int Coffee     (int nTries); int Endive     (int nTries); // X int  Esoresso   (int nTries); // X int  HarryPotter(int nTries); int Macaroni   (int nTries); int Pasta      (int nTries); int RedBaron   (int nTries); int Repast     (int nTries); int Sauce      (int nTries); void SensibleKey(void); int Shad       (int nTries); int Sharp      (int nTries); int Spiced     (int nTries); int Tomatoes   (int nTries);

int main(int argc, char* argv[]) {

printf("Hello World!\n"); printf("I want to explore the process of RECURSION.\n\n");

printf("TOMATOES\n"); printf("Iteration 0\n"); Tomatoes(0); SensibleKey;

printf("Iteration 1\n"); Tomatoes(1); SensibleKey;

printf("Iteration 2\n"); Tomatoes(2); SensibleKey;

printf("Iteration 3\n"); Tomatoes(3); SensibleKey;

printf("Iteration 4\n"); Tomatoes(4); SensibleKey;

printf("Iteration 5\n"); Tomatoes(5); SensibleKey;

printf("RED BARON\n"); printf("Iteration 0\n"); RedBaron(0); SensibleKey;

printf("Iteration 1\n"); RedBaron(1); SensibleKey;

printf("Iteration 2\n"); RedBaron(2); SensibleKey;

printf("Iteration 3\n"); RedBaron(3); SensibleKey;

printf("Iteration 4\n"); RedBaron(4); SensibleKey;

printf("HARRY POTTER\n"); printf("Iteration 0\n"); HarryPotter(0); SensibleKey;

printf("Iteration 1\n"); HarryPotter(1); SensibleKey;

printf("Iteration 2\n"); HarryPotter(2); SensibleKey;

printf("Iteration 3\n"); HarryPotter(3); SensibleKey;

printf("Iteration 4\n"); HarryPotter(4); SensibleKey;

printf("Iteration 5\n"); HarryPotter(5); SensibleKey;

return 0; } // End main..

int All(int nTries) { if ( nTries == 0 ) { printf(" a luscious lunch "); return 0; } else { printf(" a luscious lunch "); return nTries - 1; } // endifelse. } // End All.

int Cheese(int nTries) { if ( nTries == 0 ) { printf("cheddar, havarti, emmenthaler (especially ");		Sharp(0);		printf(" emmenthaler)"); return 0; } else { printf("cheddar, havarti, emmenthaler (especially ");		Sharp(nTries - 1);		printf(" emmenthaler)"); return nTries - 1; } // endifelse. } // End Cheese.

int Coffee(int nTries) { if ( nTries == 0 ) { printf("choice of fine flavors, especially ESPRESSO "); return 0; } else { printf("choice of fine flavors, especially ESPRESSO "); return nTries - 1; } // endifelse. } // End Coffee.

int HarryPotter(int nTries) { if ( nTries == 0 ) { printf("I recurse you, HarryPotter the ignorant, HarryPotter the distraction!\n"); return 0; } else { printf("I recurse you, "); HarryPotter(nTries - 1); printf(" the ignorant, "); HarryPotter(nTries - 1); printf(" the distraction!\n");

return nTries - 1; } // endifelse. } // End HarryPotter.

int Macaroni(int nTries) { if ( nTries == 0 ) { printf("MACARONI and "); Cheese(0); printf(" (a ");		Repast(0);		printf(" of Naples, Italy)"); return 0; } else { Macaroni(nTries - 1); printf(" and "); Cheese(nTries - 1); printf(" (a ");		Repast(nTries - 1);		printf(" of Naples, Italy)");

return nTries - 1; } // endifelse. } // End Macaroni.

int Pasta(int nTries) { if ( nTries == 0 ) { printf("PASTA and "); Sauce(0); printf("(that's ALL!)"); return 0; } else { Pasta(nTries - 1); printf(" and "); Sauce(nTries - 1); printf("(that's ALL!)"); return nTries - 1; } // endifelse. } // End Pasta.

int RedBaron(int nTries) { if ( nTries == 0 ) { printf("I recurse you, RedBaron, in your RedBaron biplane!\n"); return 0; } else { printf("I recurse you, "); RedBaron(nTries - 1); printf(", in your "); RedBaron(nTries - 1); printf(" biplane!\n"); return nTries - 1; } // endifelse. } // End RedBaron.

int Repast(int nTries) { if ( nTries == 0 ) { printf("rather extraordinary "); Pasta(0); printf(" and "); Sauce(0); printf(" typical"); return 0; } else { printf("rather extraordinary "); Pasta(nTries - 1); printf(" and "); Sauce(nTries - 1); printf(" typical"); return nTries - 1; } // endifelse. } // End Repast.

int Sauce(int nTries) { if ( nTries == 0 ) { Shad(0); printf(" and unusual "); Coffee(0); printf(" (eccellente!) "); return 0; } else { Shad(nTries - 1); printf(" and unusual "); Coffee(nTries - 1); printf(" (eccellente!) "); return nTries - 1; } // endifelse. } // End Sauce.

void SensibleKey(void) { int nIn;

printf("\nPlease press any \"sensible\" key. "); nIn = _getche; printf("\nThank you for the '%c' = %d.\n", nIn, nIn); } // End SensibleKey.

int Shad       (int nTries) { if ( nTries == 0 ) { printf(" SPAGHETTI, heated el dente "); return 0; } else { printf(" SPAGHETTI, heated el dente "); return nTries - 1; } // endifelse. } // End Shad.

int Sharp(int nTries) { if ( nTries == 0 ) { printf(" strong, hearty, and rather pungent "); return 0; } else { printf(" strong, hearty, and rather pungent "); return nTries - 1; } // endifelse. } // End Sharp.

int Spiced     (int nTries) { if ( nTries == 0 ) { printf(" sweetly pickled in CHEESE ENDIVE dressing "); return 0; } else { printf(" sweetly pickled in CHEESE ENDIVE dressing "); return nTries - 1; } // endifelse. } // End Spiced.

int Tomatoes(int nTries) { if ( nTries == 0 ) { printf(" TOMATOES on MACARONI (and TOMATOES only), exquisitely SPICED "); return 0; } else { Tomatoes(nTries - 1); printf(" on "); Macaroni(nTries - 1); printf(" and "); Tomatoes(nTries - 1); printf(" only), exquisitely ");		Spiced(nTries - 1);		printf(".\n");		return nTries - 1;	} // endifelse. } // End Tomatoes.

// End of the RECURSIVE.cpp file.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

title: User:Ray Calvin Baker/Recursive cpp


text: File:Crankshaft for a Sterlin Eng project.jpg


text:
Journal of Sport and Exercise Studies/Business, Politics and Sport 2011

This is the first edition of the Journal of Sport and Exercise Studies. It is a special online open edition deriving from the essay assignment in the subject Business, politics and sport, held at the University of Canberra in 2011.

There are eleven articles here, chosen from a total of ninety-five articles submitted during the unit. They include some very impressive presentations too.

Two of the articles make compelling cases for new Olympic sports in Cheerleading and Pole Dancing. A further article lauds the potential of Dodgeball. Three articles address important governance issues. Three articles raise ethical issues in sport. One article explores celebrity endorsements in sport. The eleventh article in the journal discusses hooliganism in sport.

Thanks to all those who have offered their work to this edition of the Journal of Sport and Exercise Studies, we hope you're as proud as we are.

Keith Lyons

Articles

 * 1) /Making Cheerleading an Official Sport/ - Gus Gardner
 * 2) /Sport Celebrity Endorsements/ - U3017206
 * 3) /The Intersection of Politics and Business in Rugby Union/ - Antperry
 * 4) /The changing landscape of Rugby League in Australia/ - Josh O'Brien
 * 5) /The Introduction of Change to National Rugby League/ - SamN90
 * 6) /Is Pole Dancing an Olympic Sport?/ - Caren Hugginson
 * 7) /A Separate ‘Legal Doping’ Sport Competition/ - Reece.V
 * 8) /The Effect of Animal Cruelty Allegations in Sport/ - Rhiannon Stephens
 * 9) /Dodgeball: A legitimate sport?/ - Thomas Purcell
 * 10) /Sport Ethics Still an Issue/ - Nathan O'Connor
 * 11) /Hooliganism in Football/ - Gauntarchie


text:
English introduction

Introduction
It is always helpful to keep a dictionary, thesaurus and any language to English translation dictionaries handy when learning English either for the first time or if you just want a better understanding of the English language. If you are a visual learner, it may also help to write notes or print and highlight key pieces of information. Keep in mind that this is by no means a college level class, but simply an overview of the main parts of the English language.

Nouns
There are five types of nouns. Every noun can be classified in at least two ways.

1.Common Nouns
A common noun names any person, place, thing or idea, it begins with a lowercase letter. Examples are: doctor, ocean, wolf, and love.

2.Proper Nouns
A proper noun names a particular person, place, thing or idea, it begins with a capital letter. Examples are: Jacob Black, Atlantic Ocean, Grey wolf, and Australian

3.Concrete Nouns
A concrete noun names something that can be touched or seen. Examples are: volcano, clouds, The Statue of Liberty, and Mt.Olympus.

4.Abstract Nouns
An abstract noun names something that cannot be seen or touched, such as an emotion, quality, period of time, or an idea. Examples are: love, hate, century, millennium, and history.

5.Compound Nouns
A compound noun consists of two or more words that could each stand alone, but all the words are needed to make the meaning clear. Examples are: President Washington, Timber wolf, Mt.Olympus, and Hall of Fame.

A singular noun names one person, place, thing, or idea. A plural noun names more than one person, place, thing, or idea.How do you know when to pluralize a noun?

For most nouns add an 's': mountain --> mountains

For nouns ending in ch, sh, s, ss, x, or z, add es: lunch --> lunches or fox --> foxes

For nouns ending in y preceded by a vowel, add s: valley --> valleys

For nouns ending in y preceded by a consonant, change y to i and add es: baby --> babies

For most compound nouns, make only the most important word plural: brother-in-law --> brothers-in-law or timepiece --> timepieces

For some nouns ending in f or fe, change f or fe to ve and add s: thief --> thieves

For other nouns ending in f or fe, add s: belief --> beliefs

For nouns ending in a vowel and o, add s: studio --> studios

For some nouns ending in a consonant and o, add s: piano --> pianos

For nouns that have irregular plurals, you may have to change the spelling in various ways...English is messed up when it comes to words such as mouse, woman, child, foot, tooth, goose, crisis, and emphasis which change to mice, women, children, feet, teeth, geese, crises and emphases.

A small group of nouns do not change their spelling when they become plural such as: salmon, trout, sheep, moose, deer, offspring, series, and fish.

A possessive is a word that tells who or what has or owns something. This applies to nouns.

Singular nouns: add 's: prospector, Lois, sister-in-law --> prospector's, Lois's, sister-in-law's

Plural nouns ending in s, add apostrophe ('): pioneers, years, bosses --> pioneers', years', bosses'

Plural nouns not ending in s, add 's: women, sheep, sons-in-law --> women's, sheep's, sons-in-law's

Noun

Adjectives
Adjectives are 'describing' words which give more information about the noun Identified. Examples include: tall, green

Verbs
Verbs are words that convey an action(bring, read, walk, run, learn), an occurrence(happen, become), or a state of being(be, exist, stand). Verbs have a present tense, to indicate that an action is being carried out; a past tense, to indicate that an action has been carried out; and a future tense, to indicate that an action will be carried out. Examples include: running, ran, run; happening, happened, happen; being, been, be.

Adverbs
Adverbs are words which modify verbs, and usually end in "-ly". Examples include: quickly, slowly, hungrily.

Examples used in sentences:

"Cheryl runs quickly." "Esteban slowly walked down the street." "Chelsea ate hungrily."

Adverbs and Adjectives: Many languages, including English, distinguish between adjectives, which qualify nouns and pronouns, and adverbs, which modify verbs, adjectives, and other adverbs. Not all languages have exactly this distinction and many languages, including English, have words that can function as both. For example, in English fast is an adjective in "a fast car" (where it qualifies the noun car), but an adverb in "he drove fast" (where it modifies the verb drove). In Dutch and German, almost all adjectives are implicitly also adverbs, without any difference in form.

Pronouns
Pronouns are words used in place of a pre-established noun. Examples include: I, he, she, it, they.

Prepositions
Prepositions are short words used to connect different words within a sentence, creating a phrase. Examples include: to, from, in, with.

Conjunctions
Conjunctions are used to join different parts of a sentence, including words, phrases and whole sentences. Examples include: and, or, but, so.

Interjections
Interjections are isolated words and phrases that generally express emotion. Most profanities are used in the context of an interjection, as are salutations. They are, as a rule, not connected to a sentence. Interjections are often in the form of exclamations, and are thus usually followed by an exclamation mark [!]. Examples include: "Ouch!" "Hi!" "Excuse me."

Transitions/Connectives
Transitions clarify the time order. They link what has occurred with what is to follow, either within a paragraph, or between paragraphs.

For example: First, I opened the door. Then, I went outside.

Some common transition words are: before, after, then, next, finally, first, second, third, last, as a result, earlier, later, suddenly, meanwhile, and since.

Sentences
A sentence is a group of words that expresses a complete thought. Each sentence begins with a capital letter and ends with a punctuation mark: (.),(!)or(?)

Kinds of Sentences
Believe it or not there are types of sentences! Before we get into the parts of a sentence, here are the four types of sentences.

Declarative: gives information, is ended with a period (.)

Interrogative: asks a question, is ended with a question mark (?)

Imperative: gives a command or makes a request, is ended with a period or an exclamation mark (.) or (!)

Exclamatory: shows surprise or strong feeling, is ended with an exclamation point (!)

Parts of a Sentence
A sentence is made up of a subject and predicate. The complete subject of a sentence is all the words that tell whom or what the sentence is about. The simple subject of a sentence is the main word or group of words in the complete subject. The simple subject is a noun or a pronoun that names the subject. The complete predicate of a sentence is the verb and all the other words that tell what the subject does, has, is, or is like. The simple predicate of a sentence is the main word or group of words in the complete predicate. The simple predicate is also called the verb.

For example in the sentence: The flower is blue. "The flower" is the complete subject and "is" is the simple predicate, "is blue" is the complete predicate. Even the sentence: "The flower is." Is technically correct, meaning the flower exists, or it may be the answer to a question such as "What is blue?" "The flower is."

A sentence may have two or more subjects or predicates. These are called compound subjects and compound predicates. A compound subject is two or more simple subjects that have the same predicate. The simple subjects are connected by and or or. A compound predicate is two or more simple predicates that have the same subject. The simple predicates are connected by and, or, or but. For example in the sentence "Jack and Jill ran and tumbled." "Jack and Jill" is the compound subject and "ran and tumbled" is the compound predicate.

A simple sentence contains one complete subject and one complete predicate. A compound sentence consists of one or more simple sentences.

When you write two thoughts that are closely related, they may be connected to form one compound sentence. The parts of a compound sentence can be joined by and, but, or or. These connecting words are called coordinating conjunctions. A comma will usually appear before the conjunction. Two simple sentences can also be joined by a semi colon, but only if both sentences are independent clauses. Meaning that they have something to do with one another, but can stand alone.

For example:The wolf howled sadly under the light of the full moon; it couldn't stand to be far from its mate.

Avoid fragments when you are writing professionally. A fragment is a group of words that does not express a complete thought or lacks a subject, predicate, or both.

For example: Yes, at 11:00. To fix this fragment, add a subject and a verb: Yes, the Hogwarts Express leaves from Platform Nine and Three Quarters at 11:00am.

Another issue to avoid when writing is the run-on sentence. It may be difficult at first, but with practice run-ons can be defeated! For example: Hayao Miyazaki is my favorite Japanese movie director and he is the director of many amazing movies such as Princess Mononoke and Spirited Away. This run on can be edited to: Hayao Miyazaki is my favorite Japanese director. He is the director of many amazing movies such as Princess Mononoke and Spirited Away.

Compound Sentences
A compound sentence combines two or more simple sentences. We use and to combine ideas For example: Every night William practiced the trumpet. He also practiced the trombone. Every night William practiced the trumpet, and the trombone

We use but to contrast ideas For example Christina thought she had failed the test. She aced it. Christina thought she had failed the test, but she aced it.

We use or to show alternative ideas For example Michael could play video games. He could play outside. Michael could play video games, or he could play outside.

Remember to always use a comma before the conjunction in a compound sentence!

Punctuation
Correct punctuation helps convey your ideas more clearly to the reader. Below are some rules for punctuation.

1.Indent the first line of a paragraph.
-->My goal in life is to become a world famous tennis player. By practicing hard and always trying my best, I am sure that I will succeed in life and achieve that goal! Together with my teammates I will practice serving and returning as well as tennis etiquette. I will read books on tennis and watch live matches.

-->My second goal in life is to become a famous author. I want to get my short stories published so that people all around the world can read them. I hope that my stories will be as amazing as J.K. Rowling's Harry Potter books.

-->Although I would like to think I can achieve my goals, I have to think practically. I should work on getting acknowledged on district and state levels first before I can move on to national levels. If I make it there, then I can probably start planning where I will build my beach front houses.

2.Use a period at the end of a declarative or imperative sentence.
I laughed at the thought. Open the bottle.

3.Use a question mark at the end of an interrogatory sentence.
Who am I?

4.Use an exclamation point at the end of an exclamatory sentence.
There was no way he was still alive; Brutus killed him in the first act!

5.Use a comma after an introductory word or phrase such as yes, no, or well.
Well, after all you are the boss.

6.Use a comma after a transitional word or phrase that introduces a sentence.
Suddenly, I was surrounded by bandits!

7.Use a comma before a conjunction if two independent sentences are combined.
I learned to tango, and I learned the lyrics.

Capitalization
Capitalization makes your written work look much more professional and lets the reader know when you are talking about something "special" such as the day of the week, the month, a planet, a person's title, a place, etc. It also signifies the first word of a sentence. For example: The audience gasped as the volunteer disappeared.

Introduction
When you are writing, if it is not a prompt given to you by a teacher or professor or a job your boss might have given you, it helps to write about something you care about. It is often difficult to write if you do not like what you are writing about!

There are five steps in the writing process:

1.Planning
Know what kind of writing you want to do; it helps to look at examples you may find in English textbooks or online. Know your audience and why you are writing. Who is going to be reading this and why are they going to be reading it? Choose a topic that interests you. If you do not know anything about it, do some research first! Take notes, make lists, draw charts or diagrams, or plan an outline to help organize your ideas. Whatever you need to do to get a sense as to how you will be writing and how you want it to unfold.

2.Composing
Using your plan, write a first draft. It's okay if you do not strictly follow your outline/plan. It is only your first draft after all! It is okay if you make mistakes. You can go back and correct them later on. This first draft can be changed and edited.

3.Revising
Read your first draft. Make any changes to content or grammar that you see fit. After you have finished revising it, give it to a family member,friend,peer,classmate,teacher or coworker and have them read it over. Have them make notes on it, or discuss what you could do to make it better: clear up confusing parts, fix grammatical errors, etc. It helps the final product if you rewrite/retype a second copy in which you address all of the mistakes you and/or your reader have found.

4.Proofreading
Read over your second draft for any missed grammatical errors. When you write your final copy, make all changes to grammatical errors and/or content and style. Although it may seem time consuming, proofreading can make your final draft much better. Your audience will not be able to appreciate it as much if there are errors or if there is confusion about what you are trying to say.

5.Writing the Final Copy
Make all necessary changes to grammar, content, font, size, alignment and anything else that the audience might find distracting or unnecessary.

6.Presenting
Be professional about your presentation. Always turn in assignments, whether it be to a teacher or your boss, ON TIME! I cannot stress that enough. People appreciate a clean copy of your work on time and if possible, early. It shows you are capable of professional level work and your reputation will thank you!

Personal Narratives
What is a personal narrative?

5.It indicates the writer's feelings about the experience.
By writing a personal narrative you become a storyteller. You are the narrator! You explain the setting (time and place)as well as the detailed sequence of events!

Persuasive Essays
The persuasive essay is an argumentative essay in which the author takes a stance for or against the essay subject and supports his or her position with factual evidence in a convincing and compelling way.

Feature Stories
A feature story gives the reader the opportunity to find out more information by taking an in-depth look at a person, place or event. The topics may be about anything. Feature stories can be found in magazines and newspapers or on television, radio, or the internet. A feature story has these characteristics: 1. It is about a subject that the writer thinks would interest readers. 2. It describes a person, a place or an event. 3. It has a casual, rather than a formal, tone. 4. It may include the writer's opinions, as well as facts about the subject.

The Six Basic Journalism Questions
1. What happened? 2. When did it happen? 3. Who was involved? 4. Where did it happen? 5. Why did it happen? 6. How did it happen?

If it is applicable to the feature story, you may want to conduct an interview. By interviewing people who are directly involved with the topic of your feature story, you can gain answers about the six basic questions.

Preparing for an Interview
1.Set up a time and a place to meet with your subject. 2.Prepare your questions in advance and write them down. Don't depend on your memory. If you'd like, prepare a note card for each question so that there is enough room to write down notes for their answers. 3.Dress appropriately and neatly. 4.Be friendly and courteous. 5.Take a pen or pencil and a notepad with you to record your notes. If you are more technologically savvy, you could bring an audio recorder instead ( anything from a blank cassette and recording device to an iPhone, the sky is the limit with interviews nowadays) Just make sure you get accurate notes so you are not accidentally changing what the subject has told you. A few notes on taking notes: When taking notes, be sure to spell the names of people correctly. If you are unsure of a spelling, it is okay to ask the person. Write down all names, statistical figures and key words. When you want to use a direct quote, repeat the quote to the person and ask for permission to use it. If you bring a tape recorder to the interview, be sure you ask permission to use it. 6. Be sure to thank the person for allowing you an interview, both before and after you are done with your questions.

Types of Questions
There are three categories of questions used when interviewing: icebreakers, fact-finders, and probes.

Icebreakers put people at ease. They do not necessarily have to relate to your feature story, but they are usually a topic of mutual interest. For example, if your feature story is about a woman who grew up in Massachusetts,USA, your icebreaker might be: "Have you always been a Red Sox fan?"

Fact-finders concern the subject of your feature story and should result in answers to the six basic questions. For example, if your feature story is about an American grad school student who volunteers in South Africa every summer, your fact-finder might be: "What inspired you to volunteer in South Africa every summer?"

Probes go a bit deeper than fact-finding questions. They should reveal a reaction, an observation, or an insight that adds interesting detail to your feature-story. For example, if your feature story is about a girl raised by wolves, your probe might be: Why do you think the wolves accepted you as one of their own? (A good read related to this topic is Julie of the Wolves by Jean Craighead George ;)

Writing the Feature Story
There are three main parts to a feature story:

The Lead: the first line of the story, use it to 'hook' the readers into reading more, but don't give it all away!

The Body: go into detail and give the readers the information they need to understand the subject.

The Conclusion: always end on a note of interest. Inform the reader of up and coming events, exhibits, lectures, etc. Assume that the reader is interested in learning more about your subject.

Incident Reports
1. When & where?

2. Who was there?

3. What happened?

4. Now what?

A Note to Future Editors, Contributors and Readers
This page is not complete, I will be coming back to finish it at a later date. If you wish to add to whatever exists or contribute to blank headings, please do so :D Thank you! To the readers, forgive me for not completing this page in one night! It's a start!

title: English introduction


text: File:Crankshaft frame.jpg

title: File:Crankshaft frame.jpg


text: File:Displacer Linkage.jpg

title: File:Displacer Linkage.jpg


text:
User:AviraWolvezevie

Hello,

''I am Avira Wolvezevie! I am from the United States and I love to write short fiction!''

''I hope to get a Batchelor's degree in Natural Resource Conservation with a concentration in Forestry and then go on to get my Master's at the Yale School of Forestry... big dreams...:D''

''I hope to provide Wikiversity with pages on English grammar and Natural Resources. I love to share my knowledge with others.''

''Denis Diderot would be proud. :D (The French founder of the original Encyclopedia)''

Feel free to contact me via email @ animewolflover@gmail.com or via AIM screen name spiritanim, please notify me that you are from Wikiversity or else I'll block you :) Thanks!

Avi <3

title: User:AviraWolvezevie


text: File:Drive Cylinder Linkage.jpg

title: File:Drive Cylinder Linkage.jpg


text:
User:Ray Calvin Baker/RCB Sigma Three

This page is the beginning of autobiographical material. Ray Calvin Baker 04:36, 28 November 2011 (UTC)

The end.

title: User:Ray Calvin Baker/RCB Sigma Three


text:
User talk:AviraWolvezevie

 Hello AviraWolvezevie, and welcome to Wikiversity! If you need help, feel free to visit my talk page, or contact us and ask questions. After you leave a comment on a talk page, remember to sign and date; it helps everyone follow the threads of the discussion. The signature icon in the edit window makes it simple. All users are expected to abide by our Privacy policy, Civility policy, and the Terms of Use while at Wikiversity.

To get started, you may

 * Take a guided tour and learn to edit.
 * Visit a (kind of) random project.
 * Browse Wikiversity, or visit a portal corresponding to your educational level: pre-school, primary, secondary, tertiary, non-formal education.
 * Find out about research activities on Wikiversity.
 * Explore Wikiversity with the links to your left.

 * Read an introduction for teachers and find out how to write an educational resource for Wikiversity.
 * Give feedback about your initial observations
 * Discuss Wikiversity issues or ask questions at the colloquium.
 * Chat with other Wikiversitans on #wikiversity-en.
 * Follow Wikiversity on twitter (http://twitter.com/Wikiversity) and identi.ca (http://identi.ca/group/wikiversity).

You don't need to be an educator to edit. You only need to be bold to contribute and to experiment with the sandbox or your userpage. See you around Wikiversity! --Thenub314 05:51, 28 November 2011 (UTC)

Well you've already found the sandbox, portals, schools etc. But this isn't just a canned welcome, we are glad to have you aboard. If you have an questions feel free to ask me. Thenub314 05:51, 28 November 2011 (UTC)

title: User talk:AviraWolvezevie


text:
Talk:Speedcubing

Completion
I am delighted to discover this topic has been started in the Wikiversity. But, I noticed it has some gaps and missing parts. Perhaps I can help. I wrote a small book which several students at Christian Center School in Alexandria, Virginia, seemed to enjoy. It is NOT Speedcubing, but it is a more nearly complete exploration of elementary Cubology. I intend to place a link to it here, RCB_RubikTOC as soon as I can upload the text (a work in progress) and figure out how to create links. My terminology is NOT THE SAME as the existing material in "Speedcubing", but I think I can adapt. I welcome your comments and hints -- please post to my "User TALK page"! :-D Ray Calvin Baker 15:00, 3 November 2011 (UTC)

 * Is this a complete book? --HappyCamper 06:10, 28 November 2011 (UTC)
 * It seems like if he wrote it. --Sistemx 11:19, 2 December 2011 (UTC)
 * First of all, I would like to direct your attention to the material which has recently been posted in the Wikipedia on "Rubik's Cube".
 * However, my book is complete enough to solve a cube with solid colors on all six sides.
 * Using the "cheat sheet" in Chapter Ten, I can usually solve the cube in under ten minutes (I'm no speedcuber!).
 * I want to write Chapter Eleven to address the problem of solving a "picture cube", where a hidden sub-group of the cube is not hidden.
 * Rotations of the central label on each side show up, and can be rotated out of position.
 * Chapter Twelve is left for users to record their own personal algorithms (there are many possibilities!).
 * I hope to revise my book soon, in an attempt to better adapt to established terminology and notations.
 * I would also like to contribute QB64 BASIC source code, for an interactive computer program which can demonstrate the methods.
 * Sorry for the above unsigned post. I got interruptedhile while trying to add the text. Ray Calvin Baker 21:59, 14 December 2011 (UTC)

 * I am thinking of adding yet another chapter (and an appendix) to my Rubik's Cube book.
 * Chapter Thirteen will be "Source Code for a Demonstration Program", and the appendix will be a journal of my adventures downloading (and learning to use) the free QB64 compiler from the Wikipedia. The tricky tthing will be to USE available materials, without having to re-invent them. My book should "lose a lot of weight" if I can do this reasonably well. For instance, an interactive graphics presentation makes WYSIWYG a possibility that avoids all kinds of complicated, indirect references to the desired locations of the component cubies. I hope to present this soon: (1) select and adjust the colors you would like to use, (2) draw an accurate picture of your (scrambled) Cube, then (3) let the program show you step-by-step how to solve the Cube.

 * Needless to say, I find my first experiences with the Wikiversity to be "lots of brainstorming" as I encounter lots of interesting possibilities, but not quite so much of "finished projects". Nevertheless, even though I am finding that many other contributors have gone before me (as in posting volumes of material in the Wikipedia), I remain convinced that making material accessible to young beginners is a very worth-while goal. So I plan to persist in this effort. Ray Calvin Baker 00:20, 4 January 2012 (UTC)

 * That sounds very encouraging! --HappyCamper 01:57, 4 January 2012 (UTC)

title: Talk:Speedcubing


text:
User:DivaEngineer/enes100/bridges/501 DAS 3

Link to project 501_DAS_3 team page.

Give instructor top 3 project choice list
My Top 3 Preferences are as follows

1-Bridge: I would like to see this through to completion even if by myself to load test record and analyze results from test results for better design if what we have done thus far does nto hold the expected load or create program to test bridge as all of the software that we have found through out this process have been to test truss bridges and I have not found any yet that would test any type of bridge regardless of its structure (arch, etc) 2-Bridge 3-Water Treatment

Write problem statement
Project 3 is a continuation of Project 2 (Link to project 501_DAS_2 team page.) The purpose of this portion of the project (Phase III) is to completely assemble the Spaghetti Bridge as it was designed, load test the bridge for its strength and document the process and outcome.

Assign Task1
During week 0 of the Project, I gave instruction to my group member on how to update the project page. Some things had to be revised. Also I discussed with my group member the importance of our commitment to complete the project. I took a look at alot of the work that has already been done and made a determination for how we can proceed with the project and most importantly, the documentation of our progress. I continued to work on the assembly of the bridge truss and determined what the best method of gluing the pieces of the bridge would be.

Compare actual work done to Task1
Rationalize differences

Week1 Narrative
As previously discussed,(refer to Project 2), Some issues that arose a I begin to assempbly the truss of the bridge included determining the best way to asseble the pieces of the bridge. In particularly, the truss of the bridge. By trial and error, I determined that the best method cohesion of the pieces was to first use the glue gun (insert image and video here) and then use the Epoxy glue to create an even stronger bond (insert link from Project 2 here). Using my initial attempt to construct the first part of the truss of the bridge (insert image here) and notes of the some of th issues that I ran into, I begin to construct another truss (insert image here).

I communicated my progress with my group member Syed and I discussed with him how he could be a help with other portions of the project, i.e. the hook and block piece that will be a part of the deck portion of the bridge. I also discussed with the instructor a solution for assembly of other portions of the bridge as some of the pieces (1 meter length spaghetti)seem to be an issue with ordering and being delivered. I decided that it would be best to asseble the spaghetti pieces in a different manner in order to achieve the same affect. This ideas where discussed with the professor and the following suggestions where made(insert drawing here)

Assign Task2
In the following week, I plan to continue with the assebly of the bridge in the following manner
 * Continue constructing truss and cross pieces as necessary and according to design
 * Document progress and process of the bridge
 * I assigned task to team member to document process and progress of his assigned task

Compare actual work done to Task2
In Week 1, my intent was to contunue with the assembly of the bridge. This this task is not yet complete, but is in progress as noted/shown below

Week2 Narrative
Photos to be added here

Week2 Peer Review
See designated section for comments

Assign Task3
In week 3, I plan to communicate with my team member since we worked indivually during the Holiday Break for week 2. I will gather the information according to what we agreed upon and update the wikipage with progress notes and images. I will also continue with the assebly of the bridge and tension members of the bridge.

Compare actual work done to Task3
Rationalize differences

Week3 Narrative
Upload photos to wikimedia. Upload video to youtube. Convert all spreadsheets, documents, and presentations to wiki format and create wiki subpage of your page for each of them. Link to them here in a narrative that tells a story. High light the problems (engineering problems) you had and how you solved them.

Week3 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Assign Task4
Record what you are planning on doing for the team during the weekend between week3 and week4 of the project here.

Compare actual work done to Task4
Rationalize differences

Week4 Narrative
Upload photos to wikimedia. Upload video to youtube. Convert all spreadsheets, documents, and presentations to wiki format and create wiki subpage of your page for each of them. Link to them here in a narrative that tells a story. High light the problems (engineering problems) you had and how you solved them.

Week4 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Complete Project Page
Follow the "project done" format.

Start Next Project Week0 activities
During this week you will perform the week0 activities of the next project.


text:
User:Sahmed1890/enes100/bridges/501 DAS 3

Link to project 501_DAS_3 team page.

Give instructor top 3 project choice list
Typically the instructor picks teams. Students send the instructor their top 3 choices. The project choices are typically those found at Category:General_Engineering_Projects. The instructor tries to put students in the project of their choice. Put your top three choices here after they are used to assign you to this project. Create a link to the project root and to where your team will be working.

Write problem statement
Look through the existing problem statements. Find something not yet done on the project. Create a problem statement for it. Think of a new subsystem that needs to be built for the project. The goal is something simple, possible, for zero dollars.

Assign Task1
Tasks are typically done over the weekend. They are documented during the week, presented during the week and the next weekends work is negotiated during the week. Week 0 is the week that task 1 is negotiated. Record your individual task here. Plan on working on it during the weekend between week0 and week1.

Compare actual work done to Task1
Rationalize differences

Week1 Narrative
Upload photos to wikimedia. Upload video to youtube. Convert all spreadsheets, documents, and presentations to wiki format and create wiki subpage of your page for each of them. Link to them here in a narrative that tells a story. High light the problems (engineering problems) you had and how you solved them.

Week1 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Assign Task2
Record what you are planning on doing for the team during the weekend between week1 and week2 of the project here.

Compare actual work done to Task2
My job was to build the load support on which to support the weight load for the testing of the bridge. Rationalize differences

Week2 Narrative
After going through the rules of the Okanagan Bridge Contest I found the measurements of the block of wood was supposed to be 50mm X 50mm X 1/4 inch. So i took a big block of wood and cut it through to form a block of wood with the required dimensions. It did get cut properly but when i tried to attach the hook onto it, a problem was found.

The hook was very difficult to place into the wood. So i made a hole into the wood and then tried to place the hook in it. However after making the hole i noticed that the hole was bigger than the hook itself so the hook was not attached to it properly and it was very weak.

Week2 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Assign Task3
Make another wooden load support as the previous one was a failure.

Week3 Activities
My assigned task was to make another load support of for the bridge as the previous one had failed Rationalize differences

Week3 Narrative
So I used another piece of wood to cut through and make another load support. So i was making another load support. The cutting machine which i used was very strong, so i had to be extra careful to cut the wood. I sketched a line on the wood to determine the dimensions of the wood according to the rules, So i had to cut through the lines. I used the cutting machine and made the wooden load support. After wiping it of the dust i placed the hook in it and finished with it. However i later realized that the support was not cut in a straight line and hence it was crooked. The surface of it was also crooked. So this support had also failed and i was on my way to make another one.

So in my third attempt i used a thinner plank of wood instead a large block of wood, to cut the wood from. This time i made the dimensions on the wood more visible with a marker and then very carefully cut it using the cutting machine. I also then scraped it for dust and to give it finishing touches.

For the hook i decided to use pliers to hold the hook with one and then screw it with the other plier. This was due to the hook not getting attached to the support properly, so i used the pliers to make it go more deep into the wood and make it more firm.

I also applied the hot glue from the hot glue gun to give it more stability and make it more firm. This worked it.

Week3 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Assign Task4
Attach the base piece of the bridge to the arc and fit in the wooden support to complete the project.

Compare actual work done to Task4
Rationalize differences

Week4 Narrative
Upload photos to wikimedia. Upload video to youtube. Convert all spreadsheets, documents, and presentations to wiki format and create wiki subpage of your page for each of them. Link to them here in a narrative that tells a story. High light the problems (engineering problems) you had and how you solved them.

Week4 Peer Review
Go to each team mates weekly summary wiki page. Read their activities and narrative. Then go the associated discussion page. Say something positive on this page. Try some constructive criticism. Add your name and a signature ~ by entering four tildes in a row to create a time and date stamp. Create a new category if another team mate has already commented here.

Complete Project Page
Follow the "project done" format.

Start Next Project Week0 activities
During this week you will perform the week0 activities of the next project.


text:
Engineering Projects/Bridges/Howard Community College/fall2011/501 DAS 3/Week 0 (November 7 - November 13 , 2011)

Link back to 501_DAS_3 This is our new team 501_DAS_3 for the Spaghetti Bridges Project. The members of the team are Angele Bynum and Syed Sami Ahmed. Each week, we will update the necessary pages with documentation of the process and progress of the project. The goal of this phase of the project, referred to as Phase III is to physically build the bridge that was designed, document the process (specifically that of putting the bridge together) as well as load test the bridge and document the actual process and outcome.


text:
Engineering Projects/Bridges/Howard Community College/fall2011/501 DAS 3/Week 1 (November 14 - November 20, 2011)

Link back to 501_DAS_3

In week one of this portion of the project, teams members came together to discuss the current state of the project and what will be necessary to move forward and get the project done. Things discussed included
 * Committment of Team Member sto get the project done
 * Responsibilities for documentation
 * Discussed issue of how to get specific components of the bridge to remain in tension as it is assembled
 * We both researched information materials needed to build the pieces of the bridge in which the weight will be applied
 * We agreed to work individually and collectively with the understanding that adequate communication regarding progress will be necessary for the successful completion of the this weeks task in order to move forward


text:
Engineering Projects/Bridges/Howard Community College/fall2011/501 DAS 3/Week 2 (November 21 - November 27, 2011)

Link back to 501_DAS_3 In WEEK 2 of this portion of the project, teams members worked individually due the the Holiday Break Responsibilities
 * Angele - Continued assembly of bridge and documentation of progress
 * Syed - Continued design of assembly of hook and block to be connected to the deck of the bridge to support/hold the weight that will be applied to the bridge during load testing and documentation of progress.

We agreed that we would come together during Week 3 and consolidate information to be added to the project page for documentation. We will then discuss how to proceed with the project.


text:
User talk:Sahmed1890/enes100/bridges/501 DAS 3

Syed I made note of the progress that you made per our last meeting and your e-mails about the hook and block piece that will be assebled with the deck of the bridge. We need to show documentation of the progress, so please upload the images or send them to me so that I can upload them. Also, once you have updated your individual progress page, I will check back to comment on them. Please do not forget to update this information. DivaEngineer 07:37, 28 November 2011 (UTC)

0/0/0 .. nothing to grade 204.126.132.241 13:27, 28 November 2011 (UTC)

0/0/0 ... nothing to grade 1sfoerster 14:56, 5 December 2011 (UTC)

0/0/0 ... nothing to grade 1sfoerster 15:14, 14 December 2011 (UTC)


text:
Helicopter/Howard Community College/adsasf/550 code

int servoPin = 9; int myAngle; int pulseWidth;

void setup { pinMode(9, OUTPUT); }

void servoPulse(int servoPin, int myAngle) {                                            pulseWidth = (myAngle * 6) + 320; digitalWrite(servoPin, HIGH); delayMicroseconds(pulseWidth); digitalWrite(servoPin, LOW); delay(20);

void loop {

for (myAngle=0; myAngle<=180; myAngle++) { servoPulse(servoPin, myAngle); delay(100); servoPulse(servoPin, myAngle); delay(100); servoPulse(servoPin, myAngle); delay(100); servoPulse(servoPin, myAngle); delay(100); servoPulse(servoPin, 90); delay(100); servoPulse(servoPin, 90); delay(100); servoPulse(servoPin, 90); delay(100); servoPulse(servoPin, 90); delay(100); } delay(1000); }


text:
User:Basic.atari

I'm currently studying in Symbiosis School of Economics, Pune.

title: User:Basic.atari


text:
Intrinsic motivation

Intrinsic motivation refers to behaviour that is motivated for internal reasons. This also means the absence of extrinsic factors such as external reward or punishment.

Intrinsic motivation means engaging in a behaviour purely because you want to, because it is naturally rewarding, and regardless of external influences.

Hobbies are good examples of intrinsically motivated behaviours.

Intrinsically motivated behaviour feels good and often leads to better outcomes than extrinsically motivated behaviours, particularly for more complex tasks.

title: Intrinsic motivation


text: Goal setting

title: Goal setting


text: Category:Goal setting

title: Category:Goal setting


text:
User talk:DivaEngineer/enes100/bridges/501 DAS 3

10/10/0 .. nothing to push the project forward 204.126.132.241 13:27, 28 November 2011 (UTC)

0/0/0 .. nothing to grade 1sfoerster 14:56, 5 December 2011 (UTC)

0/0/0 ... nothing to grade 1sfoerster 15:13, 14 December 2011 (UTC)


text:
Talk:Engineering Projects/HoverCraft/Howard Community College/Fall2011/501 Glorious3

90/100 ... no poster 1sfoerster 15:29, 14 December 2011 (UTC)


text:
User:Edgesschown

"Edgesshown" was the captcha when I signed up. I like learning.

title: User:Edgesschown


text:
User talk:Edgesschown

 Hello Edgesschown, and welcome to Wikiversity! If you need help, feel free to visit my talk page, or contact us and ask questions. After you leave a comment on a talk page, remember to sign and date; it helps everyone follow the threads of the discussion. The signature icon in the edit window makes it simple. All users are expected to abide by our Privacy policy, Civility policy, and the Terms of Use while at Wikiversity.

To get started, you may

 * Take a guided tour and learn to edit.
 * Visit a (kind of) random project.
 * Browse Wikiversity, or visit a portal corresponding to your educational level: pre-school, primary, secondary, tertiary, non-formal education.
 * Find out about research activities on Wikiversity.
 * Explore Wikiversity with the links to your left.

 * Read an introduction for teachers and find out how to write an educational resource for Wikiversity.
 * Give feedback about your initial observations
 * Discuss Wikiversity issues or ask questions at the colloquium.
 * Chat with other Wikiversitans on #wikiversity-en.
 * Follow Wikiversity on twitter (http://twitter.com/Wikiversity) and identi.ca (http://identi.ca/group/wikiversity).

You don't need to be an educator to edit. You only need to be bold to contribute and to experiment with the sandbox or your userpage. See you around Wikiversity! --HappyCamper 15:39, 28 November 2011 (UTC)

title: User talk:Edgesschown