<jupyter_start><jupyter_text>Modeling and Simulation in PythonChapter 11: RotationCopyright 2017 <NAME>License: [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0)<jupyter_code>from sympy import *

init_printing()
T, a, alpha, I, m, g, r = symbols('T a alpha I m g r')
eq1 = Eq(a, -r * alpha)
eq1
eq2 = Eq(T - m * g, m * a)
eq2
eq3 = Eq(T * r, I * alpha)
eq3
soln = solve([eq1, eq2, eq3], [T, a, alpha])
soln[T]
soln[a]
soln[alpha]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1550695825049702, 'fraction_numerical': 0.03777335984095427, 'mean_word_length': 5.146341463414634, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 1, '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': '35608', 'license': 'MIT', 'n_tokens_mistral': 219, 'n_tokens_neox': 208, 'n_words': 59, 'path': 'code/old_notebooks/chap11sympy.ipynb', 'repo_name': 'SSModelGit/ModSimPy', 'size': '509'}