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
{ | |
questions: [{ | |
text: "What does 'API' stand for?", | |
answer: "API stands for Application Programming Interface." | |
},{ | |
text: "What's so good about pragmatic REST?", | |
answer: "It's focused on the api consumer, so it makes it easier for developers to contribute to your app library!" | |
}] | |
} |
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
import numpy | |
import Gnuplot | |
def rainfall_intensity_t10(t): | |
return 11.23 * (t**(-0.713)) | |
def rainfall_intensity_t50(t): | |
return 18.06 * (t**(-0.713)) | |
g = Gnuplot.Gnuplot() |