Re: Das neue Auswendig lernen und die neuen Übungen -

Image Screenshot_20240422_095152

<?php
session_start ();
?>

<form method="POST" action="./form20240422.php">
<input type="text" name="form20240422a"></input>
<input type="submit">
</form>

<?php
echo session_id () . "<br>n";

setcookie ("form20240422b", "Ich bin das zweite Cookie", time () + 3600);

echo htmlentities (\$_POST ["form20240422a"]) . "<br>n";
echo htmlentities (\$_COOKIE ["form20240422b"]) . "<br>n";
echo htmlentities (\$_COOKIE ["form20240422c"]) . "<br>n";

session_destroy ();
?>

Trying ::1...
Connected to localhost.
Escape character is '\^]'.
HTTP/1.1 200 OK
Date: Mon, 22 Apr 2024 07:54:29 GMT
Server: Apache/2.4.57 (Debian)
Set-Cookie: PHPSESSID=38a8eko1rq2nqna835v35hq00r; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: form20240422b=Ich%20bin%20das%20zweite%20Cookie; expires=Mon, 22 Apr 2024 08:54:29 GMT; Max-Age=3600
Vary: Accept-Encoding
Content-Length: 231
Content-Type: text/html; charset=UTF-8


<form method="POST" action="./form20240422.php">
<input type="text" name="form20240422a"></input>
<input type="submit">
</form>

38a8eko1rq2nqna835v35hq00r<br>
Hallo, ich bin das Datum<br>
<br>
Hallo, ich bin das erste Cookie<br>

POST http://localhost/mysql20240217/20240422/form20240422.php HTTP/1.1
host: localhost
Cookie: form20240422c=Hallo, ich bin das erste Cookie
Content-Length: 38
Content-Type: application/x-www-form-urlencoded

form20240422a=Hallo, ich bin das Datum

<?php
session_start ();

include ("/home/david/mysqldata.php");

\$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD);

\$sql = "CREATE DATABASE mysql20240422" . session_id () . "; ";
\$db->query (\$sql);

\$sql = "USE mysql20240422" . session_id () . "; ";
\$db->query (\$sql);

\$sql = "CREATE TABLE a (x1 INTEGER, x2 INTEGER); CREATE TABLE b (y1 INTEGER, y2 INTEGER); ";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (0, 0); ";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (0, 1); ";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (1, 0); ";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (1, 1); ";
\$db->query (\$sql);

\$sql =  "INSERT INTO a (x1, x2) VALUES (2, 7); ";
\$db->query (\$sql);

\$sql = "INSERT INTO b (y1, y2) VALUES (0, 1); ";
\$db->query (\$sql);

\$sql = "INSERT INTO b (y1, y2) VALUES (1, 0); ";
\$db->query (\$sql);

\$sql = "INSERT INTO b (y1, y2) VALUES (2, 7); ";
\$db->query (\$sql);

\$sql = "SELECT x1, x2 FROM a; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", " . \$row [1] . "; ";
echo "<br>n";

\$sql = "SELECT y1, y2 FROM b; ";
\$stmt  = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", " . \$row [1] . "; ";
echo "<br>n";

\$sql = "SELECT x1, x2, y1, y2 FROM a INNER JOIN b ON a.x1 = b.y1; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", " . \$row [1] . ", " . \$row [2] . ", " . \$row [3] . "; ";
echo "<br>n";



\$sql = "DROP DATABASE mysql20240422" . session_id () . "; ";
\$db->query (\$sql);

session_destroy ();
?>

<?php
session_start ();

include ("/home/david/mysqldata.php");

\$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD);

\$sql = "CREATE DATABASE q20240422" . session_id () . "; ";
\$db->query (\$sql);

\$sql = "USE q20240422" . session_id () . "; ";
\$db->query (\$sql);

\$sql = "CREATE TABLE a (x INTEGER); CREATE TABLE b (x INTEGER); CREATE TABLE c (x INTEGER); ";
\$db->query (\$sql);

