× Third party announcements.
If you want to share with others your project or applications, build with CT, you can do it here.

Question DMath: integral(Gauss-Legendre) and applied Physic

  • ekir
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
5 years 1 week ago - 5 years 1 week ago #9169 by ekir
DMath: integral by the Gauss-Legendre method and applied Physics
New project (instant CT, without libraries and other debris): Reserve of gas in the operating pipeline. Source code can be downloaded from the website -> Link .
The project is one of the tasks of applied gas dynamics is solved, but in practice, the proposed method allows to solve a wide range of problems with nonlinear multifactorial processes. The only condition - dependence must be using regression analysis (not necessarily polynomial) is transformed into a function of one variable.
The calculation is performed almost instantaneously, making it advisable to use automated control systems and large software systems that are critical to the use of computer time.
The problem is solved by the definite integral (function 'GausLeg' DMath module), the limited length of the pipeline.
Stages of solutions:
• Physical formula for ten control points (the entire length of the pipeline) are calculated pressure, temperature and gas volume per one kilometer running (since the length of the pipeline in the input data is given in kilometers);
• According to the control points is performed polynomial regression (polynomial of the third degree);
• The calculated number of polynomial processed by the 'GausLeg', which is the result - the desired value of gas reserves in the current pipeline.
The project is a demonstration, so its functionality is limited to the visualization of the results of regression analysis and display of the calculation of the final result. It's just a blank for later use in the application software. The source code is completely open and can be used by you without any restrictions.
Last edit: 5 years 1 week ago by ekir.
The following user(s) said Thank You: Sternas Stefanos

Please Log in or Create an account to join the conversation.