Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Variables/TI-89-BASIC/variables-2.basic
Normal file
13
Task/Variables/TI-89-BASIC/variables-2.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Define mynum = 1 © Two ways to assign a number
|
||||
1 → mynum
|
||||
|
||||
Define myfunc(x) = (sin(x))^2 © Two ways to assign a function
|
||||
(sin(x))^2 → myfunc(x)
|
||||
|
||||
Define myfunc(x) = Func © Multi-statement function
|
||||
If x < 0 Then
|
||||
Return –x
|
||||
Else
|
||||
Return x
|
||||
EndIf
|
||||
EndFunc
|
||||
Loading…
Add table
Add a link
Reference in a new issue