Who else wants to take advantage of biorhythm awareness to avoid premature death, escape life threatening diseases, eliminate most of your life altering mistakes and banish catastrophic events from your life.
Nonetheless, I will show you how to build a fun little project that you can use daily to track the status of your biorhythms. Your biorhythms (if you believe in them) are on sinusoidal cycles that vary in length for the three types. The lengths of the cycles are 23, 28, and 33 days for your physical, emotional, and intellectual cycles, respectively with each cycle type starting on your birth date. Your best days are supposedly in the first half of a cycle when the sinusoidal curve is positive. Likewise, your worst days are in the second half of a cycle when the curve is negative. Critical days are said to be when you cross the boundary between positive and negative days. I don't have a lot of faith in biorhythms, but they are fun to calculate and examine and if you are having a bad day when your biorhythms are negative or critical, it gives you something to blame it on. Requirements for Biorhythms and the Time of Your Life 1. The biorhythm spreadsheet shall use formulas to calculate a...
The Biorhythms and the Time of Your Life program (see Figure 2.1) begins by asking for the user's name and birth date. The program then calculates the length of the user's life in years, months, days, hours, minutes, and seconds. Following the user input, the user's name, birth date, and age (in the aforementioned units) are displayed in the worksheet. The worksheet also contains an embedded chart that displays the current state of the user's three biorhythm cycles (physical, emotional, and intellectual). The Biorhythms and the Time of Your Life spreadsheet.
Consideration of where the validation code should go and when it should run is easy with the InputBox() function. The validation should occur as soon as the user enters data. The best way to determine this is to put the InputBox() function inside a Do-Loop. In the Biorhythms and Time of Your Life project in Chapter 2, user validation could be added as follows
Biorhythms and the Time of Your Life, 25, 47-53 Blackjack, 208 Colorful Stats, 17-22 Excetris, 427, 439-471 Fun with Strings, 43, 45-47 Math Game, 100, 123-147, 329-330, 349-372 Poker Dice, 55, 77-97 Word Find, 269, 296-326 Project Explorer window, 7, 8 Projects, forms added to, 209 Properties, 150, 162 Properties window, 8 in Biorhythms and the Time of Your Life program, 49 data series plotted in, 395 Schedule parameter, 141 Schemas, XML, 337-338 Blackjack program and, 249, 251 Shuffling deck of cards, in Blackjack game, 244, 248-252 Shuffling form, in Blackjack game, 242, 244 Single data type, 31, 32 Sinusoidal cycles, biorhythms in, 48 sndPlaySoundA() function, 204 Sound, adding to Battlecell program, 182, 203-205 Biorhythms and the Time of Your Life, 26 Magic Squares, 34 Poker Dice, 56 SQL. See Structured Query Language Stacked chart type, 391 String variables, in Biorhythms and the Time of Your Life