摘要:
matlab代码 clcclearclose all;A = 0.4;B = 0.1;I = 0.4;S = 0.5; %odetspan = [0 50];y0 = [I S];[t, y] = ode45(@(t,y)odefun(t,y,A,B), tspan, y0);r = 1-y(:,1 阅读全文
摘要:
java代码(long需要改变) import java.util.Arrays; import java.util.Scanner; public class 大数乘法 { public static void main(String[] args) { Scanner in = new Scan 阅读全文
摘要:
java代码 import java.util.Scanner; public class Horspool { public static void ShiftTable(char[] p, int[] table){ for (int i = 0; i < 26; i++) { table[i] 阅读全文
摘要:
java代码 import java.util.Scanner; public class GaussianElimination{ public static void Input(int n, double[][] A, double[] b, int length){ Scanner in = 阅读全文
摘要:
java代码 compex类 public class Complex { private double a, b; public Complex(){ this.a = 0.0; this.b = 0.0; } public Complex(double a, double b){ this.a 阅读全文