%22%22%22Derive%20Symbolic%20Mathematics%20Notebook%22%22%22%0A%0Aimport%20marimo%0A%0A__generated_with%20%3D%20%220.19.4%22%0Aapp%20%3D%20marimo.App()%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_()%3A%0A%20%20%20%20import%20marimo%20as%20mo%0A%20%20%20%20from%20derive%20import%20Symbol%2C%20Integrate%2C%20D%2C%20Sin%2C%20Cos%2C%20Exp%2C%20Pi%2C%20Plot%0A%20%20%20%20return%20Cos%2C%20D%2C%20Exp%2C%20Integrate%2C%20Pi%2C%20Plot%2C%20Sin%2C%20Symbol%2C%20mo%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(mo)%3A%0A%20%20%20%20mo.md(r%22%22%22%0A%20%20%20%20%23%20Derive%20Notebook%0A%0A%20%20%20%20A%20symbolic%20mathematics%20environment%20for%20Python.%0A%20%20%20%20%22%22%22)%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(Symbol)%3A%0A%20%20%20%20x%20%3D%20Symbol('x')%0A%20%20%20%20return%20(x%2C)%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(D%2C%20Exp%2C%20Sin%2C%20x)%3A%0A%20%20%20%20%23%20Symbolic%20differentiation%0A%20%20%20%20D(Sin(x)%20*%20Exp(x)%2C%20x)%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(Exp%2C%20Integrate%2C%20x)%3A%0A%20%20%20%20%23%20Integration%0A%20%20%20%20Integrate(x**2%20*%20Exp(-x)%2C%20x)%0A%20%20%20%20return%0A%0A%0A%40app.cell(hide_code%3DTrue)%0Adef%20_(Cos%2C%20Pi%2C%20Plot%2C%20Sin%2C%20x)%3A%0A%20%20%20%20%23%20Plotting%0A%20%20%20%20Plot(%5BSin(x)%2C%20Cos(x)%5D%2C%20(x%2C%200%2C%202*Pi))%0A%20%20%20%20return%0A%0A%0Aif%20__name__%20%3D%3D%20%22__main__%22%3A%0A%20%20%20%20app.run()%0A
4cc05eea7b4fd2254d73b0faa80e9919