' - - File: Intro.txt
'                                                      CONSTANTS
' The purpose of this short work sheet is to get a feel and experiment with creating
' constants and using the optional keypad, as needed.

a = 5  :  b = 1E3  :  c = 1E-3                 ' Use colon (:) to allow multiple statements per line.
                                                                 ' 1.E-3 same as 1E-3
to = a + b    +  c                                      ' Key Enter or last statement not saved.-- see below.
                                                                 ' Blanks ignored by program.

' Key Execute any time to see the results in the window below.

' Constants can reference other constants:
x2 = a^2 + c
mx = Sqrt[a] + Sqrt[a + b] + Sqrt[ Sqrt[a + b + c] + Sqrt[a] ]

pi = 3.14159   :  si = Sin[pi/6]               ' Trig functions in radians.
' Slight round-off errors may occur, but  "close enough" for our future graphing sheets.

la = Log[ Sin[ pi/6]]                                ' Nested functions ok. 
                                                                ' Watch out for negative logs & square-roots.

lb = log[sin[pi/6]]                                    ' lower-case spelling allowed  (Version 6).

' ++++++++++++++++++++ Generate some illegal constructs +++++++++++++++++++++
' To help avoid future mistakes, illustrate these common errors.
' Try each of the following to see what happens -- remove comment (') symbol.

' La = Log[b]                                           ' Constants use lower-case symbols.
' la = Log{b}                                           ' Built-in functions use brackets: [...]

