<jupyter_start><jupyter_text>Sympy and LaTex: Bug hunt!<jupyter_code>mu,alpha = sym.symbols('mu,alpha')

expr = 2*sym.exp(mu**2/alpha)

display(Math( expr ))
Math('1234 + \frac{3x}{\sin(2\pi t+\theta)}')
a = '3'
b = '4'

# answer should be 7
print(sym.sympify(a+b))
sym.Eq( 4*x = 2 )
# part 1 of 2

q = x^2
r = x**2

display(q)
display(r)
# part 2 of 2

q,r = sym.symbols('q,r')

q = sym.sympify('x^2')
r = sym.sympify('x**2')

display(q)
display(r)

sym.Eq(q,r)
x = sym.symbols('x')

equation = (4*x**2 - 5*x + 10)**(1/2)
display(equation)
sym.subs(equation,x,3)
x,y = sym.symbols('x,y')

equation = 1/4*x*y**2 - x*(5*x + 10*Y**2)**(3)
display(equation)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.23976608187134502, 'fraction_numerical': 0.054093567251461985, 'mean_word_length': 4.805084745762712, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '105890', 'license': 'MIT', 'n_tokens_mistral': 359, 'n_tokens_neox': 338, 'n_words': 63, 'path': 'MXC_pymath_sympy_BugHunt.ipynb', 'repo_name': 'stefan-cross/mathematics-with-python', 'size': '684'}