Performance analysis of arithmetic algorithms implemented in C++ and Python programming languages

2016 ◽  
pp. 026-031
Author(s):  
A.K. Novokshonov ◽  

This paper presents the results of the numerical experiment, which aims to clarify the actual performance of arithmetic algorithms implemented in C ++ and Python programming languages using arbitrary precision arithmetic. "Addition machine" has been chosen as a mathematical model for integer arithmetic algorithms. "Addition machine" is a mathematical abstraction, introduced by R. Floyd and D. Knuth. The essence of "addition machine" is the following: using only operations of addition, subtraction, comparison, assignment and a limited number of registers it is possible to calculate more complex operations such as finding the residue modulo, multiplication, finding the greatest common divisor, exponentiation modulo with reasonable computational efficiency. One of the features of this implementation is the use of arbitrary precision arithmetic, which may be useful in cryptographic algorithms.

Author(s):  
Seung-Man Lee ◽  
Wi-Young So ◽  
Hyun-Su Youn

This study assessed the health perceptions of 333 Korean adolescents during the coronavirus disease (COVID-19) pandemic via an online questionnaire administered in October 2020, which queried the perceived importance and actual performance of health behaviors. The health perception scales used in the survey consists of the six dimensions of mental health, disease, physical activity, sleep, diet, and sanitary health. The data were primarily analyzed using paired sample t-test for analysis of difference and importance-performance analysis (IPA). The IPA results were presented in four quadrants—“keep up the good work,” “concentrate here,” “low priority,” and “possible overkill.” The results indicated that first, there was a positive relationship between the importance and performance of all the subdimensions of health perception. Second, sanitary healthcare was rated as being of the greatest importance and was performed most, while physical activity management was rated least important and performed least. Third, statistically significant differences were found between importance and performance for all items of mental health, disease, physical activity, sleep, and diet dimensions, and some differences were found for items assessing the hygiene control dimension. Fourth, in the two-dimensional IPA model, “sanitary health” and “disease” are in Quadrant I (keep up the good work); “mental health,” in Quadrant II (concentrate here); and “physical activity,” “sleep,” and “diet,” in Quadrant III (low priority). No components of healthcare were in Quadrant IV (possible overkill). Based on these results, we emphasize the importance of adolescent health education and discuss solutions to enhance the performance of healthcare activities.


2019 ◽  
Vol 9 (2) ◽  
pp. 14-20
Author(s):  
Mădălina Viorica ION (MANU) ◽  
◽  
Ilie VASILE ◽  

This paper inventories some of the essential traits of the software preferred by researchers, students and professors, such as R or RStudio, or Matlab and also their possible utilizations. In order to fill the gap in the Romanian literature and help finance students in choosing proper tools according to the research purpose, this comparative study aims at bringing a fresh, useful perspective in the relevant literature. In Romania, the use of R was the focus of several international conferences on official statistics held in Bucharest, and others having business excellence, innovation and sustainability as purpose. In this time, at global scale, R and Python programming languages are considered the lingua franca of data science, as common statistical software used both in corporations and academia. In this paper, I analyze basic features of such software, with the purpose of application in finance.


e-xacta ◽  
2019 ◽  
Vol 12 (1) ◽  
pp. 29
Author(s):  
Rodrigo Perlin ◽  
Ricardo Tombesi Macedo ◽  
Sidnei Renato Silveira

Ao analisar os esforços para apoiar os processos de ensino e de aprendizagem de algoritmos e lógica de programação, encontram-se estudos envolvendo a aplicação de diferentes ferramentas, tais como o Scratch e o Algo+. Além disso, existem trabalhos que propõem uma reorganização dos conteúdos e a aplicação de metodologias de ensino inovadoras. Nesse contexto, este artigo propõe uma abordagem para apoiar os processos de ensino e de aprendizagem de algoritmos e lógica de programação baseada na teoria construtivista, utilizando a ferramenta P.e.p.y, a qual implementa o conceito de gamificação. Para validar essa proposta, bem como a ferramenta desenvolvida, foi realizado um estudo de caso. A aplicação dos instrumentos no início e no final do estudo de caso, apontam percentuais elevados de compreensão dos conceitos de lógica de programação e da linguagem de programação Python. Os resultados apontam que a aplicação da ferramenta auxiliou os alunos a desenvolver o pensamento computacional, uma área que vem sendo estimulada pela SBC (Sociedade Brasileira de Computação) e que a abordagem proposta estimula os processos de ensino e de aprendizagem por meio da ferramenta P.e.p.y. AbstractBy analyzing efforts to support learning process applied to logic and programming courses, there are studies involving the employment of different tools, such as Scratch and Algo+. Besides, there are works proposing the content reorganization and the employment of innovative teaching methodologies. In this context, this paper proposes an approach to support algorithms learning process based on constructivist theory through the use P.e.p.y tool, which implements the gamification concept. In order to validate this proposal, as well as the implemented tool, it was performed a case study. The instruments application in the beginning and in the end of the case study indicates elevated perceptual of comprehension of logic and Python programming languages concepts. Results indicate that the tool application supported students to develop the computational thinking, a field highly stimulated by the SBC, the Brazilian Computing Society, and that the proposed approach stimulates the learning processes through the P.e.p.y tool employment. 


