Created
May 18, 2015 15:25
-
-
Save beli-sk/bd7f2a44c095af018751 to your computer and use it in GitHub Desktop.
Capacitor discharge plotted with gnuplot.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/gnuplot | |
U = 3.3 | |
I = 2.2e-3 | |
R = U/I | |
C = 10e-6 | |
t = 0.01 | |
set yrange [0:U] | |
set xrange [0:t] | |
plot U * exp(-x/(R*C)) | |
pause -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment