Recent content by Aner
-
How do I solve this multiple integral in the given domain?
Thank you very much! I will try to use both the approaches. I didn't go further with the calculations of the second conditions using spherical coordinates because I didn't understand how to use that condition but now I understand that I needed your last passage, and I didn't really thought that...- Aner
- Post #5
- Forum: Calculus and Beyond Homework Help
-
How do I solve this multiple integral in the given domain?
Homework Statement Hi, I have a problem with the following exercise. Let C={(x,y,z)∈ℝ3 : x2+y2+z2≤1, z≥√(3x2+8y2)} be a subset of ℝ3. Calculate ∫∫∫C z dxdydz.Homework Equations Spherical coordinates, given by x=ρsinΦcosθ, y=ρsinΦsinθ, z=ρcosΦ, and cylindrical coordinates which are x=ρcosα...- Aner
- Thread
- Domain Integral Multiple
- Replies: 4
- Forum: Calculus and Beyond Homework Help
-
Fortran [Fortran90]Problem with Gaussian distribution
I am sorry for not being clear enough. In the program I posted, m(f) are random numbers with gaussian distribution. In reality I tried to obtain random numbers with a gaussian distribution centred at the origin in two ways, but I always run into the same problem. My first attempt was to compute...- Aner
- Post #3
- Forum: Programming and Computer Science
-
Fortran [Fortran90]Problem with Gaussian distribution
Hi, I have a problem in my program and I cannot figure it out. In the last post I had a problem about some arrays, I perfectly resolved it thanks to you, but now my problem is a little bit subtle. I have a subroutine(here I'll post it has a program )that generates random numbers in order to...- Aner
- Thread
- Distribution Gaussian Gaussian distribution
- Replies: 8
- Forum: Programming and Computer Science
-
Fortran Fortran90-How to allocate an array dimension
It's fantastic! Thank you so much! It made my program better and even the result are more precise!I ended up deleting something like 100 lines with your help! Now my program is working perfectly and without all the if cycles that were necessary before! A really big thanks to you!- Aner
- Post #9
- Forum: Programming and Computer Science
-
Fortran Fortran90-How to allocate an array dimension
Thank you so much, that's a really interesting thing to know, I forgot about the while loop, but surely it would have helped a lot (maybe my now 400 plus lines codes would be shorter). I'll surely try that!- Aner
- Post #7
- Forum: Programming and Computer Science
-
Fortran Fortran90-How to allocate an array dimension
Thank you so much, those were pretty dummy errors but you helped me find the way to make it works!I've even found out how to solve the initial problem of the array, I've left the dimension n and create an if cycle in order to avoid the 0 components. Thank you very much!- Aner
- Post #5
- Forum: Programming and Computer Science
-
Fortran Fortran90-How to allocate an array dimension
Thanks a lot, the end do is missing in the code I pasted because I deleted some comments that were written in Italian and were not useful for the problem. Anyway I modified the other things you said and it ends up calculating the array but the problem is that in order to have some interesting...- Aner
- Post #3
- Forum: Programming and Computer Science
-
Fortran Fortran90-How to allocate an array dimension
Hi, I have a problem with a code I'm working with. I'm a student in physics and I'm writing a code in Fortran 90 that should calculate the Polonium's half-life time. I have no data to work with so I generated them with the library random number and here is the problem, I have a 300 lines code...- Aner
- Thread
- Array Dimension
- Replies: 8
- Forum: Programming and Computer Science