@problem@
	@config@
		pauseonexit=false
		roundednote=true
	@;config@
	@problemtype@
		embedded
	@;problemtype@
	@name@
		tutorial_14_images
	@endname@
	@preamble@
		sampleimages = ["images/sample1.jpg", "images/sample2.jpg"]
		means = [10.074, 9.862]
		#
		sampleindex = randint(0,1)
		sampleimage = sampleimages[sampleindex]
		mean = means[sampleindex]
	@;preamble@
	@content@
		Images can be included in the problem content via the 'image' block. Inside the block, you only need to specify the file name of the image you want to include. In addition to absolute paths, relative paths from the directory of the current problem file are supported as well. In particular, if the image file is found in the same folder as the .xmu file, only the file name itself (without any directory information) needs to be specified.
		@pb;@
		Find the means $\overline{x}_1$ and $\overline{x}_2$ of the samples shown in the table below.
		@image@
			@properties@
				width=245px
			@;properties@
			images/tableImage.png
		@;image@
		@itemize@
			@item@ $\overline{x}_1=$ @numericalans(100,10.074)@ @;item@
			@item@ $\overline{x}_2=$ @numericalans(100,9.862)@ @;item@
		@;itemize@
		@lb;@
		The image type is determined by the file ending. Currently supported types include the 'png', 'jpg' and 'gif' formats. Some additional image properties can be specified in the 'properties' block within an 'image' block as well.
		@pb;@
		Of course, it is also posible to randomly show one of multiple images; note that due to the assignments in the preamble, 'sampleimage' will be evaluated as one of two specified filenames in every problem instance. Of course, the correct answer 'mean' must be assigned correspondingly.
		@pb;@
		@image@
			@properties@
				width=24.5%
			@;properties@
			@sampleimage@
		@;image@
		@lb;@
		The mean $\overline{x}$ of the sample shown in the above list is given by $\overline{x}=$ @numericalans(100,mean)@.
	@;content@
@;problem@