Recent content by Aner

  1. 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...
  2. Aner

    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α...
  3. Aner

    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...
  4. Aner

    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...
  5. Aner

    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!
  6. Aner

    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!
  7. Aner

    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!
  8. Aner

    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...
  9. Aner

    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...
Back
Top