Solving the Quadratic: My First TI-Nspire Program Stephen Arnold

97 downloads 106 Views 367KB Size Report
TI-Nspire offers two options for creating mathematical tools ourselves: functions and programs. Sometimes ... When using TI-Nspire CAS, the inputs can also be ...
Solving the Quadratic: My First TI-Nspire Program Stephen Arnold TI-Nspire offers two options for creating mathematical tools ourselves: functions and programs. Sometimes it can be hard to tell the difference, but essentially, functions must !"#$%&'()*+(,-./0.)%12(34(5%06)(789:6;%0+('=9"'#11#&"26++?>'39&5"2*&1'*&+? Calculator. Finally, functions only work with local variables – they leave nothing behind. This*9"$9"'6'&98=#)'@*)>'3*)'A(!>'6&'6+7#=)625'#B$)#112*&'/'*)'6'+21"C':6)26=+#1>'"#B"@@T=U1J)"@=M@NC/OP6P5CCQ@NP6CCV could get around this by getting it to give us a list of two items: -%21'21'$)#""?'5**+>'=9"'23'4#'$9"'2&>'16? >-./?@ABACD 4#'42++'7#"'6&'#))*)'=9"'4#'%6:#'"*'=#'56)#39+'&*"'"*'*9"$9"'6&?'"#B">'6&,'"%21'+282"1'"%2&71'6 is pretty cool, but if we put in, say quad(1,2,3)we will get an error. We really need +*"< statement in there to test and output something appropriate. We can do this with an "IF" a function and leave a list of our solutions behind that can be ready in G&G or L&S. !*'+#"Y1'7*'42"%'6'$)*7)68
'5%**1#'"%# Program Editor: New 5-&1)%"&6(.&/(

Suggest Documents