Development of New Mathematical and Engineering Programs – Lab Report Example

The paper "Development of New Mathematical and Engineering Programs" is a good example of a lab report on logic and programming. Mathematical operations are usually simulated in dynamic language simulations such as Mat-Lab and Sci-Lab. These applications software are useful in the development of rapid prototypes for technical activities such as Engineering. Development of new mathematical and engineering programs in this project will be developed using Sci-Lab and Mat-Lab. Mat-Lab program was used to perform different mathematical tasks. Different codes were used for different operations as shown in the Appendices attached herein. The outputs of the programs are represented in the form of diagrams. The diagrams are also attached in the report. 

Table of Contents
Introduction
The Mat-Lab program is a very useful tool in solving mathematical problems. The program is not only used in Mathematics but also widely used in simulating engineering tasks. The use of this program has extremely made engineering productions easier than ever before. It is much easier to use the Mat-Lab and Sci-Lab as it requires one to also instruct the program codes. This area of study is very essential as it can enable a mathematician to transform mathematical calculations and operations into relevant form for use in an actual working environment (Haidekker 2013, p47). Both Mat-Lab and Sci-Lab display similar results but use different programming syntax (Wouwer, Saucez and Vilas 2014, p52). The choice of which program to use in simulation depends on the programmer’s knowledge and experience.
1.1. Scope
The scope of this project is to compare two programs, i.e., one in Matlab and the other in SciLab. It thus contains two scripts in each of the languages along with their outputs.
1.2. Objectives
The main aim of this project is to demonstrate the use of programming languages in the simulation of mathematical and engineering problem solutions.
2. Methods
The method used in this study is quantitative analysis using familiar mathematical and engineering problems and applying the variables and equations in the scripts (Campbell, Chancelier and Nikoukhah 2006, p38). The results are presented in plotted graphs as a summary of the simulated solutions.
2.1 Task 1: Calculation of velocities and accelerations
Task 1 involved programming of Mat-Lab and Sci- Lab programs. The programs are written for Mat-Lab and Sci- Lab are shown appendices 1 and 2 respectively. The outputs for the Mat-Lab and Sci-Lab for this task are shown in figures 1 and 2 respectively.
2.2 Task 2 Workshop operations.
Task 2 involved various workshop operations. Two workshops were conducted, i.e. Workshop 4 and Workshop 5, Workshop 6, Workshop 7, Workshop 8 and Workshop 9. These workshop operations involved different mathematical operations. For instance, in Workshop 4, a Mathematical operation is performed where the prices of houses are determined based on the area floor. The program for this operation is shown in Appendix 3.
In Workshop 5, displacement, velocities, and accelerations of a moving object were determined. The program for these workshop operations is as shown in Appendix 4. The software calculated the displacements, velocities, and accelerations using differentiation and integration methods. The outputs for differentiation and integration are as shown in figure 4 and figure 5 respectively. Also, a trapezoidal method was used to determine velocities. The result is shown in Figure 6.
In workshop 6, Mat-Lab demonstration of the derivative and trigonometric formula was done. The programs for these operations are as shown in Appendix 5. A plot of the results obtained is displayed in figure 7.
In Workshop 7, a mathematical operation involving Trial Number vs Percent Heads was carried out. The program for this operation is as shown in Appendix 6. The resulting histogram is shown in figure 8.
In Workshop 8, a program was used to generate two variables, station (mm) and displacement (mm). The data generated is shown in Appendix 7. The program then used the data generated to plot a graph as shown in figure 9.
In Workshop 9, a program was used to generate salaries of different staff members as shown in appendix 8. The software then plotted a graph of salary distribution as shown in figure 10.
Discussion
The project was successful in the analysis and demonstration of the possibility of programming mathematical solutions. Both Mat-Lab and Sci-Lab scripts worked successfully and the results. The codes used for the various operations are shown in the Appendix section. The outputs for the programs are shown in the diagrams attached.
Conclusion
In the project, the Mat-Lab and Sci-Lab programs worked successfully and showed that confirmed that indeed, Mathematical computations and Engineering problems can best be solved through programming. The solution displayed is the ultimate result, regardless of the software used in developing the script. In the future, more studies ought to be done to compare the results of more software programs to be used as alternatives.