Recent content by panzerlol

  1. P

    Interesting question regarding simple decomposing of vectors

    Homework Statement Find the x-component of the ##F_b## (parallell with ##\vec{s}## and the ground) and find the resultant total Force. Then calculate the total work done by both over a distance of 15 m. Homework Equations F_{x} = |F| \cdot \cos v F_{y} = |F| \cdot \sin v W = \vec{F}...
  2. P

    Fortran [Fortran] String variable for output filenames

    Thank you all so much. Critique to fortran aside (and how I think any good programming language should "understand" what i wanted it to do, it worked great. In short, all I did was run trim(..) on the filename suffix. While generating the suffix string, i had used WRITE( tempstring...
  3. P

    Fortran [Fortran] String variable for output filenames

    This is the troublesome part eLeftOutFile = 'data/ElonL'//fileNameSuffix(0:25)//'.dat' OPEN(754,FILE=eLeftOutFile,STATUS='REPLACE',ACCESS='SEQUENTIAL') First off, fileNameSuffix is a CHARACTER(len=40) just to be safe, I am just cutting it off, since those are the relevant parameters...
Back
Top