poster
2019-12-10, 16:49
我有二次方程式1 / x = 1 /(ax)+ 1 /(3 * a -x)
我想在Matlab中解决它:
solve('1/x=1/(ax)+1/(3*ax)', 'x') ans = (4/3+1/3*7^(1/2))*a (4/3-1/3*7^(1/2))*a 有什么方法可以用浮点系数求解方程?喜欢
ans = 2.215250437021530*a 0.451416229645136*a
回答:
显然 (http://forum.allaboutcircuits.com/showthread.php?t=8234) , double(ans)应该为您转换。
更多&回答... (https://stackoverflow.com/questions/881010)
我想在Matlab中解决它:
solve('1/x=1/(ax)+1/(3*ax)', 'x') ans = (4/3+1/3*7^(1/2))*a (4/3-1/3*7^(1/2))*a 有什么方法可以用浮点系数求解方程?喜欢
ans = 2.215250437021530*a 0.451416229645136*a
回答:
显然 (http://forum.allaboutcircuits.com/showthread.php?t=8234) , double(ans)应该为您转换。
更多&回答... (https://stackoverflow.com/questions/881010)