Tail Lights For Mitsubishi Lancer Tail Lights For Mitsubishi Lancer,Mitsubishi Lancer Brake Light Bulb,Evo X Tail Lights,Lancer Tail Lights Wenzhou Yecheng Auto Parts Co., Ltd. , https://www.hcmotionz.com
Data input module design C language provides some input functions, such as scanf function, but there are some problems in the direct use of software, such as scanf function will appear because the input format is wrong, and stop the program running, multi-line input, modify It is also very inconvenient. In order to overcome these shortcomings and facilitate the input of data, a data input module is designed in the software. The module is mainly composed of a self-programming function, which accepts the user's character input in the strip area set on the screen, and converts the received characters into a double-precision value; can realize multi-line full-screen editing, and can input Judgment of the rationality, when the input data is not within the specified range, the user can be prompted to re-enter.
Design parameter table and line drawing processing The design and calibration of aerospace gears use a large number of parameter tables and line graphs, so it is necessary to solve the problem of storing and retrieving various charts in the computer. In this design, interpolation and polynomial fitting are mainly used. There are many interpolation algorithms for the interpolation calculation table of the number table. The linear interpolation method is simple to calculate, but the error is large. The Lagrangian n-degree polynomial interpolation will have distortion when the value of n is large. After repeated research and debugging, a segmented parabolic interpolation method that is both simple and ensures accuracy is used in this design, which is briefly described below.
Let the function y=f(x) correspond to the function values ​​of y0, y1, y2 for the given three nodes x0, x1, and x2. Where yi=f(xi). Find a quadratic polynomial y(x)=a0 a1x a2x2 so that it satisfies y(xi)=yi,i=0,1,2. This interpolation is called parabolic interpolation. The second Lagrangian interpolation polynomial is: L2(x)=E2j=0F2i=0iXj(x-xj)(xj-xi)yi When interpolating, the value of the value of the inserted node x should be in the number table. Select the three nodes closest to the value of x and their function values ​​for calculation, ie y(x)=Ek 2j=kyjFk 2i=kiXj(x-xj)(xj-xi) where:k=0x|x-xi- 1|n-2x>xn-1 A function was programmed in this design to perform this function.
The formulation formula of the number table formula processing table is to use the curve fitting method in the calculation method to form a function y=f(x) to approximate the function relationship of the number table. There is a function table xx0x1x2, xnyy0y1y2, yn where yi=f(xi)i=0,1,2,,,n find an m(
The program flow chart of the material selection module, when the material is selected, qy1 represents the pinion 1 number, and qy2 represents the large gear number, which can be directly used in future design calculations. Since the material cannot be displayed on one screen on the screen, it is divided into two pages. Use the PgUp and PgDn keys to display the page display data. Press the Enter key to select the material. The selected small wheel material number will be automatically selected. Assigned to the variable qy1, the big wheel material number is assigned to the variable qy2. The performance data of the selected material is displayed on the screen. If you are satisfied, you can carry out the next calculation. If you are not satisfied, you can re-select it. Press ESC to return to the degree. main menu. The material selection module is made into a separate file, which is included in the project file. Each time the gear design is performed, the module is called to select the material.