LoginSignup
0
0

More than 1 year has passed since last update.

定積分1/(1+cosx)「2022信州大理(数)1(1)」をwolframalphaとsympyでやってみた。

Last updated at Posted at 2023-02-22

グラフがでます。
オリジナル

上と同じです。大学入試数学問題集成>テキスト

wolframで

参考

上の不定積分

sympyで(半角の公式で)

勉強中

sympyで(wolframと同じ)

from sympy import *
var('x')
y=1/(1+cos(x))
print("#",integrate(y,(x,pi/2,2*pi/3)))
plot(y,0,(x,pi/2,2*pi/3))
# -1 + sqrt(3)

plotコマンドは、縦横比?異なります。

Figure_1.png

参考

0
0
0

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