共查询到19条相似文献,搜索用时 109 毫秒
1.
在中学数学教学内容中,应用一元二次方程求根公式计算一元二次方程的根和应用高斯主元素消去法计算线性方程组的解是一部分具有机械计算性的程式化的单元,很适合用C语言编写其计算程序,连接合并按照结构化思路设计编写的二个通用计算C程序。 相似文献
2.
Keil C51程序设计中几种精确延时方法 总被引:1,自引:0,他引:1
实际的单片机应用系统开发过程中,由于程序功能的需要,经常编写各种延时程序,延时时间从数微秒到数秒不等,对于许多C51开发者特别是初学者编制非常精确的延时程序有一定难度.本文从实际应用出发,讨论几种实用的编制精确延时程序和计算程序执行时间的方法,并给出各种方法使用的详细步骤,以便读者能够很好地掌握理解. 相似文献
3.
向雪松 《电脑编程技巧与维护》1997,(9):50-51
现在许多游戏都是基于DOS4GW的保护模式的程序,用WATCOM C/C++就能编写这种程序。本文介绍了怎样用WATCOM C/C++编写显示真彩色BMP的程序。 1.怎样编写基于DOS4GW的程序 编写基于DOS4GW的程序,需要WATCOMC/C++的32位的DOS编译器,一般9.0以上的版本中就有。WATCOM C/C++与MSC基本上是兼 相似文献
4.
遗传编程用计算机程序模拟自然选择过程,从而实现了让计算机自动解决问题,具有广泛的应用前景.尝试用高级C 语言来实现GP(Genetic Programming),并给出了以Visual C 编写的程序的运行结果. 相似文献
5.
C8051F340与Labview基于API的USB通信 总被引:2,自引:0,他引:2
论述C8051F340单片机和Labview软件编写的GUI程序之间,通过USBXpress开发套件提供的API实现USB通信的具体方法和程序流程.本文介绍的方法可快捷、高效地实现C8051F340单片机与Labview编写的GUI程序之间的USB通信. 相似文献
6.
7.
8.
分析了Windows屏幕保护程序的特点,给出用Borland C OWL编写屏幕保护程序的方法. 相似文献
9.
10.
应用Matlab解决常用DEA模型的评价分析 总被引:1,自引:0,他引:1
阐述多种常用的DEA评价模型,利用矩阵形式表述模型结构,应用Matlab对这些模型的评价程序进行编写.使常用的DEA评价问题可以通过Matlab软件解决,有效地解决了DEA循环计算导致的计算量大和复杂的问题.编写的程序分别为传统DEA-CCR模型及其对偶模型、BCC模型、最劣CCR模型和超效率DEA,为以后的DEA评价问题和模型改进提供了便利. 相似文献
11.
郑一 《计算机应用与软件》2003,20(8):96-96,F003
本文获得了方程的求根公式及其根的级数展开式,并得到了求根的算法,同时,建立了求根问题的一个新方法——函数零点和方程根公式表示法。 相似文献
12.
L. Yu. Ferdigalov 《Cybernetics and Systems Analysis》2004,40(4):617-624
The paper deals with the solution of an equation that describes a particular case of the flow of the ideal liquid in which the vorticity is proportional to the flow function. To solve the equation, two methods are used, namely, the finite-difference method and a method based on the Hermite formula. The results of solution of model problems by both methods are presented and compared. 相似文献
13.
研究了一类非中心对称的Lienard多项式系统的稳定性和分支问题。利用一阶Melnikov函数和Picard-Fuchs方程法,得到了Hopf分支、同宿分支以及二重闭轨分支的存在条件和分支曲线计算公式,在此基础上,结合数值方法给出了各种分支的分支图和相轨线结构。 相似文献
14.
针对已知两端点处位矢和切矢的空间曲线定弧长插值问题,构造了C1连续的三次PH曲线。通过四元数运算描述空间曲线切矢的变化,将曲线分成两段进行插值。利用PH曲线可以精确计算弧长的优势,实现了给定曲线弧长,简单快速地插值出空间曲线,并且论证了所提曲线插值方法的控制方程解的存在性。最后,通过算例验证了该方法在实现空间曲线定弧长插值方面的有效性和实用性。 相似文献
15.
T. A. Val'kevich Yu. V. Kapitonova A. A. Letichevskii 《Cybernetics and Systems Analysis》1995,31(6):779-792
Conclusion An L2B-L2C optimizing compiler has been developed for compiling the procedural subset of the interpreted untyped language
APLAN of the algebraic programming system APS into C. Controlled automatic compiling of procedures is regarded as a technological
step toward efficient solution of problems in an algebraic programming environment. A distinctive feature of the compiler
is that optimization is initiated by the user and relies on hierarchical algebraic specifications. If no specifications are
present, the system guarantees compilation consistent with common APLAN semantics.
The compiler is formally described on two levels. On the architectural level, we describe the general structure of the compiling
process. The main data structures used for optimization are dictionaires of algebraic program components and expression type
arrays. The semantic level of multialternative compiling of language constructs is represented in the language of relationships
with selection of an appropriate translation alternative.
The implementation of the proposed compiler requires a flexible support environment, which allows nonhomogeneous processing
of an extended source language, in particular construction of static and dynamic information environments, compilation of
the procedural part, and also analysis of the compiling environment, definition of the set of translations of procedural constructs,
and selection of the best translation alternative for each particular case. An implementation of the proposed compiler is
described in [13].
Translated from Kibernetika i Sistemnyi Analiz, No. 6, pp. 3–16, November–December, 1995. 相似文献
16.
《Journal of Symbolic Computation》2000,29(1):79-82
We give a formula for the general solution of a d th-order linear difference equation with constant coefficients in terms of one of the solutions of its associated homogeneous equation. The formula neither uses the roots of the characteristic equation nor their multiplicities. It can be readily generalized to the case where the domain of the difference equation is the real numbers, and the initial values are given by a function defined on the interval [0,d ). In both cases, we express the general solution of the difference equation in terms of a single solution of its associated homogeneous equation at integer arguments. 相似文献
17.
18.
L. Yu. Ferdigalov 《Cybernetics and Systems Analysis》2001,37(5):764-769
Based on the Hermite formula, a numerical method for solution of a heat transfer equation is described. Expressions are given for computation of the coefficients of the Hermite formula from free parameters. The use of the method is illustrated by an example of solution of a model problem. 相似文献
19.
We define a generalized solution of an initial-boundary value problem for a linear system of differential equations with one ordinary differential equation and two partial differential equations (a hybrid system of differential equations). We prove that the problem is well-posed and has a unique generalized solution. An analytical formula for the solution is found. Such systems of differential equations arise in studying discrete-continuum mechanical systems. 相似文献