<jupyter_start><jupyter_text>微積分の計算について  No.2  問題と解答  学籍番号[＿＿＿＿＿＿＿＿＿]クラス[＿＿＿＿＿]　クラス番号[＿＿＿＿＿] 名前[＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿]<jupyter_code>from sympy import *
x, n , y = symbols('x n y')
init_printing()
expr = x**5-2*x**3+x+3
deriv = Derivative(expr,x,1)
print( 'No.1')
deriv
deriv.doit()
expr = (x**2-3*x+1)*(x**2+1)
deriv = Derivative(expr,x,1)
print( 'No.2')
deriv
deriv.doit()
expr = 1/(x**2+1)
deriv = Derivative(expr,x,1)
print( 'No.3')
deriv
deriv.doit()
expr = (x**2+x+1)**4
deriv = Derivative(expr,x,1)
print( 'No.4')
deriv
deriv.doit()
expr = cbrt(x**2-x+1)
deriv = Derivative(expr,x,1)
print( 'No.5')
deriv
simplify(deriv.doit())
expr = sin(2*x+2)
deriv = Derivative(expr,x,1)
print( 'No.6')
deriv
simplify(deriv.doit())
expr = sin(x)*cos(2*x)
deriv = Derivative(expr,x,1)
print( 'No.7')
deriv
deriv.doit()
expr = 2**(3*x)
deriv = Derivative(expr,x,1)
print( 'No.8')
deriv
deriv.doit()
expr = exp(x)*sin(x)
deriv = Derivative(expr,x,1)
print( 'No.9')
deriv
deriv.doit()
expr = log(sqrt(x**2+1))
deriv = Derivative(expr,x,1)
print( 'No.10')
deriv<jupyter_output>No.10<jupyter_text><jupyter_code>deriv.doit()
expr =sqrt((x**2-1)/(x**2+1))
deriv = Derivative(expr,x,1)
print( 'No.11')
deriv
simplify(deriv.doit())
expr = x**x
deriv = Derivative(expr,x,1)
print( 'No.12')
deriv
deriv.doit()
expr = asin(x)
deriv = Derivative(expr,x,1)
print( 'No.13')
deriv<jupyter_output>No.13<jupyter_text>$$ \frac{d}{dx}\sin^{-1}(x) $$<jupyter_code>deriv.doit()
expr = atan(x)
deriv = Derivative(expr,x,1)
print( 'No.14')
deriv<jupyter_output>No.14<jupyter_text>$$ \frac{d}{dx}\tan^{-1}(x) $$<jupyter_code>deriv.doit()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.24877149877149876, 'fraction_numerical': 0.042997542997543, 'mean_word_length': 6.946341463414634, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '658143', 'license': 'MIT', 'n_tokens_mistral': 961, 'n_tokens_neox': 871, 'n_words': 128, 'path': '01_02181015-taka_biseki-2-3Ex&ans.ipynb', 'repo_name': 'kt-pro-git-1/Calculus_Differential_Equation-public', 'size': '1628'}