简体   繁体   English

如何使用 TI-nspire 自动求解系统

[英]How to solve systems with TI-nspire automatically

is there any solution to solve a large system of equations in a program with the TI-nspire without typing all the variable names by hand?是否有任何解决方案可以在不手动输入所有变量名称的情况下使用 TI-nspire 求解程序中的大型方程组?

For example, the function solve([1 2; 3 4]* [x; y] = 2,{x,y}) requires typing x,y manually.例如,function solve([1 2; 3 4]* [x; y] = 2,{x,y}) 需要手动输入 x,y。 How is this done if the dimensions of the matrix can change?如果矩阵的维度可以改变,这是怎么做到的?

I tried to use the function constructMat(x[i], i, j, 5, 1) which partly works but solve doesn't accept this function as variable as second argument.我尝试使用 function constructMat(x[i], i, j, 5, 1) 部分有效但解决方案不接受此 function 作为第二个参数的变量。

Thanks for the help!!谢谢您的帮助!!

I had this problem a while ago, i couldnt find any solution but to manually type the list of variables.不久前我遇到了这个问题,除了手动输入变量列表外,我找不到任何解决方案。 Ive found the way to construct the list of unkowns (B_n): i:=3:j:=4:B_n:=newlist(j+1) For i1,i,i+j:B_n[i1-i+1]:=expr("b"&string(i1)):endfor我找到了构建未知列表 (B_n) 的方法: i:=3:j:=4:B_n:=newlist(j+1) For i1,i,i+j:B_n[i1-i+1]:=expr("b"&string(i1)):endfor

with result: {b3,b4,b5,b6,b7}.结果:{b3,b4,b5,b6,b7}。 I dont remember exactly why this didnt work, i guess its the same reason (solve or zeros function will not accept this list as an argument)我不记得为什么这不起作用,我想它是同样的原因(解决或零 function 不会接受这个列表作为参数)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM