搜索资源列表
C
- C库函数大全 数学函数,所在函数库为math.h、stdlib.h、string.h、float.h 目录函数,所在函数库为dir.h、dos.h -Daquan mathematical function of the C library functions, where the library is math.h, stdlib.h, string.h float.h. Catalog functions where library dir.h, dos.h
sysconvert
- 进制间的转换,顶顶顶,大学期间的作品,经供参考-#include<stdio.h> #include<math.h> int main(){ int b,c,i,j int d[10000] char a[37]={ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q
exe
- 求三角形面积 判断三角形的种类以计算面积-#include<stdio.h> #include<math.h> main() { double a,b,c,p,S,i printf("Input a,b,c\n") scanf(" lf lf lf",&a,&b,&c) if(a+b>c&&a+c>b&&b+c>a){ p=(a+b+c)/2 S=sqrt((p-a)*(p-b)*(p-c)
exam04
- #include <windows.h> #include <gl/gl u.h> #include <gl/glut.h> #include <math.h>-This is based on opengl development in the VS configuration environment can be used after the
exam2-3
- #include <windows.h> #include <gl/gl u.h> #include <gl/glut.h> #include <math.h>-# Include <windows.h># Include <gl/gl.h># Include <gl/glu.h># Include <gl/glut.h># Include <math.h>
xiangmu1
- 判断三边是否能构成三角形 如果是的话并求周长面积-#include <stdio.h> #include <math.h> void main() { int a,b,c double p,s printf("请输入三角形的三边长:") scanf(" d, d, d",&a,&b,&c) if ((a+b>c&&a-b<c)==1) { p=(a+b+c)/2 s=sqrt(p*(p-
Erlangcalculator-VCPP
- 用MATLAB实现ERLANGB计算器 #include "stdafx.h" #include "ErlangCalculator.h" #include "ErlangCalculatorDlg.h" #include "afxdialogex.h" #include "math.h" #ifdef _DEBUG #define new DEBUG_NEW #endif -Using MATLAB ERLANGB calculator# inc
rom
- 用Romberg算法计算定积分 #include <stdio.h> #include <math.h> #define MAX 10 double func(double a) { double y if (a == 0) return y = 1 else return y = 4/(1+a*a) //return y = pow(a,2) }-Romberg algorithm computes
NewTon
- Newton迭代法,用Newton迭代法求方程,(内附题目) #include<stdio.h> #include<math.h> #define N 100 #define PS 1e-4 #define TA 1e-4 float Newton(float (*f)(float),float(*f1)(float),float x0 ) { float x1,d=0 int k=0 do { x1= x0-
LU
- LU分解法解线性方程组(内附题目) #include "math.h" #include "stdio.h" #define n 4 int LU(double (*a)[n])-LU decomposition method for solving linear equations (containing title)# include " math.h" # include " stdio.h" # define n 4 int LU (
inverter_10kw_SPWM
- 10kw2808三相SPWM,已调试,可以输出三相对称SPWM波形-#include "DSP280x_Device.h" // DSP280x Headerfile Include File #include "DSP280x_Examples.h" // DSP280x Examples Include File #include "math.h" #include "IQmathLib.h" // Prototype statements for functio
shiayn
- 量不要让站长把时间都料的详细功能、包含内花费在为您修正说明-#include <stdio.h> #include <math.h>
Nnext
- c++实现N后问题——算法分析 #include<iostream> #include "math.h"-After the realization of N c++ problems- algorithm analysis
lesson-baosheng
- 19264点阵字幕翻滚程序C51,//#pragma src 实现上翻滚的好程序20131221 #include<REG52.H> #include<math.h> #include<INTRINS.H> #define Uchar unsigned char -19264 C51 lattice subtitles rolling program.//#pragma src 实现上翻滚的好程序20131221
STM32-HX8352A
- STM32 刷屏显示图片 #include "GUI.h" #include "LCD_ConfDefaults.h" #include <math.h> #include <stdlib.h> -STM32 refresh display pictures# include " GUI.h" # include " LCD_ConfDefaults.h" # include <math.h># Inc
CAISESHIZHONG
- 彩色时钟#include<math.h> #include<dos.h> #include<graphics.h> #define CENTERX 320 #define CENTERY 175 #define CLICK 100 #define CLICKDELAY 30 #define HEBEEP 10000 #define LOWBEEP 500 #define BEEPDELAY 200 int Mrk_1[8
PID-algorithm
- C 语 言 描 述 P I D 算 法 程 序 #include <C8051F020.H> #include <string.h> #include <math.h> //void PIDInit(PID *PP) -C language descr iption of the program of the PID algo
wenduji
- 温度计量以单片机为主控器设计一个数字温度计,用于温度的测量和显示。用A/D转换器,将模拟信号物理量(温度值)转换为二进制数值。-#include<reg51.h> //包含单片机寄存器的头文件 #include<intrins.h> //包含_nop_()函数定义的头文件 #include <absacc.h> #include <math.h>
Desktop
- #include<stdio.h> #include<math.h> main() { int i,x scanf(" d",&x) for(i=2 i<=x-1 i++) if(x i==0) printf("NO\n") for(i=2 i<=x/2 i++) for(i=2 i<=sqrt(x) i++) } 第十行不加冒号时出错信息为: C:\Documents and Settings\w
math
- 松瀚单片机代码,数学乘除算法。比较常用,除法可能有bug,仅供参考。-s o n i c. m a t h .A S M . D I V .