Texas Instruments voyage 200 User Manual - Page 829
iPart, isArchiv, isClkOn, isLocked, isPrime, isVar, displays an
UPC - 033317193424
View all Texas Instruments voyage 200 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 829 highlights
iPart( ) MATH/Number menu iPart(number) ⇒ integer iPart(list1) ⇒ list iPart(matrix1) ⇒ matrix Returns the integer part of the argument. iPart(ë 1.234) ¸ ë 1. iPart({3/2,ë 2.3,7.003}) ¸ {1 ë 2. 7.} For lists and matrices, returns the integer part of each element. The argument can be a real or a complex number. isArchiv() CATALOG isArchiv(var_name) ⇒ true,false isArchiv(PROG1) ¸ True Determines if var_name is archived or not. Returns true if var_name is archived. Returns false if var_name is not archived. isClkOn() CATALOG isClkOn() ⇒ true,false Determines if the clock is ON or OFF. Returns true if the clock is ON. Returns false if the clock is OFF. isLocked() CATALOG isLocked(var_name) ⇒ true,false Determines if var_name is locked or not. Returns true if var_name is locked or archived. Returns false if var_name is not locked or archived. isLocked(PROG1) ¸ False isPrime() MATH/Test menu isPrime(number) ⇒ Boolean constant expression Returns true or false to indicate if number is a whole number , 2 that is evenly divisible only by itself and 1. If number exceeds about 306 digits and has no factors 1021, isPrime(number) displays an error message. If you merely want to determine if number is prime, use isPrime() instead of factor(). It is much faster, particularly if number is not prime and has a second-largest factor that exceeds about five digits. IsPrime(5) ¸ IsPrime(6) ¸ true false Function to find the next prime after a specified number: Define nextPrim(n)=Func:Loop: n+1! n:if isPrime(n):return n: EndLoop:EndFunc ¸ Done nextPrim(7) ¸ 11 isVar() CATALOG isVar(var_name) ⇒ true,false isArchiv(PROG1) ¸ True Determines if var_name is in use. Returns true if var_name exists. Returns false if var_name does not exist. Appendix A: Functions and Instructions 831