lint fixes

This commit is contained in:
lukew3
2023-05-30 09:27:23 -04:00
parent ecddec6e3b
commit 6d0841ef24
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ def stationary_points(max_exp=3, max_coef=10):
problem += coefficient * pow(x, exp)
solution = sympy.stationary_points(problem, x)
problem = 'f(x)=' + str(problem).replace('**', '^').replace('*','')
problem = 'f(x)=' + str(problem).replace('**', '^').replace('*', '')
return f'${problem}$', f'${sympy.latex(solution)[6:-8]}}}$'

View File

@@ -554,7 +554,7 @@ def volume_cone(max_radius=20, max_height=50, unit='m'):
def volume_cube(max_side=20, unit='m'):
"""Volume of a cube
| Ex. Problem | Ex. Solution |
| --- | --- |
| Volume of a cube with a side length of $19m$ is | $6859 m^3$ |