List[Null, Null, Null, Null, Null, Null, Null, Notebook[List[Cell[CellGroupData[List[Cell["Array Concatenation and More Slices", "Title"], Cell[CellGroupData[List[Cell["Concatenate!", "Section"], Cell[TextData[List["Complete the class, ", StyleBox["Concatenate", Rule[FontFamily, "Courier"]], ", like this:\n\n1)   Create a new variable ", StyleBox["V1", Rule[FontFamily, "Courier"]], " in which you append 60 to ", StyleBox["A", Rule[FontFamily, "Courier"]], ".\n2)   Append 50 to ", StyleBox["V1.", Rule[FontFamily, "Courier"]], "\n3)   If you didn't use the ", StyleBox["cat", Rule[FontFamily, "Courier"]], "-operator before, use this to append 60 to A.\n4)  Append the set of 60 to B.\n5)   If you didn't use the ", StyleBox["cat", Rule[FontFamily, "Courier"]], "-operator before, use this to append 60 to B.\n6)   Append the set of 18 to v, using the ", StyleBox["cat", Rule[FontFamily, "Courier"]], "-operator.\n"]], "Text"], Cell["class Concatenate\n  Real[1, 2] \t\tA = [50, 32];\n  Real[2, 1] \t\tB = [3; 7];\n  Real[5] \t\t\ta = {4, 9, 7, 5, 2};\nend Concatenate;", "ModelicaInput"], Cell[CellGroupData[List[Cell["Answer", "Subsection"], Cell[TextData[List["class Concatenate\n  Real[1, 2] \t\tA = [50, 32];\n  Real[2, 1] \t\tB = [3; 7];\n  Real[5] \t\t\ta = {4, 9, 7, 5, 2};\n  \n  Real[1, 3] V1 = [A, 60];\n  Real[1, 4] V2 = [V1, 50]; \n  Real[1, 3] V3 = cat(2, A, {{20}});\n  Real[3, 1] V4 = [B; 60];\n  Real[3, 1] V5 = cat(1, B, {{20}});\n  Real[6] v = cat(1, a, {18});", StyleBox["\n", Rule[FontColor, RGBColor[1, 0, 0]]], "end Concatenate;"]], "ModelicaInput"]], Closed]]], Open]], Cell[CellGroupData[List[Cell["Question", "Section"], Cell["Which are the results of your newly created variables?", "Text"], Cell[CellGroupData[List[Cell["Answer", "Subsection"], Cell[CellGroupData[List[Cell["  1)", "Subsubsection"], Cell[" The result is {50, 32, 60}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["  2)", "Subsubsection"], Cell[" The result is {50, 32, 60, 50}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["  3)", "Subsubsection"], Cell[" The result is {50, 32, 20}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["  4)", "Subsubsection"], Cell["The result is {{3}, {7}, {60}}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["  5)", "Subsubsection"], Cell["The result is {{3}, {7}, {20}}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["  6)", "Subsubsection"], Cell["The result is {4, 9, 7, 5, 2, 18}", "Text"]], Closed]], Cell[CellGroupData[List[Cell["Simulation of Concatenate", "Subsubsection"], Cell["simulate( Concatenate );", "ModelicaInput"], Cell[BoxData["\"<SimulationData: \\!\\(Concatenate\\) : 2004-1-30 13:41:52.0804626 : \\!\\({0.`, 1.`}\\) : 502 data points : 1 events : 11 variables>\\n\\!\\({\\*TagBox[\\(a \[LeftDoubleBracket] \\(\\(1\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(A \[LeftDoubleBracket] \\(\\(1, 1\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(A \[LeftDoubleBracket] \\(\\(1, 2\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(a \[LeftDoubleBracket] \\(\\(2\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(a \[LeftDoubleBracket] \\(\\(3\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(a \[LeftDoubleBracket] \\(\\(4\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(a \[LeftDoubleBracket] \\(\\(5\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(B \[LeftDoubleBracket] \\(\\(1, 1\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(B \[LeftDoubleBracket] \\(\\(2, 1\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\\"\[UnderBracket]derdummy\\\", HoldForm], \\*TagBox[\\\"\[UnderBracket]dummy\\\", HoldForm]}\\)\""], "Output"]], Closed]]], Closed]]], Open]]], Open]]], Rule[FrontEndVersion, "5.1 for Microsoft Windows"], Rule[ScreenRectangle, List[List[0, 1280], List[0, 951]]], Rule[WindowSize, List[825, 924]], Rule[WindowMargins, List[List[0, Automatic], List[Automatic, 0]]], Rule[StyleDefinitions, "MathModelica.nb"]], Null, Null, Null, Null, Null]