for (\$i = 0;  \$i < 24;  \$i++) {
    \$sql  = "INSERT INTO a (x) VALUES (" . rand () % 32 . "); ";
    \$sql .= "INSERT INTO b (x) VALUES (" . rand () % 64 . "); ";
    \$sql .= "INSERT INTO c (x) VALUES (" . rand () % 128 . "); ";
    \$db->query (\$sql);
}

\$sql = "SELECT x FROM (SELECT x FROM a UNION SELECT x FROM b) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM a UNION SELECT x FROM c) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM b UNION SELECT x FROM c) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM b) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM c) x ORDER BY x; ";

\$sql = "SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM c) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a UNION SELECT x FROM b) x
                INTERSECT
            SELECT x FROM c
    ) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM c) x
                UNION
            SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM c) x
    ) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a UNION SELECT x FROM c) x
                INTERSECT
            SELECT x FROM b
    ) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM b) x
                UNION
            SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM c) x
    ) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM b UNION SELECT x FROM c) x
                INTERSECT
            SELECT x FROM a
    ) x ORDER BY x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM a) x
                UNION
            SELECT x FROM (SELECT x FROM c INTERSECT SELECT x FROM x) x
    ) x ORDER BY x; ";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt -> fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "DROP DATABASE q20240422" . session_id () . "; ";
\$db->query (\$sql);

session_destroy ();
?>

#!/bin/bash

if [[ "\$1" == "David" \&amp;\&amp; "\$2" == "Vajda" ]]
then
    echo "Das bin ich"
