Reševanje maturitetnih nalog

 \int_{0 }^{ \frac{ π }{2 }  } p(x) dx =  \int_{0 }^{ \frac{ π }{2 }  } sin(x) dx  

p(x)

 \int_{0 }^{  \frac{ π }{2 } } q(x) dx =  \int_{0 }^{  \frac{ π }{2 } } 3 cos(x) dx  

q(x)

 \int_{0 }^{ \frac{ π }{ 2}  } r(x) dx =  \int_{0 }^{ \frac{ π }{2 }  } -x dx 

r(x)

 \int_{0 }^{ \frac{ π }{ 2}  } (p(x) + q(x) + r(x))dx  

f(x)

p(x) = sin(x)
a = 0
b = 1.5707963267948966
I_p = Integral(p, a, b)
tekst2: " = " + I_p
c = true
q(x) = 3.0 * cos(x)
I_q = Integral(q, a, b)
tekst4: " = " + I_q
d = true
r(x) = -(x)
I_r = Integral(r, a, b)
tekst6: " = " + I_r
e = true
f(x) = p(x) + q(x) + r(x)
I_f = Integral(f, a, b)
I_{f-izračun}: I_p + I_q + I_r
tekst8: " = " + I_f
g = true