代码搜索:伏安法
找到约 10,000 项符合「伏安法」的源代码
代码结果 10,000
www.eeworm.com/read/470124/6924893
c 中断法.c
//-----------------------函数声明,变量定义------------------------------------------
#include
#define KEY P2
sbit INT_0 =P3^2; // 将p3.2外部中断0
unsigned char key_code,scan,num; //键值
www.eeworm.com/read/470124/6924897
hex 中断法.hex
:10011B00C0F9A4B0999282F880908883C6A1868E8C
:05014A0012013780FBEB
:080141007F147EF8DEFEDFFAF8
:010149002293
:0A013700C288D2A8D2AF75A00F2233
:0300030002009B5D
:10009B00C0E0C0F0C083C082C0D075D0087
www.eeworm.com/read/469288/6980140
txt 进退法.txt
#include "jtf.c"
main()
{double x0[]={0};
double s[]={1};
double a[1],b[1];
jtf(x0,0.1,s,1,a,b);
printf("a[]=%f,b[]=%f\n",a[0],b[0]);
getch();
}
#include "stdio.h"
#include "stdlib.h"
#
www.eeworm.com/read/466339/7033983
cpp 回溯法.cpp
/*
以深度优先的方式系统地搜索问题的解的算法称为回溯法
它适用于解一些组合数较大的问题
*/
/*
在用回溯法搜索解空间树的时候,通常采用两种策略来避免无效搜索,提高回溯法的搜索效率
。其一是用约束函数在扩展结点处剪去不满足约束的子树,其二是用限界函数剪去不能得到最
优解的子树。这两类函数统称为剪枝函数。
运用回溯法的三个步骤:
(1)针对所给问题,定义问题的解空间
(2)确 ...
www.eeworm.com/read/465228/7059662
m 进退法.m
%进退法
clear
fun=inline('x^2-7*x+10');
a=-50 ; %a的初始值
h0=1 ; %步长值
e=0.00000001
x=a;h=h0;
y1=fun(x);
flag=0;t=0;
while flag==0
y2=fun(x+h);
while y2
www.eeworm.com/read/450798/7476735
c 排序法.c
#include
#include
struct node
{
int key;
}r[20];
struct rnode
{
int key;
int point;
};
main()
{
void print(struct node a[20],int n);
int creat();
void shell
www.eeworm.com/read/450363/7485128
c 追赶法.c
#include
#define N 10
void main()
{
float a[N],b[N],c[N],f[N];
int i,n,j;
printf("input n:");
scanf("%d",&n);
printf("input a:\n");
for(i=2;i
www.eeworm.com/read/449819/7496108
cpp 梯形法.cpp
#include
#include
#define Pi 3.1415926535//给圆周率赋值
int n=1;//分段数
double InterGra(int);//定义函数积分
double Fun(double);//定义被积分函数
void main()
{
cout
www.eeworm.com/read/449694/7498036
c 排序法.c
#include
#include
struct node
{
int key;
}r[20];
struct rnode
{
int key;
int point;
};
main()
{
void print(struct node a[20],int n);
int creat();
void shell
www.eeworm.com/read/443751/7624304