elif [[ "\$1" == "David Vajda" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das bin ich"
elif [[ "\$1" == "David" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das koennte ich sein"
elif [[ "\$1" == "Vajda" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das koennte ich sein"
elif [[ -n "\$1" ]]
then
    echo "das koennte ich sein"
else
    i=0
    while [ \$i -lt 10 ]
    do
        echo "Hallo zum \$((\$i+1))."
        i=\$((\$i+1))
    done

    a=(Hallo, ich bin ein Array)
    a+=(Und ich bin die Fortsetzung)

    i=0
    while [ \$i -lt 10 ]
    do
        echo "\${a[\$i]}"
        i=\$((\$i+1))
    done

    for s in "\${a[@]}"
    do
        echo "\$s"
    done

    l=\$(ls)
    for s in \$l
    do
        echo "\$s"
    done

fi

#!/bin/bash

/bin/bash bash20240422.sh "David" "Vajda"
/bin/bash bash20240422.sh "David Vajda"
/bin/bash bash20240422.sh "David" "Vajda" "Mustermann"
/bin/bash bash20240422.sh "David"
/bin/bash bash20240422.sh "Vajda"
/bin/bash bash20240422.sh "David" "Mustermann"
/bin/bash bash20240422.sh "Max" "Mustermann"
/bin/bash bash20240422.sh

Das bin ich
Das bin ich
Das bin ich
Das koennte ich sein
Das koennte ich sein
das koennte ich sein
das koennte ich sein
Hallo zum 1.
Hallo zum 2.
Hallo zum 3.
Hallo zum 4.
Hallo zum 5.
Hallo zum 6.
Hallo zum 7.
Hallo zum 8.
Hallo zum 9.
Hallo zum 10.
Hallo,
ich
bin
ein
Array
Und
ich
bin
die
Fortsetzung
Hallo,
ich
bin
ein
Array
Und
ich
bin
die
Fortsetzung
1024px-Pentagram.svg.png
435899368_1909247672858224_3350755409360955247_n.jpg
436382100_25155971550684924_1096422984899398839_n.jpg
436411508_25117903904491689_7903038619813751120_n.jpg
436440417_25125336627081750_5701952718187325856_n.jpg
437152281_1909244259525232_335543314414381643_n.jpg
437360993_1909087499540908_7005213253562161532_n.jpg
438733625_25163161313299281_6177185615677845513_n.jpg
438885838_1909247576191567_4866744226356302471_n.jpg
61411-02-S#1-2000042.pdf
addressdecodertestbench.c
alllinks.sh
a.out
asm15
asm16
asm20240415
asm20240415.asm
asm20240415.o
asm20240419-1.jpg
asm20240419.aux
asm20240419_b.jpg
asm20240419_b.odg
asm20240419.jpg
asm20240419.log
asm20240419.odg
asm20240419.pdf
asm20240419.tex
asm20240420-1.jpg
asm20240420.aux
asm20240420.jpg
asm20240420.log
asm20240420.odg
asm20240420.pdf
asm20240420.tex
asm202404all.odg
aufgabe2.1.pdf
ausgaben.ods
auswendig20240418a.txt
auswendig20240420b.txt
auswendig20240420c.txt
automat15
automat15.c
automat20240418-1.jpg
automat20240418.aux
automat20240418.csv
automat20240418.log
automat20240418.pdf
automat20240418.tex
automat20240418.txt
bash20240418all.sh
bash20240418.out
bash20240418.sh
bash20240419all.out
bash20240419all.sh
bash20240419al"o.out
bash20240419.out
bash20240419.sh
bash20240420all.sh
bash20240420.out
bash20240420.sh
bash20240422all.sh
bash20240422.out
bash20240422.sh
Bilder
bin20240415.txt
bin20240417.txt
bin20240418.txt
bin20240419.txt
binary2
binary2.c
binomial20240414a.c
complex20240415-1.jpg
complex20240415.aux
complex20240415.log
complex20240415.pdf
complex20240415.tex
complex20240418-1.jpg
complex20240418.aux
complex20240418.log
complex20240418.pdf
complex20240418.tex
complexoperationswerk20240418.jpg
complexoperationswerk20240418.odg
complexsteuerwerk20240418.jpg
complexsteuerwerk20240418.odg
David
Pru_fung2024-1.jpg
David
Pru_fung2024.pdf
DE83641400360891263600_EUR_20-04-2024_0641b.csv
DE83641400360891263600_EUR_20-04-2024_0641.csv
deepsearch1.c
deepsearch2
deepsearch2.c
doc
Dokumente
dos-inst
Downloads
float.c
fsmprogs
generatetestbench2
generatetestbench3
generatetestbench4
generatetestbench5
gnu-hello
Greek_letter_omega_serif+sans.svg.png
ieee754aufgabe
ieee754aufgabe2.c
ieee754aufgabe.c
ieee754aufgabe.o
inst
mail
Makefile
Makefile20240417
Mars
matlab
mips32singlecycle2.vhdl
mips32singlecycle.vhdl
Musik
mydaemontestd
mysqldata.php
nasm20240418
nasm20240418.asm
nasm20240418.o
node_modules
NVIDIA_CUDA_Programming_Guide_1.0.pdf
"Offentlich
out.txt
password
quine
quine20240415.txt
quine20240415.vhdl
quine20240417.txt
quine20240417.vhdl
quine20240418.txt
quine20240418.vhdl
quine20240419.txt
quine20240419.vhdl
quine20240420.txt
quine20240420.vhdl
replace.sh
Schreibtisch
Screenshot_20240415_073630.png
Screenshot_20240415_214118.png
Screenshot_20240416_153528.png
Screenshot_20240416_212917.png
Screenshot_20240417_192957.png
Screenshot_20240418_080211.png
Screenshot_20240418_084837.png
Screenshot_20240418_192433.png
Screenshot_20240418_193109.png
Screenshot_20240419_120042.png
Screenshot_20240419_125136.png
Screenshot_20240420_084918.png
Screenshot_20240420_094735.png
Screenshot_20240422_095152.png
state20240415.jpg
state20240415.odg
state20240415.txt
state3
svg
tagebuch.txt
test.png.vcd
Using_Inline_PTX_Assembly_In_CUDA.pdf
Videos
VirtualBox
VMs
Vorlagen
wave.ghw
work-obj93.cf

Image Screenshot_20240422_115055

 0 0 0 0 0    0
 1 0 0 0 1    1
 2 0 0 1 0    0
 3 0 0 1 1    0
 4 0 1 0 0    0
 5 0 1 0 1    0
 6 0 1 1 0    1
 7 0 1 1 1    0
 8 1 0 0 0    0
 9 1 0 0 1    0
10 1 0 1 0    1
11 1 0 1 1    0
12 1 1 0 0    0
13 1 1 0 1    1
14 1 1 1 0    0
15 1 1 1 1    0


 1 0 0 0 1    1
 6 0 1 1 0    1
10 1 0 1 0    1
13 1 1 0 1    1


Gruppe 1:
 1 0 0 0 1    1
Gruppe 2:
 6 0 1 1 0    1
10 1 0 1 0    1
Gruppe 3
13 1 1 0 1    1


 1 0 0 0 1    1
 6 0 1 1 0    1
10 1 0 1 0    1
13 1 1 0 1    1


    y <=    (not x3 and not x2 and not x1 and x0) or
            (not x3 and x2 and x1 and and not x0) or
            (x3 and not x2 and not x1 and not x0) or
            (x3 and x2 and not x1 and x0);

library ieee;
use ieee.std_logic_1164.all;

entity quine20240422 is
port (
    x3, x2, x1, x0: in std_logic;
    y: out std_logic
);
end;

architecture behaviour of quine20240422 is
begin
    y <=    (not x3 and not x2 and not x1 and x0) or
            (not x3 and x2 and x1 and and not x0) or
            (x3 and not x2 and not x1 and not x0) or
            (x3 and x2 and not x1 and x0);
end;

library ieee;
use ieee.std_logic_1164.all;

entity quine20240422testbench is
port (
    y: out std_logic
);
end;

architecture behaviour os quine20240422testbench is
    component quine20240422
    port (
        x3, x2, x1, x0: in std_logic;
        y: out std_logic
    );
    end compontent;
    signal x3, x2, x1, x0: std_logic;
begin
    q: quine20240422 PORT MAP (x3=>x3, x2=>x2, x1=>x1, x0=>x0, y=>y);

library ieee;
use ieee.std_logic_1164.all;

entity quine20240422 is
port (
    x3, x2, x1, x0: in std_logic;
    y: out std_logic
);
end;

architecture behaviour of quine20240422 is
begin
    y <=    (not x3 and not x2 and not x1 and x0) or
            (not x3 and x2 and x1 and not x0) or
            (x3 and not x2 and not x1 and not x0) or
            (x3 and x2 and not x1 and x0);
end;

library ieee;
use ieee.std_logic_1164.all;

entity quine20240422testbench is
port (
    y: out std_logic
);
end;

architecture behaviour of quine20240422testbench is
    component quine20240422
    port (
        x3, x2, x1, x0: in std_logic;
        y: out std_logic
    );
    end component;
    signal x3, x2, x1, x0: std_logic;
begin
    q: quine20240422 PORT MAP (x3=>x3, x2=>x2, x1=>x1, x0=>x0, y=>y);



    x0 <= '0' after 0 ns, '1' after 10 ns, '0' after 20 ns, '1' after 30 ns, '0' after 40 ns, '1' after 50 ns, '0' after 60 ns, '1' after 70 ns, '0' after 80 ns, '1' after 90 ns, '0' after 100 ns, '1' after 110 ns, '0' after 120 ns, '1' after 130 ns, '0' after 140 ns, '1' after 150 ns;

    x1 <= '0' after 0 ns, '0' after 10 ns, '1' after 20 ns, '1' after 30 ns, '0' after 40 ns, '0' after 50 ns, '1' after 60 ns, '1' after 70 ns, '0' after 80 ns, '0' after 90 ns, '1' after 100 ns, '1' after 110 ns, '0' after 120 ns, '0' after 130 ns, '1' after 140 ns, '1' after 150 ns;

    x2 <= '0' after 0 ns, '0' after 10 ns, '0' after 20 ns, '0' after 30 ns, '1' after 40 ns, '1' after 50 ns, '1' after 60 ns, '1' after 70 ns, '0' after 80 ns, '0' after 90 ns, '0' after 100 ns, '0' after 110 ns, '1' after 120 ns, '1' after 130 ns, '1' after 140 ns, '1' after 150 ns;

    x3 <= '0' after 0 ns, '0' after 10 ns, '0' after 20 ns, '0' after 30 ns, '0' after 40 ns, '0' after 50 ns, '0' after 60 ns, '0' after 70 ns, '1' after 80 ns, '1' after 90 ns, '1' after 100 ns, '1' after 110 ns, '1' after 120 ns, '1' after 130 ns, '1' after 140 ns, '1' after 150 ns;
end;

;; Ich habe da einen Fehler drin, ich finde - ihn gerade nicht

global          _start
section         .data
                toSortArray:    db      "hasjdahsdjahdj", 0x00
                toSortArrayLen: equ     \$-toSortArray
section         .code
                _start:

                mov esi, toSortArray
                loop1:
                    mov ah, [esi]
                    cmp ah, 0x00
                    je loop1end
                    mov edi, esi
                    loop2:
                        inc edi
                        mov al, [edi]
                        cmp al, 0x00
                        je loop2end
                        mov al, [edi]
                        mov ah, [esi]
                        cmp al, ah
                        jle goon
                            mov al, [edi]
                            mov ah, [esi]
                            mov [edi], ah
                            mov [esi], al
                        goon:
                        jmp loop2
                    loop2end:
                    inc esi
                    jmp loop1
                loop1end:

    mov edx, toSortArrayLen
    mov ecx, toSortArray
    mov ebx, 1
    mov eax, 4
    int 0x80

    mov ebx, 0
    mov eax, 1
    int 0x80

# Es tut schon, war fast kein Fehler

david@laptop-peaq:~\$ make assemble
nasm -f elf64 -g nasm20240422.asm
david@laptop-peaq:~\$ make link
ld -m elf_x86_64 -g nasm20240422.o -o nasm20240422
david@laptop-peaq:~\$ make run
./nasm20240422
ssjjjhhhdddaaadavid@laptop-peaq:~\$

;; der Fehler war, dass ich .code statt .text genommen hatte

global          _start
section         .data
                toSortArray:    db      "hasjdahsdjahdj", 0x00
                toSortArrayLen: equ     \$-toSortArray
section         .text
                _start:

                mov esi, toSortArray
                loop1:
                    mov ah, [esi]
                    cmp ah, 0x00
                    je loop1end
                    mov edi, esi
                    loop2:
                        inc edi
                        mov al, [edi]
                        cmp al, 0x00
                        je loop2end
                        mov al, [edi]
                        mov ah, [esi]
                        cmp al, ah
                        jle goon
                            mov al, [edi]
                            mov ah, [esi]
                            mov [edi], ah
                            mov [esi], al
                        goon:
                        jmp loop2
                    loop2end:
                    inc esi
                    jmp loop1
                loop1end:

    mov edx, toSortArrayLen
    mov ecx, toSortArray
    mov ebx, 1
    mov eax, 4
    int 0x80

    mov ebx, 0
    mov eax, 1
    int 0x80

assemble:
 nasm -f elf64 -g nasm20240422.asm
link:
 ld -m elf_x86_64 -g nasm20240422.o -o nasm20240422
run:
 ./nasm20240422

1.) Rechne die Zahl in binaer Darstellung  in eine Dezimale Darstellung um
0001011101110101b 6005d
2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um
20008 0100111000101000
3.) Addiere die drei Zahlen schriftlich
             7759
+           36797
+           50646
-----------------
            95202
4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich
            12340
-            9720
-           15860
-            8161
-----------------
           -21401
5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal
24 -34 = -10
00011000 11011110 = 11110110
6.) Multipliziere die zwei Zahlen schriftlich
59949*64162 = 3846447738
7.) Dividiere die zwei Zahlen schriftlich
59579/36754 = 1
8.) Errechne x Logarithmisch mit dem Taschenrechner
36535\^x = 513672311
Rechne die Zahl in IEEE-754 um 19034.533203

Image 20240422_134055

Image 20240422_135215

Image 20240422_135219

Image 20240422_135659

Image 20240422_141103

Image 20240422_141107

1.) Rechne die Zahl in binaer Darstellung  in eine Dezimale Darstellung um
0001011101110101b 6005d
2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um
20008 0100111000101000
3.) Addiere die drei Zahlen schriftlich
             7759
