(adsbygoogle = window.adsbygoogle || []).push({}); problem with integration for WKB approximation in MATLAB

hi all,

i have been having troubles with getting matlab to solve the following problem (the language is not the matlab one, the functions are not solvable by the symbolic integration and i was trying to get one of the quad functions to do it)(r1,r2 are numbers):

int(function*cos(int(function2,rprime,r,r2)),r,r1,r2)

As you can see the problem is that inside the cosinues there is an integral that goes from r ( variable of the first integral) to r2, so i can t solve it numerically, because i need it in function of r in order to perform the big integral.

I thought a couple integral function would exist but i am not able to find any ( the doublequad only works if its only one function integreded twice).

I hope what i wrote cna be understood, and appreciate your help and time!

JN

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Problem with integration for WKB approximation

**Physics Forums | Science Articles, Homework Help, Discussion**