Module 10 - Rules of Differentiation | ||||||||||||||||||||
Introduction | Lesson 1 | Lesson 2 | Lesson 3 | Lesson 4 | Self-Test | ||||||||||||||||||||
Lesson 10.3: Scripts | ||||||||||||||||||||
In Lesson 10.2 you saved the commands you entered to find the Product Rule as a script. In this lesson you will learn how to recall and execute the script. You will also learn how to edit the script and add comments so that you or another student may review the discovery of the derivative rules you created without re-entering each command.
Opening a Script Before you can use a script it must be opened in the Text Editor, which is found in the APPs menu.
You should see the "OPEN" dialog box. If you have'nt saved any other scripts, the variable name should be prodrule. If it is not, move the cursor to the Variable box, press , highlight prodrule and press .
You should see the Text Editor screen with the derivative commands saved in prodrule.
The screen should be split. The upper-half of the screen shows the Text Editor screen and the lower half shows the History Area. As you press the commands in the Text Editor will be executed one at a time, and the results of the commands will appear in the History Area.
The command d(x*sin(x),x) is executed and the result appears in the History Area. The cursor moves to the next command in the script. As you continue to press the other commands in the script are executed.
You must be in the Text Editor screen to execute commands with
Displaying One Screen
The split screen is cleared and the calculator returns to the Text Editor Screen.
All the derivative commands that were cleared with NewProb at the beginning of the lesson have been restored to the History Area. Adding Comments to a Script Now you are going to edit the script by adding comments. Comments can be useful when executing the script for the first time.
The first command is pushed down a line but a "C" no longer precedes it. The "C" means the line is a command that can be executed by pressing . Inserting "C" To insert a "C" at the beginning of the line,
"1:Command" should be highlighted. This feature will make the selected line in the script into an executable command.
Clearing "C" To clear the "C" on this line,
The "C" is cleared from the line. Inserting Comments Any line in a script which is not an executable command (preceeded by a "C") is a comment. Now you can insert a comment.
The space character is the alpha-key above the key and the "t" is the key in the fourth row, fourth column. To make a capital F, press while in alpha mode.
Insert another comment after the third derivative command.
Enter the phrase "predict the next derivative" into two lines, as shown below. You can create a blank line by pressing while the cursor is at the end of a line. You can continue to insert comments that can guide a student through the script. For example, you might want to insert the comments "generalize" and "predict this derivative" into two new lines just before the command "d(x^n*sin(x),x)." Continue to add comments where you think they will clarify the script. There is no need to save the script when you are done because the changes are automatically saved.
|
||||||||||||||||||||
< Back | Next > | ||||||||||||||||||||
©Copyright
2007 All rights reserved. |
Trademarks
|
Privacy Policy
|
Link Policy
|