0
0

sin140°+cos130°+tan120°「2015 防衛医科大学校 看護学科【3】[1]」をChatGPTとsympyとWolframAlphaでやってみたい。

Posted at

・以前、やった事があるかも。

オリジナル

・大学入試数学問題集成 様>【3】[1]テキスト

ChatGPT-3.5先生へ(1回目)

大学入試数学問題集成 様> 【3】テキスト

・ページのソースを表示です。MathMLです。
 省略しようと思いましたが、大学入試数学問題集成 様 の全文から必要部分の抜粋です。

<div class="totaldiv">
<div class="qref">
<div class="refnum">
<p><a name="top-0306" 
id="top-0306">
2015-20110-0306</a></p>
</div>
<div class="refinfo">
<p>2015 防衛医科大学校 看護学科</p></div>
<div class="refinfo2"></div>
<div class="diff"><p>易□ 並□ 難□</p></div></div>
<div class="qbody"><a name="q-0306" 
id="q-0306"></a>
<p class="slevel"><span 
class="qnum">【3】</span> 問11〜15の解答として正しいものを,(1)〜(5)の中からそれぞれ<math>
<mspace width=".2em"></mspace><mn>1</mn>
<mspace width=".2em"></mspace>
</math>つ選び,解答用紙にマークせよ.</p>
<a name="s-0306" id="s-0306"></a><p class="s1level"><span class="shomon1">[1]</span> 次の問に答えよ.</p>
<p class="s2level">問11 <math>
<mrow><mi>sin</mi><mo>&af;</mo><mn>140</mn><mo>&it;</mo><mi mathvariant="normal" class="MathML-Unit">&deg;</mi>
<mo>+</mo><mi>cos</mi><mo>&af;</mo><mn>130</mn><mo>&it;</mo><mi mathvariant="normal" class="MathML-Unit">&deg;</mi>
<mo>+</mo><mi>tan</mi><mo>&af;</mo><mn>120</mn><mo>&it;</mo><mi mathvariant="normal" class="MathML-Unit">&deg;</mi>
</mrow><mspace width=".2em"></mspace>
</math>はいくらか.
</p>
<p class="s2sublevel half"><math>
<mrow><mtext>(1)</mtext><mspace width="1em"></mspace>
<mo>-</mo><mn>1</mn><mo>-</mo><msqrt><mn>3</mn></msqrt>
<mspace width="2em"></mspace></mrow>
</math><math>
<mrow><mtext>(2)</mtext><mspace width="1em"></mspace>
<mo>-</mo><msqrt><mn>3</mn></msqrt>
<mspace width="2em"></mspace></mrow>
</math><math>
<mrow><mtext>(3)</mtext><mspace width="1em"></mspace>
<mn>1</mn><mo>-</mo><msqrt><mn>3</mn></msqrt>
<mspace width="2em"></mspace></mrow>
</math><math>
<mrow><mtext>(4)</mtext><mspace width="1em"></mspace>
<msqrt><mn>3</mn></msqrt>
<mspace width="2em"></mspace></mrow>
</math></p>
<p class="s2sublevel"><math>
<mtext>(5)</mtext></math> 上の<math>
<mspace width=".2em"></mspace><mn>4</mn>
<mspace width=".2em"></mspace>
</math>つの答はどれも正しくない.</p>
</div><div class="rclear"></div>
</div>
日本語で
sympyで
sympyのソースコードをお願いします

(回答省略)
https://docs.sympy.org/latest/modules/evalf.html

ChatGPT-3.5先生へ(2回目)

・以下の質問の仕方が悪かったです。

図形的に、日本語でお願いします。

WolframAlphaで

厳密な結果
-sqrt(3)

いつもの? sympyの実行環境と 参考のおすすめです。

(テンプレート)

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0