作者huarache (~絮~)
看板Mathematica
標題請問為何我輸入的三角函數計算無法算出一個值?
時間Sat Apr 28 19:07:37 2012
in:cos[150 Degree]*(cos[60 Degree] - 1) + sin[150 Degree] sin[60 Degree]
out:(-1 + cos[60 \[Degree]]) cos[150 \[Degree]] +
sin[60 \[Degree]] sin[150 \[Degree]]
不知道為何我的out無法輸出一個值
mathematica新手不太會還請高手多多指導一下
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.124.32.60
※ 編輯: huarache 來自: 140.124.32.60 (04/28 19:17)
※ 編輯: huarache 來自: 140.124.32.60 (04/28 19:18)
推 LPH66:在 Mathematica 裡所有內建函數至少都有字首大寫 04/28 19:18
→ LPH66:所以你只要改成用 Sin Cos 即可 04/28 19:19
→ LPH66:(說至少的原因是那些由多單字組合的函數名是每個單字大寫 04/28 19:19
→ LPH66: 也就是所謂的 CamelCase "駱駝式大寫") 04/28 19:20
→ huarache:字首大寫最基本的常識我竟然沒發現,謝謝LPH66 04/28 19:24