+           36797
+           50646
-----------------
            95202
4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich
            12340
-            9720
-           15860
-            8161
-----------------
           -21401
5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal
24 -34 = -10
00011000 11011110 = 11110110
6.) Multipliziere die zwei Zahlen schriftlich
59949*64162 = 3846447738
7.) Dividiere die zwei Zahlen schriftlich
59579/36754 = 1
8.) Errechne x Logarithmisch mit dem Taschenrechner
36535\^x = 513672311
Rechne die Zahl in IEEE-754 um 19034.533203

Image 20240422_143439

Image 20240422_143501

Image 20240422_143506

Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
1			3	4				1
2			8	6				1
3			4	1				1
4			1	3				1
5			6	6				0
6			2	8				1
7			3	3				1
8			8	7				0


1			3	4				1
2			8	6				1
3			4	1				1
4			1	3				1
6			2	8				1
7			3	3				1


5			6	6				0
8			8	7				0



1			3	4				1
2			8	6				1
3			4	1				1
4			1	3				1
6			2	8				1
7			3	3				1

(1,2)		(3,8)		(4,6)
(1,3)		(3,4)		(4,1)
(1,4)		(3,1)		(4,3)
(1,6)		(3,2)		(4,8)
(1,7)		(3,3)		(4,3)
(2,3)		(8,4)		(6,1)
(2,4)		(8,1)		(6,3)
(2,6)		(8,2)		(6,8)
(2,7)		(8,3)		(6,3)
(3,4)		(4,1)		(1,3)
(3,6)		(4,2)		(1,8)
(3,7)		(4,3)		(1,3)
(4,7)		(1,3)		(3,3)
(4,6)		(1,2)		(3,8)
(6,7)		(2,3)		(8,3)


