I wanted to code the multiplication algorithm as described in URM code in Mathematica. I ended the day on my way to building a URM emulator in Mathematica. An example of not strictly necessary study time. In this case related to M381. But a task like this is what makes studying so much fun.

I am programming a Mathematica Function that takes a list like this

{

{{J}, {1,3,12}},

{{J}, {2,3,11}},

{{C}, {1,3}},

{{S}, {5}},

{{J}, {2,5,11}},

{{Z}, {4}},

{{S}, (3}},

{{S}, {4}},

{{J}, {1,4,4}},

{{J}, {1,1,7}},

{{C}, {3,1}},

}

as input and then processes it as of it was the following URM program.

1 J(1,3,12)

2 J(2,3,11)

3 C(1,3)

4 S(5)

5 J(2,5,11)

6 Z(4)

7 S(3)

8 S(4)

9 J(1,4,4)

10 J(1,1,7)

11 C(3,1)

I hope to complete it somewhere this week.

Alan Turing must have been quite a visionary I doubt it however if he ever imagined students, using advanced computers, trying to emulate his Turing Machine or similar URM.

2-2018 Teaching by misleading

2 months ago

## No comments:

## Post a Comment