List[Null, Null, Null, Null, Null, Null, Null, Notebook[List[Cell[CellGroupData[List[Cell["Exercise 1", "Title"], Cell[CellGroupData[List[Cell["If-Equation", "Section"], Cell[TextData[List["Write a class ", StyleBox["Lights", Rule[FontFamily, "Courier"]], " that sets the variable switch (integer) to one if the lights are on and zero if the lights are off."]], "Text"], Cell["", "ModelicaInput"], Cell[CellGroupData[List[Cell["Answer", "Subsection"], Cell["class Lights\n  Integer switch;\n  Boolean off = true;\nequation\n  if off then\n    switch = 0;\n  else\n    switch = 1;\n  end if;\nend Lights;", "ModelicaInput"], Cell[CellGroupData[List[Cell["Simulation of Lights", "Subsubsection"], Cell["simulate( Lights );", "ModelicaInput"], Cell[BoxData["\"<SimulationData: \\!\\(Lights\\) : 2004-1-30 9:56:53.2130929 : \\!\\({0.`, 1.`}\\) : 502 data points : 1 events : 4 variables>\\n\\!\\({\\*TagBox[\\\"\[UnderBracket]derdummy\\\", HoldForm], \\*TagBox[\\\"\[UnderBracket]dummy\\\", HoldForm], \\*TagBox[\\\"off\\\", HoldForm], \\*TagBox[\\\"switch\\\", HoldForm]}\\)\""], "Output"]], Open]]], Closed]]], Open]]], Open]]], Rule[FrontEndVersion, "5.1 for Microsoft Windows"], Rule[ScreenRectangle, List[List[0, 1280], List[0, 951]]], Rule[WindowSize, List[841, 924]], Rule[WindowMargins, List[List[4, Automatic], List[Automatic, 0]]], Rule[StyleDefinitions, "MathModelica.nb"]], Null, Null, Null, Null, Null]