If you want to access the 5th element of X (FORTRAN arrays start at 1, by the way, or at least they used to when I was programming), then it's simply X(5).
do 100 i = 1,5
print ( *,1000 ) X(i)
1000 format ( 1x, f6.2 )...
This doesn't look right to me...
You appear to be defining n as a real number (floating point), then using it to define an array.
Also, why are you defining X and as two dimensional arrays?
Surely X(n) and Y(n) would be...
Have you tried putting 7 or 8 leading spaces before your code lines yet?
Columns 1 to 6 are reserved for labels and the continuation character.
Obviously something like
Wouldn't need leading spaces in front of the 123, but does need the spaces between the 3 of 123...
Here I am, looking the TI ttl databook, what do you know?
The 7408 has a totem pole output.
In other words, it has an active pullup and an active pulldown.
For standard ttl, the pullup doesn't pullup very far, 2.4V at 400uA... not much compared with a CMOS 74hc08...
There is a way to transform DC up & down...
It's called a static inverter.
The power line under the English Channel that connects the UK power system to France uses DC to avoid having to synchronise the generators on either side of the link.
This possibility didn't exist before the...
Instead of using an alternator driven by a steam engine to give AC, he used a dynamo driven by a steam engine to give DC.
The problem with DC is that you can't use transformers to increase or decrease the voltage, which is what makes grid power transmission so much more efficient by reducing...
The other thing that springs to mind is that there's a load of template files in a subdirectory of MPLAB.
They're found in a directory something like "C:\MPLAB\template\code"
If you have a look around using windows explorer, you'll find them.
There's a template in there that is intended...