I tried that too but with no success. Thank you for the suggestion.
I have it working sensibly now, but I turned my function into a subroutine. I gather from what I've read that subroutines are somehow more adept at dealing with arrays.
I have a function that seems to be ignoring the first of 3 dummy variables. These variables are arrays with integer elements, should that be important.
For example, the call in the program is something like:
A = F(b,c,d)
and this transfers control to a function F, that is similar to...
Ah ok, I see that the last part of my post wasn't concise.
I was trying to push you towards a way in which you may wish to draw your graph of E so that it would be more acceptable.
But yes you are correct, both the figure P25.36 and the one you have been asked to draw are piecewise functions.
Almost certainly. A graph like this should be continuous throughout (as long as you have all the data necessary to supply the points).
You may also want to consider how other people draw "square waves". Here is an example:
http://www.fourieroptics.org.uk/orgsq.png
Is this still a problem?
If so, which of the above compilers did you use? If it was gfortran that would be extremely odd, but if you were using gcc I could see why a C/C++ error would occur.
I use gfortran to compile my f90 programs on UBUNTU. The most used compile line for me is
gfortran...
It strikes me that this may well be fairly easy, but i can't quite get my head round the correct way to lay this problem out (at least in a mathematical sense).
If you are considering a neutron flux onto a fully understood material, and you also know the neutron interaction cross section of...
first off i apologise if it is frowned upon to drag old threads up from out of the blue but this is the most relevant information i can find for what I am doing.
Im trying to find the determinant of an NxN matrix using the triangle matrix method, but i have never been taught this method and...