π
<-

two


File hierarchy

 Downloads
 Files created online(34064)
 TI-Nspire
(22603)

 nCreator(4711)

DownloadTélécharger


LicenceLicense : Non spécifiée / IncluseUnspecified / Included

 TéléchargerDownload

Actions



Vote :

ScreenshotAperçu


Informations

Catégorie :Category: nCreator TI-Nspire
Auteur Author: kboiiii
Type : Classeur 3.0.1
Page(s) : 1
Taille Size: 4.17 Ko KB
Mis en ligne Uploaded: 18/09/2025 - 20:46:58
Uploadeur Uploader: kboiiii (Profil)
Téléchargements Downloads: 1
Visibilité Visibility: Archive publique
Shortlink : https://tipla.net/a4848244

Description 

Fichier Nspire généré sur TI-Planet.org.

Compatible OS 3.0 et ultérieurs.

<<
import math while True:     print("MAIN MENU")     print("1. Magnitude/Unit Vector")     print("2. Dot Product")     print("3. Cross Product")     print("4. Cross Product Magnitude")     print("5. Angle Between Vectors")     print("6. Quadratic Formula")     print("7. Geometry")     print("8. Exit")     choice = input("Select: ")     if choice == '1':         print("Enter Vector A")         while True:             try:                 x = float(input("Enter x: "))                 y = float(input("Enter y: "))                 z = float(input("Enter z: "))                 a = [x, y, z]                 break             except ValueError:                 print("Error: Numbers only.")         mag = math.sqrt(a[0]**2 + a[1]**2 + a[2]**2)         print("Magnitude = " + str(mag))         if mag != 0:             uv = [a[0]/mag, a[1]/mag, a[2]/mag]             print("Unit Vector = <" + str(uv[0]) + ", " + str(uv[1]) + ", " + str(uv[2]) + ">")     elif choice == '2':         print("Enter Vector A")         while True:             try:                 ax = float(input("Enter x: "))                 ay = float(input("Enter y: "))                 az = float(input("Enter z: "))                 a = [ax, ay, az]                 break             except ValueError:                 print("Error: Numbers only.")         print("Enter Vector B")         while True:             try:                 bx = float(input("Enter x: "))                 by = float(input("Enter y: "))                 bz = float(input("Enter z: "))                 b = [bx, by, bz]                 break             except ValueError:                 print("Error: Numbers only.")         dot_prod = (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2])         print("Dot Product = " + str(dot_prod))     elif choice == '3':         print("Enter Vector A")         while True:             try:                 ax = float(input("Enter x: "))                 ay = float(input("Enter y: "))                 az = float(input("Enter z: "))                 a = [ax, ay, az]                 break             except ValueError:                 print("Error: Numbers only.")         print("Enter Vector B")         while True:             try:                 bx = float(input("Enter x: "))                 by = float(input("Enter y: "))                 bz = float(input("Enter z: "))                 b = [bx, by, bz]                 break             except ValueError:                 print("Error: Numbers only.")         x = (a[1]*b[2]) - (a[2]*b[1])         y = (a[2]*b[0]) - (a[0]*b[2])         z = (a[0]*b[1]) - (a[1]*b[0])         print("Cross Product = <" + str(x) + ", " + str(y) + ", " + str(z) + ">")     elif choice == '4':         print("Enter Vector A")         while True:             try:                 ax = float(input("Enter x: "))                 ay = float(input("Enter y: "))                 az = float(input("Enter z: "))                 a = [ax, ay, az]                 break             except ValueError:                 print("Error: Numbers only.")         print("Enter Vector B")         while True:             try:                 bx = float(input("Enter x: "))                 by = float(input("Enter y: "))                 bz = float(input("Enter z: "))                 b = [bx, by, bz]                 break             except ValueError:                 print("Error: Numbers only.")         x = (a[1]*b[2]) - (a[2]*b[1])         y = (a[2]*b[0]) - (a[0]*b[2])         z = (a[0]*b[1]) - (a[1]*b[0])         mag = math.sqrt(x**2 + y**2 + z**2)         print("Magnitude = " + str(mag))     elif choice == '5':         print("Enter Vector A")         while True:             try:                 ax = float(input("Enter x: "))                 ay = float(input("Enter y: "))                 az = float(input("Enter z: "))                 a = [ax, ay, az]                 break             except ValueError:                 print("Error: Numbers only.")         print("Enter Vector B")         while True:             try:                 bx = float(input("Enter x: "))                 by = float(input("Enter y: "))                 bz = float(input("Enter z: "))                 b = [bx, by, bz]                 break             except ValueError:                 print("Error: Numbers only.")         dot = (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2])         mag_a = math.sqrt(a[0]**2 + a[1]**2 + a[2]**2)         mag_b = math.sqrt(b[0]**2 + b[1]**2 + b[2]**2)         if mag_a == 0 or mag_b == 0:             print("Error: Zero vector")         else:             cos_t = dot / (mag_a * mag_b)             if cos_t > 1.0: cos_t = 1.0             if cos_t < -1.0: cos_t = -1.0             rad = math.acos(cos_t)             deg = math.degrees(rad)             print("Radians = " + str(rad))             print("Degrees = " + str(deg))     elif choice == '6':         print("ax^2+bx+c=0")         try:             a_q = float(input("a: "))             b_q = float(input("b: "))             c_q = float(input("c: "))  
[...]

>>

-
Search
-
Social TI-Planet
-
Featured topics
Ndless for CX 4.5.5 / CX II 6.2.0
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2563 utilisateurs:
>2536 invités
>20 membres
>7 robots
Record simultané (sur 6 mois):
43991 utilisateurs (le 10/09/2025)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)