2011 ◽  
Vol 317-319 ◽  
pp. 1999-2006
Author(s):  
Yu Wan ◽  
Ai Min Du ◽  
Da Shao ◽  
Guo Qiang Li

According to the boost mathematical model verified by experiments, the valve train of traditional gasoline engine is optimized and improved to achieve extended expansion cycle. The simulation results of extended expansion gasoline engine shows that the extended expansion gasoline engine has a better economic performance, compared to traditional gasoline engines. The average brake special fuel consumption (BSFC) can reduce 22.78 g / kW•h by LIVC, but the negative impacts of extended expansion gasoline engine restrict the potential of extended expansion gasoline engine. This paper analyzes the extended expansion gasoline engine performance under the influence of LIVC, discusses the way to further improve extended expansion gasoline engine performance.


2020 ◽  
Author(s):  
M. T. Nitsas ◽  
I. P. Koronaki

Abstract The objective of this paper is the thermodynamic analysis of a solar powered Organic Rankine Cycle (O.R.C.) and the investigation of potential working fluids in order to select the optimum one. A dynamic model for a solar O.R.C. with a storage tank, which produces electricity is developed. The mathematical model includes all the equations that describe the operation of the solar collectors, the storage tank, the Rankine Cycle and the feedback between them. The model runs for representative days throughout the year, calculating the net produced energy as a function of the selected evaporation temperature for every suitable working fluid. Above that, the temporal variation of the systems’ temperatures, collectors’ efficiency and net produced power, for the optimum organic fluid and evaporation temperature are presented.


Author(s):  
Y. Sanath ◽  
K. De Silva ◽  
Peter Hugh Middleton ◽  
Mohan Kolhe

Author(s):  
Yingxu Wang ◽  
Jian Huang

Software patterns are recognized as an ideal documentation of expert knowledge in software design and development. However, its formal model and semantics have not been generalized and matured. The traditional UML specifications and related formalization efforts cannot capture the essence of generic patterns precisely, understandably, and essentially. A generic mathematical model of patterns is presented in this article using real-time process algebra (RTPA). The formal model of patterns are more readable and highly generic, which can be used as the meta model to denote any design patterns deductively, and can be translated into code in programming languages by supporting tools. This work reveals that a pattern is a highly complicated and dynamic structure for software design encapsulation, because of its complex and flexible internal associations between multiple abstract classes and instantiations. The generic model of patterns is not only applicable to existing patterns’ description and comprehension, but also useful for future patterns’ identification and formalization.


Author(s):  
Kamorudeen B. Abidogun ◽  
Mohamed S. Al-Ghamdi ◽  
Adel Al-Ali ◽  
Khalid Al-Yousef

In-house developed centrifugal compressor performance software was customized for PETROKEMYA (an affiliate of SABIC) Olefins III cracked gas compressor (CGC), the heart of ethylene plant. The software provides live performance analysis of the machine by calculating, per section, polytropic efficiency, polytropic head, and gas power using Lee-Kesler equation of state. Gas analysis is read online to reflect the minute changes in the composition on the calculated parameters. Actual operating parameters are plotted continuously and compared to the performance curves in order to predict possible performance deterioration before it becomes too late. Such information is useful in determining future maintenance requirements based on the actual performance of the machine rather than the traditional time-based maintenance. Moreover, it ensures proper timely action through optimization of wash oil or other chemical injection to help minimize fouling accumulation rate and maximize production and machine availability. Features are introduced to enable performance analysis of the compressor since commissioning to be carried out by click of a button, providing useful information for upgrading and troubleshooting. Unlike its commercially available counterpart with write-protected restrictions, the software is easily modified for additional features that are of interest to Engineers. Features planned for the future include adding intelligent system capability for predicting performance deterioration severity, auto-notifying agents etc. Performance evaluation of a 45 MW, five section process gas compressor before and after turnaround (T/A), clearly revealed the fouling prediction capability of the software.


Sign in / Sign up

Export Citation Format

Share Document