首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 109 毫秒
1.
在中学数学教学内容中,应用一元二次方程求根公式计算一元二次方程的根和应用高斯主元素消去法计算线性方程组的解是一部分具有机械计算性的程式化的单元,很适合用C语言编写其计算程序,连接合并按照结构化思路设计编写的二个通用计算C程序。  相似文献   

2.
Keil C51程序设计中几种精确延时方法   总被引:1,自引:0,他引:1  
实际的单片机应用系统开发过程中,由于程序功能的需要,经常编写各种延时程序,延时时间从数微秒到数秒不等,对于许多C51开发者特别是初学者编制非常精确的延时程序有一定难度.本文从实际应用出发,讨论几种实用的编制精确延时程序和计算程序执行时间的方法,并给出各种方法使用的详细步骤,以便读者能够很好地掌握理解.  相似文献   

3.
现在许多游戏都是基于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.
本文深入浅出地阐述了C语言连接和处理Oracle数据库系统的Pro★C程序,结合作者实践经验,举例说明如何编写、编译和运行Pro★C程序.  相似文献   

7.
介绍了羽毛质量检测仪的设计方案检测原理,并且对其主要部件进行了简要介绍,硬件部分以STC12C5410AD单片机为例,介绍了它的AD模数转换功能和MODBUS通信协议,软件部分通过利用VC编写操作界面,对触发触摸屏采集到的信号进行实时监控.给出了用STC12C5410AD单片机C语言编写的部分通信程序,以及部分VC程序,在实际应用中羽毛质量检测仪,数据传输稳定可靠,适合于检测产品的形状及弯曲程度等.  相似文献   

8.
分析了Windows屏幕保护程序的特点,给出用Borland C OWL编写屏幕保护程序的方法.  相似文献   

9.
TMS320C54X系列DSP上FFT运算的实现   总被引:1,自引:4,他引:1  
在电子设备中数字信号处理技术越来越多地得到应用,而FFT运算是数字信号处理技术的基石,FFT运算主要由DSP来完成,DSP的FFT运算程序的编写是一项重要工作,但FFT算法程序的编写调试费时费力.TI公司提供了以TMS320C54x系列芯片为基础的DSPLIB库函数,包含FFT运算,使在TMS320C54x系列芯片上进行FFT运算变得容易,本文就DSPLIB函数库进行介绍并就使用方法进行详细说明.  相似文献   

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.
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.
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.
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.
骨架驱动的快速似然弹性变形   总被引:4,自引:0,他引:4  
宋超  张宏鑫  黄劲  鲍虎军 《计算机学报》2006,29(12):2194-2200
为能实现骨架驱动弹性体的快速变形,提出了一种新方法,它是通过构造和求解扩散微分方程,从骨架采样点旋转得到单元的旋转特征向量,进而得出旋转四元数经验预测公式直接构造计算域内单元旋转场.实验结果表明,文中的模拟系统在静力学模拟中,避免了繁琐的变形子步划分,提高了计算速度.在动力学模拟中,允许使用更大的求解时间步长,增强了变形系统的求解稳定性.同时,对于骨架关节点区域变形的模拟,较大程度地降低了用户的干预,取得了合理的效果.  相似文献   

18.
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.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号