how to plot a function with integrand that has unknown variable (that unknown variable is like interval of x-axis in my plot)

 how to plot a function with integrand that has unknown variable (that unknown variable is like interval of x axis in my plot)

for example, i want to plot a f(y,c)=f(2,c) vs c when the function is integrate ycos cx dx from 0 to pi, but somehow it can’t and it say:
NIntegrate::inumr: The integrand Cos[c x] has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,6}}. >>

how to plot that? i’m so lost…

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange