MATLAB: Integral of PDF function

integralMATLABpdf

Hi,
So as the title says I want to evaluate the integral of PDF function but also with other expressions in the integral, Also my input x for the PDF function is a division of two variables.
Need help!
using : MATLAB R2019a
Thank you.
int.jpeg
See picture.

Best Answer

syms R t w
PDF = @(x) exp(-x.^2/2) / sqrt(sym(2)*sym(pi));
result = int(PDF(t/R) / R * (1-t/w), t, 0, w)