※ 引述《disappaer (牛)》之銘言:
: 嘗試解兩個聯立帶有三角函數值的方程式
: 但是得到的解我卻看不懂是什麼意思 >"<
: eq1='3*cos(pi/3)+5*cos(y)-1.5*cos(z)-4.5=0'
: eq2='3*sin(pi/3)+5*sin(y)-1.5*sin(z)-3=0'
: solve(eq1,eq2)
: 得到的答案是
: ans =
: y: [2x1 sym]
: z: [2x1 sym]
: 想請問這是什麼意思呢?我想要的解的範圍應該是在0-2π之間
: 是打進去的指令有錯誤嗎?
: 煩請各位幫忙解答,謝謝 !!
他把答案輸出成結構矩陣了
點workspace裡面的ans就可以看到兩組解
z=
.13318154107123603547310444761782+.95924901896217867947679158695653*i
.13318154107123603547310444761782-.95924901896217867947679158695653*i
和
y=
.13318154107123603547310444761782+.32806670297993326263597949693620*i
.13318154107123603547310444761782-.32806670297993326263597949693620*i
--
Deserves death! I daresay he does. Many that live deserve death. And some die
that deserve life. Can you give that to them? Then be not too eager to deal out
death in the name of justice, fearing for your own safty. Even the wise cannot
see all ends.
Gandalf to Frodo
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.225.207.78