Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 Re: Help Me ! » Help with Python!!! » 2011-07-22 12:47:18

Hey bobbym,
the code is scipy.integrate.quad

#2 Re: Help Me ! » Help with Python!!! » 2011-07-22 06:53:33

Hey bobbym!
I think I really do have problems with Python. I found that Scipy command but something is not right. I think I don´t no how to use the command. Can you please help me???

#3 Re: Help Me ! » Help with Python!!! » 2011-07-21 10:32:51

It is related to the standard normal curve..I think I found something while searching..it's called scipy...I'm gonna try it here..if I get nothing, I will return again...But thanks a lot for your help!

#4 Re: Help Me ! » Help with Python!!! » 2011-07-21 10:17:11

I do need to plot, but the problem is that I need also the program to get there, so I can do other similar plots.

#5 Re: Help Me ! » Help with Python!!! » 2011-07-21 10:09:18

And those can not be done by this method??

#7 Re: Help Me ! » Help with Python!!! » 2011-07-21 09:44:01

Not that I'm aware of.
I'm a begginer at Python.

#8 Re: Help Me ! » Help with Python!!! » 2011-07-21 09:41:01

The first one:
3
x
──
3
The second one:
     3       3
    a      b
- ── + ──
    3       3

#9 Re: Help Me ! » Help with Python!!! » 2011-07-21 09:37:04

That's exactly what happens with mine.
The first you asked, I got the right answer.
The second as well.
No problem at all.

#10 Re: Help Me ! » Help with Python!!! » 2011-07-21 09:17:07

The only thing I got is this:
2               
⌠               
⎮      1       
⎮ ─────────── dx
⎮                  2
⎮ cos(x) + x   
⌡               
1               

It does not solve for me.

#11 Re: Help Me ! » Help with Python!!! » 2011-07-21 08:47:05

And how do I solve that in Python? I can not use integrate, right? I have to use another code, is that right?

#12 Re: Help Me ! » Help with Python!!! » 2011-07-21 03:29:34

Yes. That's exactly the integral I'm having problems with!!
I will appreciate any help you can give me!

#13 Help Me ! » Help with Python!!! » 2011-07-20 09:16:35

Paolamazzu
Replies: 25

I need help to Plot this function:

W = 4/3*(N*E*math.sqrt(R)*integrate(math.pow(z-d,3/2)*phi,(z,d,oo)))
with
phi=(1/(Sq*math.sqrt(2*math.pi))*exp(-((z-Sa)**2)/(2*(Sq**2))))
Sa=0.34
Sq=0.45
N = 11746.875
E = 0.04945
R = 4.4194

I need 'd' between [0 , 0.1 , 0.2 , ...... , 3.0]

I believe my problem is with the integration. I don't know how to integrate that part of W.

Thanks.

Board footer

Powered by FluxBB