Windows.Forms.DataVisualization.Charting;diploma
{class RungeKutt_Investment
}System;System.Collections.Generic;System.Linq;System.Text;System.Windows.Forms.DataVisualization.Charting;
diploma
{class RungeKutt
{tetta; k1 (double h, double x, double y)
{(h * realization.f (x, y, tetta));
}
k2 (double h, double x, double y)
{(h * realization.f (x + h / 2, y + k1 (h, x, y) / 2, tetta));
}
k3 (double h, double x, double y)
{(h * realization.f (x + h / 2, y + k2 (h, x, y) / 2, tetta));
} k4 (double h, double x, double y)
{(h * realization.f (x + h, y + k3 (h, x, y), tetta));
} void runge_kutt (List list_results, int t, int last, int first)
{y0=realization.A0, x0=0; h=(last - first) / t; (int i=0; i
{(x0
}
}
void Steps (List list_results, int t, int last, int first, double y0)
{x0=first; h=(last - first) / t; (int i=0; i
{(x0
}
}
}
}System;System.Collections.Generic;System.Linq;System.Text;System.Windows.Forms.DataVisualization.Charting;
diploma
{class charts
{tetta=0; void A1 (double a, double t, double A0, double I0, Chart C, double t0, double alfa)
{. Series [«Series1»]. Points.Clear (); (int i=0; i <= t; i + +)
{(i
}
} void A2 (double a, double beta, double t, double A0, Chart C, double t0, double alfa)
{. Series [«Series2»]. Points.Clear (); (int i=0; i <= t; i + +)
{(i
}
} void A3 (double a, double beta, double B, double t, double A0, Chart C, double t0, double alfa)
{. Series [«Series3»]. Points.Clear (); (int i=0; i <= t; i + +)
{(i