- #1
diegojolin
- 5
- 0
Hi all
I am trying to solve for an integral whose integrand is a derivative that has a change of variable inside of it.
∫ (dz/dx) * cos(θ) dθ between 0 and pi.
I have a function for z(x), and also know the relation between of x and θ, but what I don't know is how to evaluate such differential-integral operation numerically with the required change of variable.
x = c/2*(1-cos(θ) )
dz/dx = dz/dθ * dθ/dx... how can I evaluate that derivative NUMERICALLY in terms of θ ??
thanks in advance
I am trying to solve for an integral whose integrand is a derivative that has a change of variable inside of it.
∫ (dz/dx) * cos(θ) dθ between 0 and pi.
I have a function for z(x), and also know the relation between of x and θ, but what I don't know is how to evaluate such differential-integral operation numerically with the required change of variable.
x = c/2*(1-cos(θ) )
dz/dx = dz/dθ * dθ/dx... how can I evaluate that derivative NUMERICALLY in terms of θ ??
thanks in advance