Total Pageviews

Blog Archive

Teaching (241) Mathematica (158) 3Q (50) Excel (45) SPSS (32) Cat (24) LaTeX (23) Mac (22) 君達呀 (15) Kaohsiung (14) 論文測試 (13) Mathematica教學講義 (3)

 

Followers

Mathematica 教學 求解方程組後將解指定給各變數?

Chung-Yuan Dye 於 Thursday, September 1, 2011 9:07 AM 發表



這種方法只適用唯一解的情況!

myList={x,y};

ans=myList/.Solve[{x+y==a-b,2x-y==a+3b},myList][[1]];
MapThread[Set,{myList,ans}]
{x,y}


Tags:

讀者回應 ( 0 意見 )

Post a Comment

Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.

如果這篇文章對你有幫助,那請留個訊息給我~