如何在表达式前面避免负号

如何在表达式前面避免负号

本文介绍了Maxima:如何在表达式前面避免负号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 限时删除!! 这是我的测试代码:kill(all)$assume(beta>0 and gamma>0)$simpsum:true$assume(beta<1 and gamma<=1)$f2:1-sum((1-beta)^l*(1-gamma)^(l-1)*gamma,l,1,inf),ratsimp;输出是:实际上有一个负号方程的前面。方程式是:There is actually a negative sign in the front of the equation. The equation is: -beta /((beta-1)* gamma-beta)-beta/((beta-1)*gamma-beta)但是经常忽略负号,因为它太接近于分数。我不喜欢开始时带负号的方程式。But you often neglect the negative sign as it is too close to the fraction. I do not like a equation with a negative sign in the beginning either. Maxima是否还能避免方程前面的负号?我想将示例方程式转换为:Is there anyway in Maxima that can avoid the negative sign in the front of an equation? I want to transform the example equation to: 更新 - 使用时出现的错误:lisp推荐答案我不知道有什么办法让Maxima把减号带入分数。但也许这将有助于:您可以通过更改其显示属性来告诉wxMaxima以不同的方式显示减号。尝试这样:I don't know a way to get Maxima to bring the minus sign into the fraction. But maybe this will help: you can tell wxMaxima to display the minus sign differently by changing its display property. Try this::lisp (setf (get 'mminus 'wxxmlsym) '("<v>- </v>"))默认情况下,字符串为 - ,即没有尾随空格。当然,你可以使字符串任何你喜欢的。By default, the string is "-", i.e., with no trailing space. Of course, you can make the string anything you like. 这篇关于Maxima:如何在表达式前面避免负号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的..
09-07 02:21