This article mainly introduces the final exam questions and answers of Xi'an Petroleum University, which has a certain reference value, and friends who need it can refer to it. I hope that you will gain a lot after reading this article. Let the editor take you to understand it together.
Screenshot of locomotive collection ai pseudo-original plug-in:
Finite difference method for solving partial differential equations based on Python.doc
Finite Difference Method for Solving Partial Differential Equations Based on Python
(Key Laboratory of Photoelectric Oil and Gas Logging and Testing Ministry of Education, School of Electronic Engineering, Xi'an Shiyou University, Xi'an, Shaanxi 710065)
Abstract: The solution of partial differential equations is a key difficulty in many scientific and technological problems. With the continuous improvement of computer performance, numerical solutions can solve complex partial differential equations and graphically calculate how to effectively reduce weight papers . Compared with expensive scientific computing software, Python is a free object-oriented, dynamic programming language. The finite difference method has been widely used in solving partial differential equations because of its clear concept, simple and intuitive method. The article numerically solves the Laplace equation in the rectangular area, uses Numpy to calculate the finite difference method, uses Matplotlib to draw contours, and outputs the number of iterations and errors.
Key words: partial differential equation; Python; numerical solution; finite difference method
CLC number: TP3 Document code: A Article number: 1006-8228(2016)11-14-03
Python programmed finite difference method for solving partial differential equations
Wang Dengyue, Zhang Hongwei
(Xi'an Shiyou University, Electric Engineering College, Key Laboratory of Photo Electricity Gas and Oil Detecting of Ministry of Education, Xi'an, Shaanxi 710065, China)
Abstract: To solve the partial differential equat