$a$

$b$

$a$

$b$

μ = 1 (slider from -5 to 5, step 0.1)
σ = 2 (slider from 0.05 to 4, step 0.05)
f_1(x) = (1 / ((sqrt((2 * π)) * σ)) * ℯ^(((-(x - μ)^(2))) / ((2 * σ^(2)))))
A_1 = Point(xAxis)
B_1 = Point(xAxis)
p_1 = Integral(f_1, x(A_1), x(B_1))
f_2(x) = (1 / sqrt((2 * π)) * ℯ^(((-x^(2))) / 2))
A_2: ((x(A_1) - μ) / σ, 0)
B_2: ((x(B_1) - μ) / σ, 0)
p_2 = Integral(f_2, x(A_2), x(B_2))