Numerical Solution for an integral with variable maximum limit

1 view (last 30 days)
Hi every one, I need to find the integral of function fun= 2*pi*r0*sigma in which sigma= sigma0*exp(q*(r-r0)) the minimum limit is 0 and the maximum limit is sd= sqrt(2/(w*u*sigma)) r0=0.008 sigma0=5.813* 10^-7 w=2*pi*8*10^9 u= 8.85* 10^-12
I tried to solve it normally :D but it gives me error. does any one know how should I handle this problem? Thanks in advance
  2 Comments
Roger Stafford
Roger Stafford on 22 Sep 2014
Edited: Roger Stafford on 22 Sep 2014
What variable are you integrating with respect to? Is it r?
Alberto
Alberto on 22 Sep 2014
What do you mean with normally? There are thousands of methods for integrating functions. Also you should put the error message (and maybe some parts of the code) if you expect some help.

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!