I want to become this code a little bit fast. Actually, in the final code, each loop will be 10000 times larger than this one.
now I have : "1000*(10 + 200)*20/2" and I want: "1000*20*10" which looks lik possible.
I can't transforma the information in the following link you sugested me --> Link in a fortran code. The second link is in java and I don't know nothing about it.
My code calculate just the slope and not a set of points as I was waiting, by Monte Carlos Method.
IN the program that I wrote before...
What is wrong and what is missing in this code?
PROGRAM area_sin_monte_carlo
USE nrtype
USE nrutil
USE ran_state, ONLY: ran_seed
USE nr, ONLY: ran1
IMPLICIT none
INTEGER, PARAMETER :: u_file = 1, angle_i = 0.0, angle_f=pi, p= 5000
REAL, PARAMETER :: v_angle = (angle_f - angle_i)/REAL(p)...
I am trying to calculate the integral of sin(x) from 0 to pi, using Monte Carlo. I want to call ran() or some rotine of the Numerical Recipes such as ran0.f90, ran1.f90 and so on.
Hi guys! I am a super beginner at flash and actionscritp.
I am trying to create a program that
read 2 numbers from the user and print the sum of them.
Thank you in advance!
I think you using MODULE can save your life or better, something like this:
!*****************************************
! Multiplier Function Definition
!*****************************************
MODULE matrix_module
contains
function matrix_multiple(x,y,n)
implicit none
real,intent(in) ...
I was trying to do something like this:
z_real = part_real_c
z_imag = part_imag_c
DO iteracoes = 1, iterations_max
z_sqrt = z_real*z_real + z_imag*z_imag
IF (z_sqrt .lt. value_max) exit...
I am trying to find out what is the problem and I can't. I am going create the graph using Grace but when I look what I've printed I see just parallel lines. Please, tell me what is happen!! Thank you in advance guys
PROGRAM mandelbrot_set
IMPLICIT none
INTEGER :: iterations_max...
Thank you gullipe!Congratulations for your code!
I'd like to create a postscript file instead ppm picture. How to do this?
Xwb thank for your tip, I'll try.
Hi guys! I am trying to make a mandelbrot code in fortran and I am having some problems
I have just started and I'd like to know what is wrong until now.
Thank you in advance
links that can help us
http://en.wikipedia.org/wiki/Mandelbrot_set...
I am sorry guys for this poorly made question. I wanted to know if is possible create a program like the windows programs from fortran, click-open-programs or something like this...
Is possible create a way of using a program without to use the terminal?
Is possible create a graphic interface to...
Great FJacq!
How to do this without using character?
I mean without using the folliwng:
CHARACTER(8) :: dat
read(dat,'(i4,i2,i2)') current_year,current_month,current_day
FJacq your idea to this was very good! Thank you!!
mikrom I going to try from today use subroutines. It become the program pretty organized. Thank you again for your tips!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.