问题标签 [wxmaxima]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
213 浏览

maxima - 使用 (wx)Maxima 求解方程:控制堆栈已耗尽

使用 (wx)Maxima 求解方程:控制堆栈已耗尽

我正在尝试使用 (wx)Maxima 求解方程:制定方程,然后让它插入变量并求解缺失变量的方程。但我很难过。不知何故,它在最后一行遇到了问题:

那是我的代码:

如果我“直接”计算它,它虽然有效:

0 投票
1 回答
53 浏览

maxima - wxMaxima ezunits 有趣的生意

单位的处理是否损坏或我错过了什么?

产生的不是人们所希望的:

应该:

0 投票
1 回答
44 浏览

maxima - wxmaxima 变换函数

我在练习的第 4 部分遇到问题,我无法让它在最大值下工作:

首先将 s_y(t) 转换为 t=... 应该是 t=sqrt(2*s_y/a_y)

然后将其插入到 s_x(t) 中,以获得一个新的 s_x2(s_y) 函数,其中您不插入时间而是插入垂直长度 (s_y),但仍然获得水平长度。

结果应该是 s_x2(s_y)=a_x*s_y/a_y

这在最大值中是如何工作的?

我尝试了什么: https ://filebin.net/9hhdfkklqrn5fznt/Rakete.wxmx?t=tdbuwxj1

0 投票
1 回答
58 浏览

maxima - Is there a way to force code to be run inside maxima block?

I am trying to evaluate some code inside a block in Maxima but it does not seem to be working. If I want have something of the form

it does not seem to load the file. I wanted to circumvent this problem by defining the only thing I need from that file in the following way

But again, I get an error that implies is not an infix operator. I think this is because both load and infix have a return value (done and implies respectively in my case) which somehow corrupts the block.

It is absolutely necessary that either the entire Maxima code is contained inside a block. So although both

and

work. This is not an option for me.

0 投票
0 回答
51 浏览

wxmaxima - 如何替换wxMaxima中导数的解?

我试图用 wxMaxima 代替方程中一阶导数的值。替换步骤适用于简单代数,但不适用于导数。它也替代了二阶导数,但我只想看到一阶导数被替换。我在哪里做错了?

0 投票
0 回答
39 浏览

maxima - 为什么最大值只显示 [ ] 作为输出答案?

我是使用 Maxima 的新手,所以当我想解决这些联立方程时:

其中变量是$x, y$, 最大值显示:

$[\;]$

作为输出。我通过 GUI wxmaxima 状态栏中方程选项下的求解代数系统选项插入方程组。

那么我应该怎么做才能得到一个正确的答案作为输出,请建议。

0 投票
1 回答
133 浏览

maxima - Maxima:如何定义内置函数?

有没有办法在中定义内置函数Maxima

我有一个函数,我想在几个 .wxm 文件中使用它而不在每个文件中定义它们。

0 投票
2 回答
580 浏览

maxima - Maxima:类似于 Excel 中的圆形

是否有一个函数可以像round()in一样对数字(甚至十进制数)进行四舍五入Excel

例子

将 1,45 舍入到小数点后一位:1,5

将 2,45 舍入到小数点后一位:2,5

有一个类似的问题,但他们使用不同的算法。

0 投票
0 回答
216 浏览

maxima - Maxima 在表达式中收集特定术语

我有一个表达式,实际上可以通过收集特定术语以简单的形式表达。我在 Maxima 中遇到问题,无法将表达式替换或简化为已知术语。

我想要的是这样的

哪里是通过使用已知项c1,c2,q1,q2进行简化而生成的常数。怎么做?有什么特定的语法吗?expra1,a2

0 投票
1 回答
562 浏览

maxima - 如何打破Maxima中的循环

我是千里马的新手。我正在尝试编写一个循环,我正在检查是否满足某些条件然后退出循环。

我要输出:
1 小于 6
2 小于 6
3 小于 6
4 小于 6
5 小于 6
6 小于 6

但是当我运行上面的代码时:

打印 6 is less than 6 后,提示 Entering a Maxima break point。输入“退出;” 恢复。
并在输入退出后;它将再次显示上述味精

我希望代码完全从那个循环中出来,而不是要求输入 exit;

先感谢您..