TI-Nspire | A collection of information , tools , and exploits | Awesome List library
kandi X-RAY | TI-Nspire Summary
kandi X-RAY | TI-Nspire Summary
A collection of information, tools, and exploits for TI-Nspire calculators.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TI-Nspire
TI-Nspire Key Features
TI-Nspire Examples and Code Snippets
Community Discussions
Trending Discussions on TI-Nspire
QUESTION
I'm struggling with ti linear equation solving. I want to solve system of equations of two variables(i,v). following is two equations.
ai=v+iq
v=(i-1-bv)p
When I use ti-nspire cas function 'solve' answer i=,v= still contains i and v. But I want to express them in unknown constants(a,b,p,q) only. How can I do that??
I tried to express them in other ways, But it doesn't work.
And some times answer of system of equation contains expression like'x=c5'. I wonder What c5 is meaning.
thank you.
...ANSWER
Answered 2021-Apr-14 at 21:03Remember to use explicit mulitplication:
]
QUESTION
I tried the following to find a sine regression but I am not able to draw a sine curve. What am I doing wrong here?
...ANSWER
Answered 2020-Jan-26 at 02:46The thing you are doing "wrong" is passing p0=None
to curve_fit()
.
All fitting methods really, really require initial values. Unfortunately, scipy.optimize.curve_fit()
has the completely unjustifiable option of allowing you to not set initial values and silently (not even a warning!!) making the absurd guess that all values have initial values of 1.0. It turns out that for your problem these impossible-to-justify-and-broken-by-design initial values are so bad that the fit fails to find a good answer. This is not uncommon. curve_fit
is lying to you that p0=None
is acceptable, and you are believing that lie.
The solution is to recognize that the offset is obviously around 11 and use p0=[1.0, 0.5, 0.5, 11.0]
.
You might consider using lmfit
(https://lmfit.github.io/lmfit-py/). for this problem (disclaimer: I am a lead author). lmfit
has a Model
class for curve-fitting that has several useful features that might be useful here (not that curve_fit
cannot solve this problem -- it can). With lmfit
, your fit might look like:
QUESTION
I am trying to perform a partial derivation with the TI-NSPIRE CX CAS. However, a variable is always output as 0 in the result.
Example with the nspire: d/dx(yx) = 0
But I would expect "y" as a result here.
Wolfram gives the expected result as example. How do I enter in the calculator that y is considered as a variable?
...ANSWER
Answered 2020-Jan-01 at 23:30You forgot that there is no implicit multiplication. Use x*y
not xy
QUESTION
I am trying to understand how to use the TI-Nspire CAS system through Lua. I am trying to emulate the
solve(x+5/3,x)
functionality found in the TI-Nspire CX CAS gui.
I looked through the API Docs found here : https://education.ti.com/download/en/ed-tech/59108CCE54484B76AF68879C217D47B2/7EFB09CED41C4190AFF8F60283B6727A/TI-NspireLuaScriptingAPIReferenceGuide.pdf
I believe what I am looking for is the eval
function on page 51 although I can't find much online to sample from. The examples provided are not concrete ones.
ANSWER
Answered 2019-Mar-25 at 08:24From the TI-Nspire Lua Scripting API Reference Manual 12.1 math.eval:
Warning
math.eval is not available during script initialization
To avoid this error do not call the function befor script is initialized.
QUESTION
I've tried compiling this Ti-Nspire exploit, but I've run into several problems. Some of them I could fix myself, but now I stuck at the following problem for weeks (I've tried contancting the developer, but he's very busy):
...ANSWER
Answered 2018-Oct-15 at 10:33Makefile is wrong
QUESTION
A few years ago, Linux 3.8 was ported to the TI-nSpire graphing calculator (https://github.com/tangrs/linux). While some of the changes were upstreamed, most of them were not. I've been rewriting the patches for the latest kernel sources, but I'm stuck on a deprecated function:create_proc_entry()
I got two GCC error messages relating to this. The first one I fixed by changing create_proc_entry(BOOT1_PROCFS_NAME, 0644, NULL);
to proc_create_data(BOOT1_PROCFS_NAME, 0644, NULL, NULL, NULL);
(If there is something better, please let me know.)
The second error,
ANSWER
Answered 2018-Jun-15 at 09:27Function proc_create_data
has prototype
QUESTION
I am attempting to create a simple quadratic formula program for my TI-Nspire CX CAS. I seem to have everything correct, and it works on the computer:
However, it doesn't work on the calculator. I get the second one correct, but the 1st is -4.44089...e-16. (doesn't say ..., just using it because I don't want to type out the whole thing)
The (simplified) code is as follows:
...ANSWER
Answered 2018-May-13 at 14:05What Egor is trying to say is that computers do not calculate exact answers most of the time.
Texas Instruments deals primarily in the micro-controllers so I wouldn't expect the usual x86-64 processor inside that device of yours. That means TI can do a whole lot of things in their own way. They may make own decisions on how to handle small values, rounding, how to handle complex mathematical operations etc...
Computers use at least 32 bit floating point numbers these days. This page gives precision (number of bits before e^-16
that are correct in the machine representation). For 32 bits that value is 24
. I couldn't find much info on the calculator, except the wiki page, which says its precision is 14
. More than half-float less than float, not defined in that IEEE standard.
That sqrt
over there is a nasty function. Computing its value requires quite a lot of computations. Lots of steps means lots of arithmetic errors, the lower precision the further from true value it gets. This also depends on the exact algorithm chosen in the sqrt
function. You could check whether the math.sqrt(4^2)
returns what it should return and whether math.sqrt(4^2))/(2*4)
return exactly half of that.
Battling with numerical errors in computations is an entire discipline on its own and recipes differ depending on what equation you are tackling. There's this post considering the quadratic equations.
Or maybe in your case you'll be happier with just discarding all but few numbers after the decimal point in the final answer.
QUESTION
I've seen lot's of answers to convert strings to integers, but how can I convert integers to strings? When I try microseconds.toString()
I get the following error: attempt to index upvalue 'microseconds' (a number value)
Please note that this is on a ti-nspire running os 4.5.0.1180
Thanks for any help you can provide!
...ANSWER
Answered 2018-Apr-23 at 07:07From https://www.lua.org/manual/5.1/manual.html#pdf-tostring
tostring (e)
Receives an argument of any type and converts it to a string in a reasonable format. For complete control of how numbers are converted, use
string.format
. If the metatable of e has a "__tostring
" field, then tostring calls the corresponding value with e as argument, and uses the result of the call as its result.
Maybe you should learn the very basics of Lua befor you continue using a TI NSpire's Lua API.
Also tostring
is mentioned in Chapter 1, page 1 of the NSpire Lua Scripting API Reference Guide...
So maybe you should get into reading manuals. It's a good habit.
QUESTION
I'm trying to do the following operation with my TI-Nspire CAS; I have:
x=a+b
y=a-c
I'd like to get:
y=x-b-c
Thank you so much for your time.
...ANSWER
Answered 2018-Apr-01 at 10:05Something like this:
QUESTION
I have a TI-Nspire CX. I have some important files on it, which I only need to be able to read (I don't need to edit them for the time being). However, I'm also using my TI-Nspire in my math class and my teacher makes me clear my calculator at the end of the class. Is there any way to archive programs on a TI-Nspire or to make it so that they don't get cleared.
The file is something that was made on a computer (think of it like a program for a game).
Note: You cannot archive programs and files on a TI-Nspire like you do on other calculators.
Disclaimer: The program has nothing to do with the test. In fact, I don't need to access the files until 2 hours after my calculus class but I still need it to be on there for a different class.
If this is impossible, can you explain why?
...ANSWER
Answered 2017-Sep-14 at 07:30I suppose that you are typing something in scratchpad's calculator and teacher ask you to clear the history? Firstly, you can save the scratchpad's sessions. Press ctrl+home/file/save and TI will open a new document with your calculator and graph content, which you can save. Then, close the document, go back to scratchpad and clear the history in front of your teacher. EDIT: after careful reading, it seems i misunderstood the question. What kind of "clear" your teacher wants you to perform, hard reset? Thats a pretty complicated procedure, i really doubt that teacher is that much into TI calcs that she would know it. Please, clarify it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TI-Nspire
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page