<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.mafiasi.de/index.php?action=history&amp;feed=atom&amp;title=P1-WS04-MusterLoesung11.txt</id>
	<title>P1-WS04-MusterLoesung11.txt - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mafiasi.de/index.php?action=history&amp;feed=atom&amp;title=P1-WS04-MusterLoesung11.txt"/>
	<link rel="alternate" type="text/html" href="https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;action=history"/>
	<updated>2026-10-18T08:31:37Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Fachschaft Informatik</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3108&amp;oldid=prev</id>
		<title>PatrickFey: 2 Versionen</title>
		<link rel="alternate" type="text/html" href="https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3108&amp;oldid=prev"/>
		<updated>2007-11-05T05:50:08Z</updated>

		<summary type="html">&lt;p&gt;2 Versionen&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. November 2007, 05:50 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>PatrickFey</name></author>
	</entry>
	<entry>
		<id>https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3107&amp;oldid=prev</id>
		<title>fsrwiki_&gt;Oddmuse Import: link fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3107&amp;oldid=prev"/>
		<updated>2007-11-05T05:49:25Z</updated>

		<summary type="html">&lt;p&gt;link fix&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. November 2007, 05:49 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Muesterloesung Aufgabenblatt 11&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Muesterloesung Aufgabenblatt 11&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; P1 WiSe 04/05&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; P1 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;WiSe&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;04/05&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Oezguer Oezcep&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Oezguer Oezcep&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Zeile 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Umrechnungskurs&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Umrechnungskurs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define EURO2DOLLAR 1.32)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2DOLLAR&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;1.32)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define EURO2PFUND 0.70)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2PFUND&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] &lt;/ins&gt;0.70)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Zeile 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;;(b)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;;(b)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag)     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag)     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 (car betrag))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 (car betrag))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;(define (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;betrag)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;(define (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;betrag)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;	(car (cdr betrag)))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;	(car (cdr betrag)))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; bzw. kuerzer&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; bzw. kuerzer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;betrag)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;betrag)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 (cadr betrag))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	 (cadr betrag))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Test&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Test&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;   &amp;gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;(neuerGeldbetrag 2 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;   &amp;gt; (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;(neuerGeldbetrag 2 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    2&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    &amp;gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;(neuerGeldbetrag 2 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    &amp;gt; (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;(neuerGeldbetrag 2 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    euro&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;    euro&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l43&quot;&gt;Zeile 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 43:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (nachEuro betrag)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (nachEuro betrag)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (case  (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;betrag)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (case  (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;betrag)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; ist schon Euro =&amp;gt; keine Aenderung&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; ist schon Euro =&amp;gt; keine Aenderung&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Zeile 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Konvertierung von Dollar&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Konvertierung von Dollar&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((dollar)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((dollar)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                    (neuerGeldbetrag (/  (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag) EURO2DOLLAR) &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                    (neuerGeldbetrag (/  (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2DOLLAR&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;) &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Konvertierung von Pfund&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Konvertierung von Pfund&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((pounds)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((pounds)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                    (neuerGeldbetrag (/ (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag) EURO2PFUND) &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                    (neuerGeldbetrag (/ (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2PFUND&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;) &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Waehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Waehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             (else #f)))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             (else #f)))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Zeile 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (cond  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       (cond  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Quellwaehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Quellwaehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((not (eq? (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;betrag) &#039;euro)) #f)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((not (eq? (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;betrag) &#039;euro)) #f)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Euro&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Euro&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;euro) betrag)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;euro) betrag)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Dollar&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Dollar&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;dollar)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;dollar)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 (neuerGeldbetrag (* (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag) EURO2DOLLAR) &#039;Dollar))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 (neuerGeldbetrag (* (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2DOLLAR&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;) &#039;Dollar))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Pfund&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; Euro nach Pfund&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;pounds)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ((eq? waehrung &amp;#039;pounds)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 (neuerGeldbetrag (* (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag) EURO2PFUND) &#039;Pounds))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 (neuerGeldbetrag (* (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;EURO2PFUND&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;) &#039;Pounds))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Zielwaehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             ; falsche Zielwaehrung =&amp;gt; false&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             (else #f)))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;             (else #f)))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Zeile 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Vorbedingung: die Waehrungen von betrag1 und betrag2 sind gleich&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Vorbedingung: die Waehrungen von betrag1 und betrag2 sind gleich&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiereWaehrungsgleicheBetraege &lt;/del&gt;betrag1 betrag2)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(define (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiere[[WaehrungsgleicheBetraege]] &lt;/ins&gt;betrag1 betrag2)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (let* (&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (let* (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (wert1 (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag1))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (wert1 (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag1))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (wert2 (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wertVonBetrag &lt;/del&gt;betrag2))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (wert2 (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wert[[VonBetrag]] &lt;/ins&gt;betrag2))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (waehrung (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrungVonBetrag &lt;/del&gt;betrag1))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (waehrung (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;waehrung[[VonBetrag]] &lt;/ins&gt;betrag1))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (summe (+ wert1 wert2))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (summe (+ wert1 wert2))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l96&quot;&gt;Zeile 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 96:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Test&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;;; Test&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; &amp;gt; (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiereWaehrungsgleicheBetraege &lt;/del&gt;(neuerGeldbetrag 2 &#039;Euro) (neuerGeldbetrag 4 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; &amp;gt; (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiere[[WaehrungsgleicheBetraege]] &lt;/ins&gt;(neuerGeldbetrag 2 &#039;Euro) (neuerGeldbetrag 4 &#039;Euro))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; (6 euro)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; (6 euro)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l105&quot;&gt;Zeile 105:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 105:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (let* (&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   (let* (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          ; Konvertiere Betraege nach Euro und ...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          ; Konvertiere Betraege nach Euro und ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;neuerGeldbetragInEuro1 &lt;/del&gt;(nachEuro betrag1))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;neuer[[GeldbetragInEuro1]] &lt;/ins&gt;(nachEuro betrag1))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;neuerGeldbetragInEuro2 &lt;/del&gt;(nachEuro betrag2))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;neuer[[GeldbetragInEuro2]] &lt;/ins&gt;(nachEuro betrag2))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     ; ... addiere mit &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiereWaehrungsgleicheBetraege&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     ; ... addiere mit &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiere[[WaehrungsgleicheBetraege]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiereWaehrungsgleicheBetraege neuerGeldbetragInEuro1 neuerGeldbetragInEuro2&lt;/del&gt;)))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;addiere[[WaehrungsgleicheBetraege]] neuer[[GeldbetragInEuro1]] neuer[[GeldbetragInEuro2]]&lt;/ins&gt;)))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>fsrwiki_&gt;Oddmuse Import</name></author>
	</entry>
	<entry>
		<id>https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3106&amp;oldid=prev</id>
		<title>fsrwiki_&gt;1illig: antispam</title>
		<link rel="alternate" type="text/html" href="https://wiki.mafiasi.de/index.php?title=P1-WS04-MusterLoesung11.txt&amp;diff=3106&amp;oldid=prev"/>
		<updated>2006-12-22T05:47:47Z</updated>

		<summary type="html">&lt;p&gt;antispam&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
; Muesterloesung Aufgabenblatt 11&lt;br /&gt;
; P1 WiSe 04/05&lt;br /&gt;
; Oezguer Oezcep&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; Aufgabe 1 (Abstrakter Datentyp)&lt;br /&gt;
;;; ------------------------------&lt;br /&gt;
&lt;br /&gt;
;;; Umrechnungskurs&lt;br /&gt;
(define EURO2DOLLAR 1.32)&lt;br /&gt;
(define EURO2PFUND 0.70)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; (a) &lt;br /&gt;
&lt;br /&gt;
(define (neuerGeldbetrag wert waehrung) &lt;br /&gt;
	(list wert waehrung))&lt;br /&gt;
&lt;br /&gt;
;;; Test&lt;br /&gt;
  ;  &amp;gt; (neuerGeldbetrag 2 &amp;#039;Euro)&lt;br /&gt;
  ;  (2 euro)&lt;br /&gt;
    &lt;br /&gt;
;;;(b) &lt;br /&gt;
&lt;br /&gt;
(define (wertVonBetrag betrag)    &lt;br /&gt;
	 (car betrag))&lt;br /&gt;
&lt;br /&gt;
;(define (waehrungVonBetrag betrag) &lt;br /&gt;
;	(car (cdr betrag)))&lt;br /&gt;
; bzw. kuerzer&lt;br /&gt;
&lt;br /&gt;
(define (waehrungVonBetrag betrag)&lt;br /&gt;
	 (cadr betrag))&lt;br /&gt;
    &lt;br /&gt;
;;; Test&lt;br /&gt;
;   &amp;gt; (wertVonBetrag (neuerGeldbetrag 2 &amp;#039;Euro))&lt;br /&gt;
;    2&lt;br /&gt;
;    &amp;gt; (waehrungVonBetrag (neuerGeldbetrag 2 &amp;#039;Euro))&lt;br /&gt;
;    euro&lt;br /&gt;
    &lt;br /&gt;
;;;(c) &lt;br /&gt;
&lt;br /&gt;
(define (nachEuro betrag)&lt;br /&gt;
      (case  (waehrungVonBetrag betrag) &lt;br /&gt;
        &lt;br /&gt;
            ; ist schon Euro =&amp;gt; keine Aenderung&lt;br /&gt;
            ((euro) betrag)&lt;br /&gt;
            ; Konvertierung von Dollar&lt;br /&gt;
            ((dollar) &lt;br /&gt;
                   (neuerGeldbetrag (/  (wertVonBetrag betrag) EURO2DOLLAR) &amp;#039;Euro))&lt;br /&gt;
            ; Konvertierung von Pfund&lt;br /&gt;
            ((pounds) &lt;br /&gt;
                   (neuerGeldbetrag (/ (wertVonBetrag betrag) EURO2PFUND) &amp;#039;Euro))&lt;br /&gt;
            ; falsche Waehrung =&amp;gt; false&lt;br /&gt;
            (else #f)))&lt;br /&gt;
&lt;br /&gt;
    (define (vonEuro betrag waehrung)&lt;br /&gt;
      (cond &lt;br /&gt;
            ; falsche Quellwaehrung =&amp;gt; false&lt;br /&gt;
            ((not (eq? (waehrungVonBetrag betrag) &amp;#039;euro)) #f)&lt;br /&gt;
            ; Euro nach Euro&lt;br /&gt;
            ((eq? waehrung &amp;#039;euro) betrag)&lt;br /&gt;
            ; Euro nach Dollar&lt;br /&gt;
            ((eq? waehrung &amp;#039;dollar) &lt;br /&gt;
                (neuerGeldbetrag (* (wertVonBetrag betrag) EURO2DOLLAR) &amp;#039;Dollar))&lt;br /&gt;
            ; Euro nach Pfund&lt;br /&gt;
            ((eq? waehrung &amp;#039;pounds) &lt;br /&gt;
                (neuerGeldbetrag (* (wertVonBetrag betrag) EURO2PFUND) &amp;#039;Pounds))&lt;br /&gt;
            ; falsche Zielwaehrung =&amp;gt; false&lt;br /&gt;
            (else #f)))&lt;br /&gt;
     &lt;br /&gt;
    ;;; Test       &lt;br /&gt;
    ; Wir testen, dass Hin- und Rueckkonvertierung wieder den originalen Betrag &lt;br /&gt;
    ; ergibt &lt;br /&gt;
    &lt;br /&gt;
    ; &amp;gt; (nachEuro (vonEuro (neuerGeldbetrag 2 &amp;#039;Euro) &amp;#039;Euro))&lt;br /&gt;
    ; (2 euro)&lt;br /&gt;
    ; &amp;gt; (nachEuro (vonEuro (neuerGeldbetrag 2 &amp;#039;Euro) &amp;#039;Dollar))&lt;br /&gt;
    ; (2.0 euro)&lt;br /&gt;
    ; &amp;gt; (nachEuro (vonEuro (neuerGeldbetrag 2 &amp;#039;Euro) &amp;#039;Pounds))&lt;br /&gt;
    ; (2.0 euro)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; d)&lt;br /&gt;
&lt;br /&gt;
;;; Vorbedingung: die Waehrungen von betrag1 und betrag2 sind gleich&lt;br /&gt;
(define (addiereWaehrungsgleicheBetraege betrag1 betrag2)&lt;br /&gt;
  (let* (&lt;br /&gt;
         (wert1 (wertVonBetrag betrag1))&lt;br /&gt;
         (wert2 (wertVonBetrag betrag2))&lt;br /&gt;
         (waehrung (waehrungVonBetrag betrag1))&lt;br /&gt;
         (summe (+ wert1 wert2))&lt;br /&gt;
         )&lt;br /&gt;
    (neuerGeldbetrag summe waehrung)))&lt;br /&gt;
&lt;br /&gt;
;;; Test&lt;br /&gt;
; &amp;gt; (addiereWaehrungsgleicheBetraege (neuerGeldbetrag 2 &amp;#039;Euro) (neuerGeldbetrag 4 &amp;#039;Euro))&lt;br /&gt;
; (6 euro)&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
;;; e) &lt;br /&gt;
&lt;br /&gt;
(define (addiere betrag1 betrag2)&lt;br /&gt;
  (let* (&lt;br /&gt;
         ; Konvertiere Betraege nach Euro und ...&lt;br /&gt;
         (neuerGeldbetragInEuro1 (nachEuro betrag1))&lt;br /&gt;
         (neuerGeldbetragInEuro2 (nachEuro betrag2))&lt;br /&gt;
         )&lt;br /&gt;
    ; ... addiere mit addiereWaehrungsgleicheBetraege&lt;br /&gt;
    (addiereWaehrungsgleicheBetraege neuerGeldbetragInEuro1 neuerGeldbetragInEuro2)))&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
;;; Test&lt;br /&gt;
;  &amp;gt; (addiere (neuerGeldbetrag 2 &amp;#039;Euro) (neuerGeldbetrag 2 &amp;#039;Euro))&lt;br /&gt;
; (4 euro)&lt;br /&gt;
; &amp;gt; (addiere (neuerGeldbetrag 2 &amp;#039;Euro) (neuerGeldbetrag 2 &amp;#039;Dollar))&lt;br /&gt;
; (3.515151515151515 euro)&lt;br /&gt;
; &amp;gt; (addiere (neuerGeldbetrag 2 &amp;#039;Dollar) (neuerGeldbetrag 2 &amp;#039;Euro))&lt;br /&gt;
; (3.515151515151515 euro)&lt;br /&gt;
; &amp;gt; (addiere (neuerGeldbetrag 2 &amp;#039;Dollar) (neuerGeldbetrag 2 &amp;#039;Dollar))&lt;br /&gt;
; (3.0303030303030303 euro)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; Aufgabe 2 (Teilstuecke einer Liste)&lt;br /&gt;
;;; -----------------------------------&lt;br /&gt;
&lt;br /&gt;
;;; a)&lt;br /&gt;
; Zunaechst eine Loesung ohne Fehlerbehandlung. Die Idee: Falls die Tiefe noch &lt;br /&gt;
; groesser ist als 0, besteht die Loesung aus dem Kopf und den ersten n-1 Elementen&lt;br /&gt;
; des Schwanzes:&lt;br /&gt;
&lt;br /&gt;
(define (take n liste)&lt;br /&gt;
  (cond&lt;br /&gt;
    ((= n 0) &lt;br /&gt;
     &amp;#039;())&lt;br /&gt;
    (else &lt;br /&gt;
     (cons &lt;br /&gt;
      (car liste) &lt;br /&gt;
      (take (- n 1) (cdr liste))))))&lt;br /&gt;
      &lt;br /&gt;
&lt;br /&gt;
; Zwei Reaktionen bei zu hohem n koennen als sinnvoll angesehen werden:&lt;br /&gt;
;    1) Ausgabe eines Fehlers&lt;br /&gt;
;    2) Rueckgabe der gesamten Liste&lt;br /&gt;
&lt;br /&gt;
; Die Loeung fuer Variante 1) laesst sich z.B. durch eine Wrapper-&lt;br /&gt;
; Funktion realisieren, welche take nur aufruft, falls n &amp;lt;= (length liste):&lt;br /&gt;
&lt;br /&gt;
(define (w_take n liste)&lt;br /&gt;
  (if (&amp;lt;= n (length liste))&lt;br /&gt;
      (take n liste)&lt;br /&gt;
      (error &amp;quot;n ist groesser als die Listenlaenge&amp;quot;)))&lt;br /&gt;
&lt;br /&gt;
;;; Test:&lt;br /&gt;
;&amp;gt; (w_take 1 &amp;#039;(1 2 3))&lt;br /&gt;
;(1)&lt;br /&gt;
;&amp;gt; (w_take 2 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2)&lt;br /&gt;
;&amp;gt; (w_take 4 &amp;#039;(1 2 3))&lt;br /&gt;
;  n ist groesser als die Listenlaenge&lt;br /&gt;
;&amp;gt; (w_take 4 &amp;#039;(1 2 3))&lt;br /&gt;
      &lt;br /&gt;
; Die Loesung fuer Variante 2) erreicht man, indem nicht nur das Erreichen von&lt;br /&gt;
; n=0 zum Rekursionsabbruch fuehrt, sondern auch (null? list) :&lt;br /&gt;
&lt;br /&gt;
(define (take n liste)&lt;br /&gt;
  (cond&lt;br /&gt;
    ((= n 0) &lt;br /&gt;
     &amp;#039;())&lt;br /&gt;
    ((null? liste)	   ; &amp;lt;--&lt;br /&gt;
     &amp;#039;())                      ; &amp;lt;--		&lt;br /&gt;
    (else &lt;br /&gt;
     (cons &lt;br /&gt;
      (car liste) &lt;br /&gt;
      (take (- n 1) (cdr liste))))))&lt;br /&gt;
&lt;br /&gt;
;;; Test:&lt;br /&gt;
;&amp;gt; (take 4 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2 3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;;(b) &lt;br /&gt;
&lt;br /&gt;
; Zunaechst wieder die Loesung ohne Fehlerbehandlung. &lt;br /&gt;
&lt;br /&gt;
(define (drop n liste)&lt;br /&gt;
  (cond&lt;br /&gt;
    ((= n 0)&lt;br /&gt;
     liste)&lt;br /&gt;
    (else&lt;br /&gt;
     (drop (- n 1) (cdr liste)))))&lt;br /&gt;
     &lt;br /&gt;
; Abgefangen muss hier der Fall werden, dass mehr Elemente abgeschnitten &lt;br /&gt;
; werden sollen als die Liste Elemente hat. Analog sind wieder 2 Reaktionen&lt;br /&gt;
; moeglich:&lt;br /&gt;
;    1) Ausgabe eines Fehlers&lt;br /&gt;
;    2) Rueckgabe der leeren Liste&lt;br /&gt;
&lt;br /&gt;
; Die Loesung fuer Variante 1) analog zu a):&lt;br /&gt;
&lt;br /&gt;
(define (w_drop n liste)&lt;br /&gt;
  (if (&amp;lt;= n (length liste))&lt;br /&gt;
      (drop n liste)&lt;br /&gt;
      (error &amp;quot;n ist zu gross&amp;quot;)))&lt;br /&gt;
&lt;br /&gt;
;;;; Test:&lt;br /&gt;
;&amp;gt; (w_drop 1 &amp;#039;(1 2 3))&lt;br /&gt;
;(2 3)&lt;br /&gt;
;&amp;gt; (w_drop 0 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2 3)&lt;br /&gt;
;&amp;gt; (w_drop 2 &amp;#039;(1 2 3))&lt;br /&gt;
;(3)&lt;br /&gt;
;&amp;gt; (w_drop 4 &amp;#039;(1 2 3))&lt;br /&gt;
; n ist zu gross&lt;br /&gt;
      &lt;br /&gt;
; Und auch bei 2) koennen wir uns an a) orientieren: Falls (null? liste) ist,&lt;br /&gt;
; gib die leere Liste zurueck.&lt;br /&gt;
&lt;br /&gt;
(define (drop n liste)&lt;br /&gt;
  (cond&lt;br /&gt;
    ((= n 0)&lt;br /&gt;
     liste)&lt;br /&gt;
    ((null? liste)	   ; &amp;lt;--&lt;br /&gt;
     &amp;#039;())	                   ; &amp;lt;--&lt;br /&gt;
    (else&lt;br /&gt;
     (drop (- n 1) (cdr liste)))))&lt;br /&gt;
&lt;br /&gt;
;;;Test: &lt;br /&gt;
;&amp;gt; (drop 4 &amp;#039;(1 2 3))&lt;br /&gt;
;()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; c)&lt;br /&gt;
&lt;br /&gt;
; Anders formuliert: (subseq start stop liste) bewirkt, dass von den ersten &lt;br /&gt;
; &amp;#039;stop&amp;#039; Elementen von &amp;#039;liste&amp;#039; die ersten &amp;#039;start&amp;#039; Elemente abgeschnitten werden:&lt;br /&gt;
&lt;br /&gt;
(define (subseq start stop liste)&lt;br /&gt;
  (drop&lt;br /&gt;
   start&lt;br /&gt;
   (take (+ stop 1) liste)))&lt;br /&gt;
&lt;br /&gt;
; Das (+ stop 1) ergibt sich dabei aus der Tatsache, dass take die ersten n&lt;br /&gt;
; Elemente der Liste bestimmt, also z.b. 4 Elemente, welche aber fuer subseq&lt;br /&gt;
; mit den werten 0-3 nummeriert sind. Aus eben diesem Grund muss auch start&lt;br /&gt;
; nicht veraendert werden, denn dadurch dass bei 0 angefangen wird zu zaehlen&lt;br /&gt;
; enthaelt start schon genau die Anzahl an Elementen, die entfernt werden muessen&lt;br /&gt;
&lt;br /&gt;
;;; Test&lt;br /&gt;
;&amp;gt; (subseq 0 0 &amp;#039;(1 2 3))&lt;br /&gt;
;(1)&lt;br /&gt;
;&amp;gt; (subseq 0 1 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2)&lt;br /&gt;
;&amp;gt; (subseq 0 2 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2 3)&lt;br /&gt;
;&amp;gt; (subseq 0 3 &amp;#039;(1 2 3))&lt;br /&gt;
;(1 2 3)&lt;br /&gt;
;&amp;gt; (subseq 1 2 &amp;#039;(1 2 3))&lt;br /&gt;
;(2 3)&lt;br /&gt;
;&amp;gt; (subseq 3 0 &amp;#039;(1 2 3))&lt;br /&gt;
;()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; Aufgabe 3 (Gute Vorsaetze)&lt;br /&gt;
;;;---------------------------&lt;br /&gt;
&lt;br /&gt;
;;; Hilfsfunktionen von Dreschler-Fischer&amp;#039;s tools.scm&lt;br /&gt;
&lt;br /&gt;
;;;; =========================================================&lt;br /&gt;
&lt;br /&gt;
;;;; random numbers&lt;br /&gt;
&lt;br /&gt;
;;;; =========================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(define *last-ran* 1) ; the previous random number&lt;br /&gt;
&lt;br /&gt;
(define (random-real)&lt;br /&gt;
&lt;br /&gt;
  ;;; pick a random real number between 0 and 1.0&lt;br /&gt;
&lt;br /&gt;
  (let* ((a (add1 (expt 2 7)))&lt;br /&gt;
&lt;br /&gt;
         (b 1)&lt;br /&gt;
&lt;br /&gt;
	 (T (sub1 (expt 2 35)))&lt;br /&gt;
&lt;br /&gt;
	 (next-ran (remainder &lt;br /&gt;
&lt;br /&gt;
	            (+ (* a *last-ran*)&lt;br /&gt;
&lt;br /&gt;
                       b)&lt;br /&gt;
&lt;br /&gt;
                   T)))&lt;br /&gt;
&lt;br /&gt;
         (set! *last-ran* next-ran)&lt;br /&gt;
&lt;br /&gt;
	 (/ next-ran T)))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(define (random n)&lt;br /&gt;
&lt;br /&gt;
  ;;; pick a random integer between 0 and n-1&lt;br /&gt;
&lt;br /&gt;
  (floor (* n (random-real))))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(define (random-elt choices)&lt;br /&gt;
&lt;br /&gt;
  ;;; Choose an element from a list at random&lt;br /&gt;
&lt;br /&gt;
 (list-ref choices (random (length choices))))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; ----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; Die Hilfsfunktion one-of (Skript S. 107) in etwas  variierter Form&lt;br /&gt;
;;; Das zufaellig aus der Liste set gewhlte Element wird nur in dem Fall,&lt;br /&gt;
;;; dass es keine Liste ist, in eine Liste eingebettet.&lt;br /&gt;
&lt;br /&gt;
(define (one-of set)&lt;br /&gt;
  (let ((element (random-elt set)))&lt;br /&gt;
    (if (list? element) element (list element))))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;; a)&lt;br /&gt;
&lt;br /&gt;
;Es werden zur Loesung der Aufgabe nur solche Vorsaetze betrachtet, die sich in der&lt;br /&gt;
; Form &amp;lt;Skalar&amp;gt; &amp;lt;Verbalphrase&amp;gt; wiedergeben lassen.&lt;br /&gt;
;Da nach &amp;quot;guten&amp;quot; Vorsaetzen gefragt ist, ist die Kombination der Skalare mit den &lt;br /&gt;
;Verbalphrasen zu beachten; z.B. ist (weniger rauchen) ein guter Vorsatz, hingegen &lt;br /&gt;
;(mehr rauchen) nicht. &lt;br /&gt;
;&lt;br /&gt;
;In der Grammatik muessen folglich &amp;quot;positive&amp;quot;  und &amp;quot;negative&amp;quot; Verbalphrasen sowie &lt;br /&gt;
;+Skalare (&amp;quot;mehr&amp;quot;, haeufiger&amp;quot;) und -Sklarae (&amp;quot;weniger&amp;quot;, &amp;quot;seltener&amp;quot;) unterschieden &lt;br /&gt;
;werden. Ein guter Vorsatz sollte einer sein, der mehr an positiven Taten oder &lt;br /&gt;
;weniger an negativen Taten verlangt.&lt;br /&gt;
;&lt;br /&gt;
;&lt;br /&gt;
;&lt;br /&gt;
;Grammatik&lt;br /&gt;
;&lt;br /&gt;
;(1) &amp;lt;+Skalar&amp;gt; ::= mehr | fleissiger | haeufiger&lt;br /&gt;
;(2) &amp;lt;-Skalar&amp;gt; ::= weniger | seltener&lt;br /&gt;
;(3) &amp;lt;positiveVerbalphrase&amp;gt; ::= sparen | lernen | lesen | Sport treiben &lt;br /&gt;
;(4) &amp;lt;negativeVerbalphrase&amp;gt;::= trinken | Auto fahren | rauchen &lt;br /&gt;
;(5) &amp;lt;guterVorsatz&amp;gt; ::= &amp;lt;+Skalar&amp;gt;&amp;lt;positiveVerbalphrase&amp;gt;&lt;br /&gt;
;(6) &amp;lt;guterVorsatz&amp;gt; ::= &amp;lt;-Skalar&amp;gt;&amp;lt;negativeVerbalphrase&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;;; b)&lt;br /&gt;
&lt;br /&gt;
; Regeln der (einfachen) Grammatik als Scheme-Code &lt;br /&gt;
&lt;br /&gt;
(define (guterVorsatz)&lt;br /&gt;
  ; waehlt zufaellig einen der beiden Faelle ( (5) oder (6) )&lt;br /&gt;
  ;  fuer guete Vorsaetze  aus &lt;br /&gt;
  (random-elt  (list &lt;br /&gt;
                (append (-Skalar) (negativeVerbalphrase)) &lt;br /&gt;
                (append (+Skalar) (positiveVerbalphrase)))))&lt;br /&gt;
&lt;br /&gt;
(define (negativeVerbalphrase)&lt;br /&gt;
  (one-of (list &amp;#039;trinken (list &amp;#039;Auto &amp;#039;fahren) &amp;#039;rauchen)))&lt;br /&gt;
&lt;br /&gt;
(define (positiveVerbalphrase)&lt;br /&gt;
  (one-of (list &amp;#039;sparen &amp;#039;lernen (list &amp;#039;Sport &amp;#039;treiben) &amp;#039;lesen)))&lt;br /&gt;
&lt;br /&gt;
(define (+Skalar)&lt;br /&gt;
  (one-of &amp;#039;(mehr fleissiger haeufiger)))&lt;br /&gt;
&lt;br /&gt;
(define (-Skalar)&lt;br /&gt;
  (one-of &amp;#039;(weniger seltener)))&lt;br /&gt;
&lt;br /&gt;
;;;; Test&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(haeufiger lesen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(fleissiger lernen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger auto fahren)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(seltener rauchen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger auto fahren)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(fleissiger lesen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(haeufiger lesen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(fleissiger sport treiben)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger trinken)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger auto fahren)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger trinken)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(mehr sparen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(mehr sport treiben)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(mehr sport treiben)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(mehr sport treiben)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger auto fahren)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(haeufiger lernen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(seltener trinken)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(seltener rauchen)&lt;br /&gt;
;&amp;gt; (guterVorsatz)&lt;br /&gt;
;(weniger rauchen) &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>fsrwiki_&gt;1illig</name></author>
	</entry>
</feed>