Let's say you have an array A and a variable B (both reals). Apparently
parameter (A = (/1.2, 3.4, .../) )
is illegal, so you have to do
data A /1.2, 3.4, .../
instead. However, what if you have a statement afterwards like this?
1 parameter (A = (/1.2, 3.4, .../) )
...
2...
not sure where this goes, but I am trying to look for a fortran compiler for my windows XP OS that is free so i can get into doing some programming. My school may be getting into a engineering competition and i would be a frontrunner on the team and want to get a headstart. if anyone can help i...
Since the graphing idea is not available. Does the fortran write/print command let me choose where a number or * is printed at. Like a row column thing if I want to print say a * on the page.
* * *
* *...
Hi I need a fortran compiler and mostly, I need help installing those binaries or folders and files. I am a newbie and do not know how to install one of those compilers. If anyone has a better suggestion for a compiler that is free please help
hello everyone!
I was do programming in fortran and i wanted to print my answer in the format below. I was not able to do it. I have written a part of my program also.
i.e,
#####
greeting = 'Good Morning!'
do 110 I = 1, 12
write (*,115) (greeting)
115 format (A<I>)
110 continue
end
#####
here i...
Hi , I need help to write a code for this function(fortran 77):
integer function delete(id, list, n) where
• delete returns 0 if the deletion was successful, -1 if the list is empty, and -2 if the user is not currently in the list.
•id is the integer identification number of the user...
Im trying to write a program in fortran 90 to process some output files that i have. Here is the problem I am having. All of the output files are named file.datA, file.datB,...ect. I set the variable "file" to equal file.dat. I want the program to run through a loop and each time change the...
I need to write a program that will print the prime factorization of a number.
Here's what I have so far:
integer:: n,i
print *, "enter integer"
read *, n
do while (n>1)
i=2
if (mod(n,i)==0) then
print *, i
n = n/i
else
i = i+1
end if
end do
end program
I'm just...
help with fortran please
i'm new with programming and i have a problem with a homework I've been assigned from university. it's quite a simple programm but I'm stuck and going crazy . can anyone please help. there seems to be a problem with the random function. but i couldn't fix it. I'm using...
It appears that the newer versions of Fortran might be the best environment for technical computing. Aside from Matlab at least. It also appears that very few entities use Fortran. Is Fortran 90/95/2003 worth learning if all I really want to do is put it on my resume?
Im writing a program in fortran 90. what I am trying to get it to do is to open an input file for another program, change a few variables. then run that program. Then when the program is done running it will change the variables in the input file again and run the program. This will be a Do...
Hi all,
I am trying to run some fortran code on Linux that was originally written (and worked) on Windows.
I am getting the following error:
invalid number: incomprehensible list input
apparent state: unit 63 named NUCLEAR.DAT
last format: list io
lately reading sequential formatted...
Hello everybody,
I need a FORTRAN code (the source code) with the capability to calculate the generalized aerodynamic matrices given the modes of the structure. In particular, I need a code that is able to handle 3D structures made by assembling trapezoidal plate elements.
Does anyone...
As a chemical engineer how useful would FORTRAN be to me. It is listed on the University of Florida's ChemE homepage as a good language, but I have heard it is on its way out.
All Comments Welcome
I've written a program in Fortran which has a do loop of the form
do i=0,20000
(operations)
end do
I want the program to print the values of the do loop, but only want it to print every 100th value of i (i.e. 100,200,300,400...20000), can anyone suggest a way to do this?
Mathmatica + Fortran HELP!
Please help me, there are several questions I'd like to ask the professor but he is not responding to me. I have an online class that I have to finish by tomorrow and I don't know how to solve most of these problems. If there is anyone out there that can help me with...
I'm in the first year of mechanical engineering and can't afford a Fortran textbook.
Does anyone have a beginners guide that would be suitable for the level I need to learn? I need to know that basics.
Thanks in advance my friends.
hello all
Im new here but is anyone familiar with the fortran language? I need to make a program to do the following:
a) read a 3x3 array of REAL NUMBERS
b) calculate the inverse of the 3x3 matrix
c) write out the answer and the original Matrix
d) multiply two 3x3 matrices.
this...
Hello,
I have a program in Fortran language, and i need to translate it to Mapel program,
can somebody help me?
thank you.
This is the program:
Program SMOL1A3M
c
c23456789 123456789 123456789 123456789 123456789 123456789 123456789 12
c
c Resolution de l equation de...
I know this isn't really physics related, but I was wondering if anyone here knows Fortran.
I'm trying to read a list of integers from a file and sort them. Well, I'm reading them and sorting them, but my problem is the list looks something like:
23
253
23
45
75
4
856
45
234
54...
Hello, I have to write a fortran program to computer the flight traj of a projectile. I am given dt, initial velocity, angle of departure, initial height, and gravity. I am also given the aerodynamic drag factor (A) values. I have been given the equations, but I am confused as to what the...