(1,2)		(3,8)		(4,6)
(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
(1,6)		(2,3)		(4,8)
(1,7)		(3,3)		(3,4)
(2,3)		(4,8)		(1,6)
(2,4)		(1,8)		(3,6)
(2,6)		(2,8)		(6,8)
(2,7)		(3,8)		(3,6)
(3,4)		(1,4)		(1,3)
(3,6)		(2,4)		(1,8)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)		(3,3)
(4,6)		(1,2)		(3,8)
(6,7)		(2,3)		(3,8)


(1,2)		(3,8)		(4,6)
(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
(1,6)		(2,3)		(4,8)
(1,7)		(3,4)
(2,3)		(4,8)		(1,6)
(2,4)		(1,8)		(3,6)
(2,6)		(2,8)		(6,8)
(2,7)		(3,8)		(3,6)
(3,4)		(1,4)		(1,3)
(3,6)		(2,4)		(1,8)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)
(4,6)		(1,2)		(3,8)
(6,7)		(2,3)		(3,8)


--(1,2)		--(3,8)		(4,6)
(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
--(1,6)		(2,3)		--(4,8)
(1,7)		(3,4)
--(2,3)		--(4,8)		(1,6)
--(2,4)		--(1,8)		(3,6)
--(2,6)		--(2,8)		(6,8)
--(2,7)		--(3,8)		(3,6)
(3,4)		(1,4)		(1,3)
--(3,6)		--(2,4)		(1,8)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)
--(4,6)		--(1,2)		(3,8)
--(6,7)		--(2,3)		(3,8)


(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
(1,7)		(3,4)
(3,4)		(1,4)		(1,3)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)


5			6	6				0
8			8	7				0

(5,8)		(6,8)		(6,7)


(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
(1,7)		(3,4)
(3,4)		(1,4)		(1,3)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)
--(5,8)		--(6,8)		(6,7)


(1,3)		(3,4)		(1,4)
(1,4)		(1,3)		(3,4)
(1,7)		(3,4)
(3,4)		(1,4)		(1,3)
(3,7)		(3,4)		(1,3)
(4,7)		(1,3)

Image asm20240422-1

https://www.ituenix.de/nextcloud/data/dave/files/asm20240422.pdf">

https://www.ituenix.de/nextcloud/data/dave/files/asm20240422.tex">

Image asm20240422

https://www.ituenix.de/nextcloud/data/dave/files/asm20240422.odg">

Zustand,Eingabe,Ausgabe,Folgezustand
1,0,0,1
1,1,0,3
2,0,1,3
2,1,1,1
3,0,0,4
3,1,0,4
4,0,0,2
4,1,0,2

Image automat20240422-1

Image 20240422_153459

s