第一次用matlab解二元二次方程组:
( x - 1198.5 )²+ y² =800² (1)
( x - 430 )² +( y - 800 )²= 782² (2)
>> [x,y] = solve('(x-1198.5)^2 + y^2= 800^2','(x-430)^2 - (y-800)^2 = 782^2')
结果为:
x = 1212.0000082970033997702849488708 1879.267450505328847060271339234882.866270598833876584721855947226 -474.26564720979593490861985158668*i474.26564720979593490861985158668*i +82.866270598833876584721855947226y = 799.88608549966715830309113421703 -420.18529047608822558812199963881610.14960248821053364251543271089 -867.17544445789576840674855471655*i867.17544445789576840674855471655*i +610.14960248821053364251543271089Note : 也是第一次使用matlab,今后得好好学这强大的科学计算软件啊!
欢迎访问我的个人网站:raysmond.com