Runge-Kutta+Method 源代码

汇集 Runge-Kutta+Method 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。

收录资源 500 份 全站深度检索
源码文件

#include #include #include #include #include #include #include int sgn(double x) { int temp; if(x>0)temp=1; …

源码文件

#include "iostream.h" #include "math.h" rungekutta(double h, double xstart, double y, double xend) { double x = xstart, k1,…

源码文件

#include #include #define n 100 double h,k1,k2,k3,k4; double y[n]={0},x[0]={0}; void init() { FILE *f; f=fopen("rk…

源码文件

#ifndef HNN_H #define HNN_H #define NULL 0 #include #include "Gantt.h" /*---------------------------------------------…

源码文件

% exp7_2.m --- 二阶 R-K 法 function try_myode2 % 下面的例题就 P187 实验课题(三)(3) 书上有精确解可对比 a = 0; b = 1; n = 10; Y0 = [1,1,-1]'; [x…

源码文件

#include #include float f(float x,float y) { float f,f2,f3; f=y-2*x/y; return f; } main() { int n,N; floa…

源码文件

function newx =LordynO(x,u,v,t,par) %For the fourth-order Runge-Kutta below I used delta = .01 %.167 below comes from delta/6 …