]> permondes.de Git - Analog_Engine.git/commitdiff
Mass with charge in em-field
authorPermondes <machen@permondes.de>
Tue, 16 Jan 2024 17:20:13 +0000 (18:20 +0100)
committerPermondes <machen@permondes.de>
Tue, 16 Jan 2024 17:20:13 +0000 (18:20 +0100)
Example: added "Mass with charge in em-field"
Language: changed OUT to OUTPUT

Analog Engine Example Applications.odt
Analog Engine Scripting Language.odt
Charge in em field.AESL [new file with mode: 0644]

index fe40752e7f0e96ff65f7ea26be40d871e42674b2..226f3e4a8f9c10d169668425b84d643a4407a9a5 100644 (file)
Binary files a/Analog Engine Example Applications.odt and b/Analog Engine Example Applications.odt differ
index 0abadbdf81bf3b82ae477646814335c2ff1cdaa4..e2d9a609c1c5f75201db0cc50bc445030696ae06 100644 (file)
Binary files a/Analog Engine Scripting Language.odt and b/Analog Engine Scripting Language.odt differ
diff --git a/Charge in em field.AESL b/Charge in em field.AESL
new file mode 100644 (file)
index 0000000..47d2847
--- /dev/null
@@ -0,0 +1,32 @@
+IDENTIFICATION DIVISION
+PROGRAM-ID ChargeInEMfield
+VERSION 20240116
+COMMENT A mass m with charge q>0 is located in a static electro-magnetic field [0,0,E], [0,-B,0].
+COMMENT Find the trajetory
+COMMENT Differential equation (Lorentz force): x'' = omega*z', z'' = a*omega^2 - omega*x'
+COMMENT good start settings are omega=0,92, a*omega^2=0,05
+
+ENVIRONMENT DIVISION
+ENGINE Anabrid-THAT
+TIMEBASE 1ms
+REQUIRES INTEGRATOR 4
+REQUIRES INVERTER 1
+REQUIRES COEFFICIENT 3
+
+DATA DIVISION
+OUTPUT OUTPUT.X x
+OUTPUT OUTPUT.Z z
+
+PROGRAM DIVISION
+x'' -> INTEGRATOR.1 -> -x'
+-x' -> INTEGRATOR.2 -> x
+-x' -> COEFFICIENT.6 -> -omega*x'
++1  -> COEFFICIENT.7 -> a*omega^2
+a*omega^2, -omega*x' -> INTEGRATOR.4 -> -z' # input is z''
+-z' -> INTEGRATOR.5 -> z
+-z' -> INVERTER.1 -> z'
+z'  -> COEFFICIENT.5 -> omega*z' = x''
+
+OPERATION DIVISION
+MODE REPEAT
+OP-TIME 0,21ms