System Approach, Modeling, Simulation as ... - ScienceDirect

11 downloads 0 Views 457KB Size Report
The important method of current educational research is system approach, modeling and computer simulation of real systems and real processes. System ...
Available online at www.sciencedirect.com

ScienceDirect Procedia - Social and Behavioral Sciences 191 (2015) 2226 – 2230

WCES 2014

System Approach, Modeling, Simulation as Educational Technologies in Algorithm Development and Programming Stepan Hubalovsky a * a

Faculty of Science. University of Hradec Kralove, Rokitanskeho 62, CZ-500 03 Hradec Kralove, Czech Republic

Abstract The important method of current educational research is system approach, modeling and computer simulation of real systems and real processes. System approach, modeling and simulation have been found as one of the suitable method of developing theoretical knowledge of algorithm development and programming. The paper presents method of modeling and simulation in simulation of real physical phenomenon of the kinematics of solid bodies. The solution is demonstrated step by step – it starts with the system identification of the physical problem followed by creation of conceptual model. Finally development of computer simulation model is presented. The simulation model is done by programming in MS Excel worksheet, through which the solution and visualization of the problem is reached. © 2015 2014The TheAuthors. Authors. Published by Elsevier © Published by Elsevier Ltd. Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Selection and peer-review under responsibility of the Organizing Committee of WCES 2014. Selection and peer-review under responsibility of the Organizing Committee of WCES 2014 Keywords: System approach, mathematical model, computer simulation, algorithm development, programming, educational technology;

1. Introduction Courses of the algorithm development and programming belongs between one of the important subjects provided in education of future teacher it the University of Hradec Kralove. The ability to create algorithms develops logical thinking skills and imagination and is an inseparable part of study skills of prospective and undergraduate teachers specializing in “Informatics”. Algorithms are encountered in all practical activities. An algorithm generally involves defining the rules and giving the sequences of steps necessary for any activities. The most common examples of algorithms in everyday life can be found in Dvorak and Sedivy (2012). The term algorithm can be also connected with the terms like system approach, modeling and computer simulation, which are important in current approach to scientific, technological and professional practice. Many universities are realizing that modeling and simulation is becoming an important tool in finding the strategy for solving and understanding numerous and diverse problems.

* Stepan Hubalovsky.Tel: +420777484237 E-mail address: [email protected]

1877-0428 © 2015 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Selection and peer-review under responsibility of the Organizing Committee of WCES 2014 doi:10.1016/j.sbspro.2015.04.267

Stepan Hubalovsky / Procedia - Social and Behavioral Sciences 191 (2015) 2226 – 2230

2227

In this paper introduction of the theory of system approach, modeling and simulation as a method of multidisciplinary and system approach to education of algorithm development will be presented. Secondly we introduce a case study illustrating step by step process mathematics analysis, strategy and algorithm development and computer simulation of a real process - physical phenomenon of the kinematics of solid bodies. 2. Theory of system approach, modeling and simulation as educational technology 2.1. System approach In recent years the structure of teaching of the algorithm development at the University of Hradec Kralove has significantly moved towards the use of the system approach. This shift can be understood as important progress for students - prospective teachers - who have to be able to apply new methods in their work and disseminate these new methods among secondary school students. Benefits of this new educational technology are described in Hubalovsky (2012). Principle of the system approach as educational method in training of algorithm development and programming is based on modeling of real systems and processes and procedures. The methodology is intended to lead the student to a problem definition, to a creation of suitable mathematical models, to implementation and realization of the model through the principles of algorithms and finally to realization of the computer simulation program, i.e. the student should be able to determine input and output data and the procedure of the transformation of the data input into the data output under the system approach. 2.2. Modeling The main goal of modeling is describing the content, structure and behavior of the real system representing a part of the reality and describing the processes. The models are always only approaching of the reality, because the real systems are usually more complex than the models are. The model is always to be understood as simplification of the original. If the relation of isomorphism is between the model and real system the original model we could not distinguish between the model and the original, which is discussed in Sedivy (2012). The first step in the process of computer simulation is creation of conceptual model of the studied real system / real process. Conceptual model can be represented in different way. The most used representations is based on mathematical equitation. In this case we are speaking on Mathematical model of the real system. The mathematical model can be obtained theoretically based on basic physical analysis of the described real system. The main goal of the modeling id finding of adequately description of the dependency system outputs on its inputs. 2.3. Computer simulation The process of modeling is closely related to the simulation. Simulation can be understood as process of executing of the mathematical model. Simulation enables representation of the modeled real system or real process and its behavior in real time by means of computer. The simulation enables also visualization and editing of the model. The computer simulation is very useful from educational point of view. Using the simulation model and visualization of simulation results on the screen, students can better understand the basic features of the processes and systems and develop their intuition. It is also essential that the teaching by means of simulation is much cheaper and faster than the teaching carried by real experiment. In some cases providing the real experiment cannot be feasible. The process of creation of simulation model is other significant function in educational technology. The student has to solve the problem in complexity and they develop their logical thinking – Milkova (2011). A typical simulation model can be written both through specialized programming languages that were designed specifically for the requirements of simulations, or the simulation model can be created in standard programming languages and spreadsheets (MS Excel). In our paper the real system is simulated in Visual Basic for Application and visualized in MS Excel spreadsheet. 3. Case study

2228

