#include <stdio.h>
#include <math.h>
int main(void) {
double E = 5, R = 1000, C = 0.1e-6, t, I;
for (t = 0.0000; t < 0.001; t = t + 0.0001) {
I
= E
/ R
* exp(-t
/ (C
* R
)); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgppbnQgbWFpbih2b2lkKSB7CiAgICBkb3VibGUgRSA9IDUsIFIgPSAxMDAwLCBDID0gMC4xZS02LCB0LCBJOwogICAgCiAgICBwcmludGYoInRcdElcbiIpOwogICAgZm9yICh0ID0gMC4wMDAwOyB0IDwgMC4wMDE7IHQgPSB0ICsgMC4wMDAxKSB7CiAgICAgICAgSSA9IEUgLyBSICogZXhwKC10IC8gKEMgKiBSKSk7CiAgICAgICAgcHJpbnRmKCIlZlx0JWZcbiIsIHQsIEkpOwogICAgfQogICAgCiAgICByZXR1cm4gMDsKfQo=