[SciPy-User] Fwd: Help - scipy.integrate
Waléria Antunes David
Wed Nov 10 10:31:23 CST 2010
---------- Forwarded message ----------
From: Waléria Antunes David <firstname.lastname@example.org>
Date: Wed, Nov 10, 2010 at 2:30 PM
Subject: Re: [SciPy-User] Help - scipy.integrate
To: Warren Weckesser <email@example.com>
But i don't understand where i'm going to do this loop ...in def
On Wed, Nov 10, 2010 at 2:13 PM, Warren Weckesser <
> On Wed, Nov 10, 2010 at 9:24 AM, Waléria Antunes David <
> firstname.lastname@example.org> wrote:
>> I changed the line 45 but what i do with the line 47:
>> And i don't understand where i'm going to do this loop ...my last code was
>> this: http://pastebin.com/2DYMvkJe ..but doesn't used the function
>> Can you help with this loop?
> You still need to define the function 'func' to compute the integrand for a
> given value of z (like you had before, but with the change that I
> suggested). Then, in your loop, you still need to call romberg to compute
> the integral of that integrand to compute Dl for each value of z. Once you
> have Dl, you can compute mu.
> In October (
> David Warde-Farley suggested that you develop and test your code locally,
> before trying to embed it in a web application. You really should do this.
> Get your computation and plot working on your machine (with no web stuff
> involved), and only when it is working as expected should you embed the code
> in your web app. That will make it much easier for you (and for anyone who
> tries to help you) to debug the computation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User