Stepan Hubalovsky / Procedia - Social and Behavioral Sciences 191 (2015) 2226 – 2230

3.1. Problem definition A homogeneous cylinder of radius r rolls the plane from the left to the right with velocity v. With respect to r, v and D it has to be decided whether the cylinder rolls over the edge or rebounds from the edge. Both situations are shown on Figure 1. If the cylinder, under specified conditions, rebounds, it is necessary to find a place on the inclined plane where the cylinder snaps. The situation has to be analysed on the basis of available physical laws. Students should find mathematical model and based on the model realize computer simulation. 3.2. Mathematical model Full solution of this task is shown e.g. in (Hubalovsky, 2010). In this paper the solution will be only hinted. First, it is necessary for the student to realize the problem and perform the physical analysis – identify the real system, which means set the input and output variables, and introduce needed simplifying assumptions. The rolling cylinder can be replaced by a moving point mass, whose position coincides with the centre of the gravity of the cylinder. The centre of gravity lies on the cylinder axis of the rotation of the roller. The task can then be transferred to determination of the trajectory of the point mass moving by speed v at the distance r from the horizontal plane. In such way the input variable are x, v, r, D and output is the trajectory of the gravity centre expressed in the form of y = y(x, v, r, D) dependency. Under certain conditions, given by the input values and v, D and r, the cylinder will roll over the edge; the cylinder still holds the plane (it does not rebound from the edge). In this case, the trajectory of the point mass of the cylinder at the time of rolling over the edge is a part of the circle. The situation is shown on the left part of Figure 1. The overall trajectory is composed of three parts: x the horizontal line; x the part of the circle; x the inclined line. The trajectory can be described by the following formulas: x   f;0 :

y C ( x)

x  0; r sin D :

y C ( x)

r r 2  x2

,

(1)

r cos D where r sin D indicates x-coordinate of the point, where circle trajectory change to inclined trajectory. x  r sin D ; f :

y C ( x)

tg( D ) x 

Fig. 1. Trajectory of the cylinder – (a) rolling over the edge; (b) rebound from the edge

If the cylinder (the point mass of the cylinder) will have a sufficient velocity, the cylinder will rebound from the edge. The situation is shown on the right part of Figure 1. The overall trajectory is composed of three parts:

2229

Stepan Hubalovsky / Procedia - Social and Behavioral Sciences 191 (2015) 2226 – 2230

x x x

the horizontal line; the part of the parabola; the inclined line.

The trajectory can be expressed by the following formulas: x   f;0 :

y´ P ( x )

r



y P ( x)



§ x· r  5¨ ¸ ©v¹

y P ( x)

tg( D ) x 

x  0; x impact : x  x impact ; f :

,

2

(2)

r cos D

where ximpact indicates x-coordinate of the impact point. The cylinder rolls over the edge if the trajectory of the circle is higher than the trajectory of the parabola (the values of the equation (1) are greater than the values of the equation (2)) and vice versa. 3.3. Computer simulation model Before creation of computer simulation model, the students have to suggest algorithm for numeric solution of the mathematical model. The algorithm is based on the numerical finding of the maximum value of the equations (1) and (2) (y coordinate) for the set of x coordinate. The algorithm is shown on the left part of the Figure 2. Computer simulation model is created in MS Excel spreadsheet and dynamic visualization (animation) is realized by cyclic recalculation of the source data for MS Excel XY scatter chart – by repeatedly pressing or holding F9 key the cylinder and “move” from the left to the right on the chart and the chart appears as animated. The solution – computer simulation model is shown on the right part of the Figure 2. Solution in detail is described in Hubalovsky (2010).

Fig. 2. (a) algorithm of the numerical solution of mathematical model; (b) computer simulation model

2230

Stepan Hubalovsky / Procedia - Social and Behavioral Sciences 191 (2015) 2226 – 2230

4. Conclusion The paper presents system approach, modeling and simulation as one of the suitable educational technology in developing theoretical knowledge of algorithm development and programming. The system approach can be set as the default paradigm for a wide integration of the principles of the algorithm development and programming into education. The paper also emphasizes the fact that the algorithm development and programming together with realization of computer simulation model of the real processes is optimal solution in development of logical thinking of the students. Acknowledgements This paper is published thanks to the financial support of specific project of Faculty of Science, UHK. References Dvorak, K. & Sedivy, J., (2012). Design, Simulations and Manufacturing Strategy in the Teaching of Engineering Subjects , In: 9th international scientific conference on distance learning in applied informatics - DIVAI 2012 (pp. 83-92). Nitra: Univerzita Konštantína Filozofa. Hubalovsky, S., (2012). Research of Methods of a Multidisciplinary Approach in the Teaching of Algorithm Development and Programming. In: 9th international scientific conference on distance learning in applied informatics - DIVAI 2012 (pp. 147–156). Nitra: Univerzita Konštantína Filozofa. Hubalovsky, S., (2010). Modelling of real kinematics situation as a method of the system approach to the algorithm development thinking. International journal of applied mathematics and informatics., 4, 83-91. Milková, E., (2011). Development of logical thinking in enjoyable way. In: Efficiency and Responsibility in Education (pp. 221–229). Prague: Czech University of Life Sciences. Sedivy, J., (2012). Knowledge of Mathematical Foundations of the Modeling as a Condition Effective Deployment CAx Technology. International journal of mathematical models and methods in applied science. 6, 544-551.

Suggest Documents