问题标签 [mathematica-7]

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 投票
2 回答
302 浏览

wolfram-mathematica - 在 Mathematica 中以非科学形式打印小数

我想以3*10^-9非科学形式打印所代表的数字:0.000000003。我怎样才能做到这一点? NumberForm[N[3*10^-9], {Infinity, 10}]不起作用。谢谢你。

0 投票
1 回答
556 浏览

wolfram-mathematica - Set::write error when using For loop

Solving a complicated formula f(u,v)==0, where

I assign some constant value to u and then solve v.

I can solve it without for-loop, but encounter errors by adding For[] enclosing the codes,

where saying

A simple example to illustrate my idea:

will get error:

Only when I add For[ ] at the outside of the code

(inner 4-line code works fine without for loop)

So it seems that there is an variable assignment permission issue in the for loop

How can I avoid it?

0 投票
1 回答
303 浏览

wolfram-mathematica - 如何使用 Manipulate Plot 去除不需要的空白

我正在尝试制作下一个简单的交互式情节:

我没有足够的声誉来发布结果图片,但你可以在这里看到:

https://dl.dropboxusercontent.com/u/21949826/picture.png

如您所见 - 图上方和下方有太多空白区域。我怎样才能摆脱这个?

谢谢!