Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: WSUPhys
  • Content: Threads
  • Order by date
  1. WSUPhys

    Velocity from a data set-Fortran

    I have cross posted this to a few other forums, in order to increase my chances of getting an answer. I have just about finished this program, I only need to calculate my velocity. I think that this velocity should be calculated by taking the value from the 4th column of my data set...
  2. WSUPhys

    Compiler Error help

    I have written my program, it compiles properly but then when I go to run the .exe file it does the following: ./finalprojectavg.exe Reading file... File cannot be opened ! Floating point exception Can somebody explain to me what this is? I have never had a program pop-up a floating point...
  3. WSUPhys

    Trapezoidal method

    Hello, I am working on a program to find the value of the current in a coil. This value satisfies the following equation: y'=sin(2t)-[(ey-1)/(ey+1)] which is of the form y'=f(t,y) I know that in order to solve this I need to use the trapezoidal method to solve a differential equation, the...
  4. WSUPhys

    finding the average of a column in an array

    I have a program which reads a .csv file into an array and stores the values of the different variables into columns. I am trying to find the average value of the 2nd, 3rd and 4th columns (ivar1,ivar2,ivar3). I have the following code {this is just the loop to calculate the sum of the values and...
  5. WSUPhys

    Help with .csv

    Hello, I am currently working on a project where I need to read the data from a .csv file into an array and extract the values for multiple operations. I am wondering how do I open this and format it in Fortran? I do not have any experience with .csv files and when I try to copy it into a text...
  6. WSUPhys

    fortran continuation

    I have attached my source code. I am currently working on a program that will take data from a text array file and calculate the total average mpg,the standard deviation, the yearly mpg and the average mpg by season(Summer and Winter). When I try to calculate the mpg per season, my code does not...
  7. WSUPhys

    Reading and working on data file

    Fortran I have a .dat file that I am trying to extract the information from in order to calculate the average miles per gallon and the sigma of the distribution. The file has lines with the structure 19990122 88888 30.5 The first word is a date in yyyymmdd format, second word is odometer...

Part and Inventory Search

Back
Top