Hi all,
I have this integral with Mean Value Theorem to find value of c
:
\frac{\int_{A}^{B} (ax+b) \ dx}{B-A} = f(c)
with
f(c) = ac+b
then I use this code:
using SymPy
x, a, b = symbols("x a b")
A, B = symbols("A B")
f = integrate(a*x+b, (x, A, B))
The answer is in square terms:
The solution manual can be more simplified. Like this:
Can Julia do this with SymPy so I will get the end result of
c = \frac{A+B}{2}