#include <stdio.h>
int main(void) {
// your code goes here
#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;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCgkjaW5jbHVkZSA8c3RkaW8uaD4KI2luY2x1ZGUgPG1hdGguaD4KCmludCBtYWluKHZvaWQpIHsKICAgIGRvdWJsZSBFID0gNSwgUiA9IDEwMDAsIEMgPSAwLjFlLTYsIHQsIEk7CiAgICAKICAgIHByaW50ZigidFx0SVxuIik7CiAgICBmb3IgKHQgPSAwLjAwMDA7IHQgPCAwLjAwMTsgdCA9IHQgKyAwLjAwMDEpIHsKICAgICAgICBJID0gRSAvIFIgKiBleHAoLXQgLyAoQyAqIFIpKTsKICAgICAgICBwcmludGYoIiVmXHQlZlxuIiwgdCwgSSk7CiAgICB9CiAgICAKICAgIHJldHVybiAwOwp9CgoJcmV0dXJuIDA7Cn0K