Skip to content

Latest commit

 

History

History
169 lines (140 loc) · 6.63 KB

File metadata and controls

169 lines (140 loc) · 6.63 KB

Algorithms for TI NSPIRE CX II CAS Calculators for Numerical Calculation

Stars Commits Version Issues Ko-Fi

Important

The codes in this repo are written in spanish.

Developer

Mamey

Mamey
📖 Commits


Table of Contents

About this repository

This repository is a collection of automated codes written in TI-Basic for TI NSPIRE CX II CAS calculators.

The codes present here allow you to calculate some of the most important numerical calculation algorithms / numerical methods, step by step, and with iterations if applicable.


System of linear equations

Potential minima

Roots by secant method

Linear equations Gauss-Seidel

Available codes:

  • Interpolation1.
  • Least squares.
  • Exponential minima.
  • Potential minima.
  • Second degree linear regression.
  • Third degree linear regression.
  • Jacobi iterative method for matrices.
  • Convergence for Jacobi2.
  • Gauss-Seidel iterative method for matrices.
  • Square roots by the secant iterative method.
  • Square roots by the bisection iterative method.
  • Square roots by the Newton iterative method.
  • Newton's nonlinear equation systems.

Requirements

Software and extras:

  • Calculator: OS version 5.4.0.259 (minimum)
  • TI-Nspire CX CAS Student Software: Download here (version 6.0.3.374). This desktop program allows you to test the codes on PC and transfer files.
  • File Transfer: File transfer webpage (optional, in case you do not have a license to use the TI-Nspire CX CAS student software).

Installation on the calculator

  1. Download the repository.
  2. Locate the files: In the tns folder are all the .tns files, these are the codes that need to be transferred to the calculator (or the student program).
  3. Transfer files: Open the tns file transfer webpage and transfer all .tns files to the calculator.

Tip

Preferably save the codes inside the MyLib folder within the calculator.

  1. Update libraries: Within the calculator, select the following options in order: Home ButtonMenu ButtonButton B (refresh all libraries).

Available algorithms by file:

Topic TNS with codes Functions
Roots of Nonlinear Equations raice_biseccion.tns secante()
secante_pap()
raices_newton.tns newton()
newton_pap()
raices_secante.tns secante()
secante_pap()
Systems of Linear Equations: Jacobi and Gauss-Seidel jacobi.tns jacobi(a,b,x0,tol)
jacobi_conv(a,b,x0,tol)
seidel.tns seidel(a,b,x0,tol)
seidel_conv(a,b,x0,tol)
Systems of Nonlinear Equations: Newton sist_ecnl_newton.tns newton_sistecnl2i()
Interpolation and Curve Fitting (Least Squares) interpol_minimos.tns interpol(x,y,n)
minimos2(x,y,n)
minimos_expone(x,y)
minimos_poten(x,y)
Numerical Integration integracion.tns intg_trap()
intg_longarco()
intg_trap2(a,b,tol,fx2)

Contributions

This code is not under active maintenance.

However, if you find any errors, please create an issue in the repository so it can be reviewed.

Support

The content of this repository is free and open-source.

Although no active updates are being made, it remains a useful educational resource for both students and teachers. You can support by giving a ⭐ to the repository or sharing it with others.

License

Summary:

  1. The code in this repository is strictly educational.
  2. I am not responsible for the use (or possible damages from the use) of the codes present here.
  3. You are free to distribute the codes present here.

For more information, read the LICENSE file.

Footnotes

  1. Second and third degree.

  2. Spectral radius.