#include #include #include void main() { float t0; float tend; float dt; float t; float value; float pulse(); float *vector(); float *x; float *y; float a1, a2, t1, t2, mu1, mu2; x = vector(1,2); t0 = 0; tend = 100; dt = 1; x[1] = 6; x[2] = 5; scanf("%f %f %f %f %f %f", &a1, &a2, &t1, &t2, &mu1, &mu2); x[1] = mu1; x[2] = mu2; t = t0; do { t = t + dt; value = a1*pulse(x,t-t1)+ a2*pulse(x,t-t2); printf("%f %f\n", t, value); } while (t