<?xml version="1.0" encoding="UTF-8"?>
<fib_object
			  xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
			  xmlns="http://www.fib-development.org/"
			  xsd:schemaLocation="http://www.fib-development.org/fib.xsd">
	<root>
		<multimedia_info fib_version="3" db_version="2"/>
		<optionalpart>
			<pair key="name" value="function f( x, a0, a1 ) = a0 + a1 * x"/>
			<pair key="description" value="This object represents a (linear) function of degree 1: f( x, a0, a1 ) = a0 + a1 * x ."/>
			<pair key="inVar1::description" value="x position"/>
			<pair key="inVar2::description" value="start point or y-intercept a0"/>
			<pair key="inVar3::description" value="slope or gradient a1"/>
			
			<pair key="subObj1::description" value="the value f( x, a0, a1 ) as the (only) variable for the subobject"/>
			<pair key="subObj1::outVar1::description" value="the value f( x, a0, a1 )"/>
			
			<pair key="author" value="Betti Oesterholz"/>
			<pair key="author::email" value="Oesterholz@Fib-Development.org"/>
			<pair key="copyright" value="LGPL3"/>
		</optionalpart>
		<input_variables>
			<variable number="1" default="0"/>
			<variable number="2" default="0"/>
			<variable number="3" default="0"/>
		</input_variables>
		<domains>
			<externSubobject number="1">
				<vector elements="1">
					<!--actually any number is possible;
						the next line is just a space holder-->
					<naturalNumberB bit="0" />
				</vector>
			</externSubobject>
		</domains>
		<main_fib_object>
			<function define_variable="4">
				<!--a slope of the line-->
				<subfunction>
					<!--(y_2 - y_1) / (x_2 - x_1) -->
					<add>
						<variable>2</variable>
						<mult>
							<variable>3</variable>
							<variable>1</variable>
						</mult>
					</add>
				</subfunction>
				<subobject number="1">
					<vector type="externSubobject">
						<variable>4</variable>
					</vector>
				</subobject>
			</function>
		</main_fib_object>
	</root>
</fib_object>