LoginSignup
0
0

More than 1 year has passed since last update.

log(x+1,3-x)>0「2023公立千歳科学技術大学前期【1】(3)」をWolframAlphaとsympyでやってみた。

Posted at

WolframAlphaとsympyのグラフがでます。

オリジナル

以前、以下で私はコメントしていました。

上と同じです。大学入試数学問題集成>テキスト【1】(3)

WolframAlphaで

log(x+1,3-x)>0

sympyで

from sympy import *
x=symbols('x',real=True)
f=log(3-x,x+1) 
print("#",solve_univariate_inequality(  f > 0, x) )
plot(f)
# (0 < x) & (x < 2)

①私の環境は,pycharmです。
②よく聞くのは、Jupyterです。
③web上で、上記のソースを「SymPy Live shell」に、コピー貼り付けでもできました。
黒背景の右上に、マウスを移動すると、コピーマークが発生します。
??? タブレット環境で、コピー貼り付けが実行できませんでした。???

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

0png.png

参考

class sympy.functions.elementary.exponential.log(arg, base=None)

?????
sympy.solvers.inequalities.solve_univariate_inequality(expr, gen, relational=True, domain=Reals, continuous=False)

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