mathematica tag protected 我懂啥米意思看图我要怎么输入才可以解方程In[11]:= Solve[{3 x + 2 y = 15,3 x - 3 y = 12},{x,y}]During evaluation of In[11]:= Set::write:Tag Plus in 3 x+2 y is Protected.>>During evaluation of In[11]:= Set::
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/15 05:29:55
![mathematica tag protected 我懂啥米意思看图我要怎么输入才可以解方程In[11]:= Solve[{3 x + 2 y = 15,3 x - 3 y = 12},{x,y}]During evaluation of In[11]:= Set::write:Tag Plus in 3 x+2 y is Protected.>>During evaluation of In[11]:= Set::](/uploads/image/z/12539788-52-8.jpg?t=mathematica+tag+protected+%E6%88%91%E6%87%82%E5%95%A5%E7%B1%B3%E6%84%8F%E6%80%9D%E7%9C%8B%E5%9B%BE%E6%88%91%E8%A6%81%E6%80%8E%E4%B9%88%E8%BE%93%E5%85%A5%E6%89%8D%E5%8F%AF%E4%BB%A5%E8%A7%A3%E6%96%B9%E7%A8%8BIn%5B11%5D%3A%3D+Solve%5B%7B3+x+%2B+2+y+%3D+15%2C3+x+-+3+y+%3D+12%7D%2C%7Bx%2Cy%7D%5DDuring+evaluation+of+In%5B11%5D%3A%3D+Set%3A%3Awrite%3ATag+Plus+in+3+x%2B2+y+is+Protected.%3E%3EDuring+evaluation+of+In%5B11%5D%3A%3D+Set%3A%3A)
mathematica tag protected 我懂啥米意思看图我要怎么输入才可以解方程In[11]:= Solve[{3 x + 2 y = 15,3 x - 3 y = 12},{x,y}]During evaluation of In[11]:= Set::write:Tag Plus in 3 x+2 y is Protected.>>During evaluation of In[11]:= Set::
mathematica tag protected
我懂啥米意思
看图我要怎么输入才可以解方程
In[11]:= Solve[{3 x + 2 y = 15,3 x - 3 y = 12},{x,y}]
During evaluation of In[11]:= Set::write:Tag Plus in 3 x+2 y is Protected.>>
During evaluation of In[11]:= Set::write:Tag Plus in 3 x-3 y is Protected.>>
During evaluation of In[11]:= Solve::naqs:15&&12 is not a quantified system of equations and inequalities.>>
Out[11]= Solve[{15,12},{x,y}]
为什么错了 图无法上传
mathematica tag protected 我懂啥米意思看图我要怎么输入才可以解方程In[11]:= Solve[{3 x + 2 y = 15,3 x - 3 y = 12},{x,y}]During evaluation of In[11]:= Set::write:Tag Plus in 3 x+2 y is Protected.>>During evaluation of In[11]:= Set::
正确的语句是Solve[{3 x + 2 y == 15, 3 x - 3 y == 12}, {x, y}]
Mathematica里等于号是==
=是赋值号
楼上说得对,你在将3 x + 2 y 定义为15,相当于令Plus作用在3x和2y上成为15,而Plus是个保护函数
如果不把Plus保护起来,你甚至可以定义2+2=5,如:
Unprotect[Plus];
2+2=5;
Protect[Plus];
这在Mathematica里是允许的。