Obtaining zeros of functions using Python
DOI:
https://doi.org/10.5902/2179460X40478Keywords:
Bissecção, Posição Falsa, Newton-RaphsonAbstract
HNumerical Methods are very important in Engineering because many real problems have complicated mathematical models that are difficult to be solved analytically. Thus, the methods of resolution for several problems that are studied in the discipline of Computational Numerical Methods, as well as in the discipline of Algorithms, are indispensable for the formation of a future Engineer. Among the several numerical methods that exist, the following are the methods for obtaining zeros of functions: Bisection, False Position and Newton-Raphson. The Bisection method consists of defining the range containing a root and, using the arithmetic mean, dividing it until the desired precision is reached. In the case of the False Position method, the weighted arithmetic mean is used to obtain the approximate root. Finally, although Newton-Raphson's method has faster convergence than the others, the drawback of this method is the need to use the derivative of the studied function. Thus, in some cases, this method may be impracticable. In this work, the methods mentioned will be implemented in the Python programming language. In this work, the mentioned methods are implemented in the Python programming language, in order to strengthen programming knowledge in the formation of Engineers, as well as to emphasize the importance of applying numerical methods in practical problems of various engineering areas.
Downloads
References
BURIAN R, LIMA A, HETEM A. Cálculo numérico. Rio de Janeiro: LTC, 2007.
CHAPRA C. Métodos numéricos aplicados com Matlab para engenheiros e cientistas, 3ª edição. Porto Alegre: AMGH, 2013.
FRANCO N. Cálculo numérico, Pearson Education, 2006.
ELISA H, MARCELO S, ROGÉRIO A, IVANETE S, LUCIANE S. Para Além da Computação Estatística: O uso do Ambiente R para o ensino de Métodos Numéricos rev. Renote [internet] v. 14, n. 1 (2016). Available from: https://seer.ufrgs.br/renote/issue/view/3640/showToc.
LEITE M. SciLab. Uma Abordagem Prática e Didática, Ciência Moderna, 2a edição, 2015.
MENEZES N. Introdução à Programação com Python, 3ed, São Paulo/SP: Ed. Novatec, 2019.
NAGAR N. Introduction to Octave: For Engineers and Scientists, Apress; Edição: 1st ed, 2017.
RUGGIERO M., LOPES V. Cálculo Numérico: Aspectos Teóricos e Computacionais, 2a edição. São Paulo: Pearson Education do Brasil, 1997.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2019 Ciência e Natura
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To access the DECLARATION AND TRANSFER OF COPYRIGHT AUTHOR’S DECLARATION AND COPYRIGHT LICENSE click here.
Ethical Guidelines for Journal Publication
The Ciência e Natura journal is committed to ensuring ethics in publication and quality of articles.
Conformance to standards of ethical behavior is therefore expected of all parties involved: Authors, Editors, Reviewers, and the Publisher.
In particular,
Authors: Authors should present an objective discussion of the significance of research work as well as sufficient detail and references to permit others to replicate the experiments. Fraudulent or knowingly inaccurate statements constitute unethical behavior and are unacceptable. Review Articles should also be objective, comprehensive, and accurate accounts of the state of the art. The Authors should ensure that their work is entirely original works, and if the work and/or words of others have been used, this has been appropriately acknowledged. Plagiarism in all its forms constitutes unethical publishing behavior and is unacceptable. Submitting the same manuscript to more than one journal concurrently constitutes unethical publishing behavior and is unacceptable. Authors should not submit articles describing essentially the same research to more than one journal. The corresponding Author should ensure that there is a full consensus of all Co-authors in approving the final version of the paper and its submission for publication.
Editors: Editors should evaluate manuscripts exclusively on the basis of their academic merit. An Editor must not use unpublished information in the editor's own research without the express written consent of the Author. Editors should take reasonable responsive measures when ethical complaints have been presented concerning a submitted manuscript or published paper.
Reviewers: Any manuscripts received for review must be treated as confidential documents. Privileged information or ideas obtained through peer review must be kept confidential and not used for personal advantage. Reviewers should be conducted objectively, and observations should be formulated clearly with supporting arguments, so that Authors can use them for improving the paper. Any selected Reviewer who feels unqualified to review the research reported in a manuscript or knows that its prompt review will be impossible should notify the Editor and excuse himself from the review process. Reviewers should not consider manuscripts in which they have conflicts of interest resulting from competitive, collaborative, or other relationships or connections with any of the authors, companies, or institutions connected to the papers.