ti-nspire

Inspired Lua Program is Different on Computer and Calculator

白昼怎懂夜的黑 提交于 2020-01-03 03:22:08
问题 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: function quadraticA(f,s,t) return ((-1*s)+math.sqrt(s^2-4*f*t))/(2*f) end function quadraticB(f,s,t) return ((-1*s)-math

Constant in function of other constants - TI-Nspire CAS

一笑奈何 提交于 2019-12-13 03:02:17
问题 I have these three expressions: E1=(c1-c2)/(c1-c5) E2=(c3-c4)/(c3-c7) Es=(c1-c4)/(c1-c5) How can I express Es in function of E1 and E2? Es=E1+E2*(c3-c7)/(c1-c5) Thank you for your time. 回答1: This is same type of problem you had in previous question and you were right - TI basic is not made for such things. There is no automatic way to do what you want but in each individual case you can do the same kind of gymnastics as previously. In this case, you have system of 2 equations with many