This file contains hidden or 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
| //@author @tiagoamx | |
| // Clear the contents of the iframe after being loaded | |
| $("#iframeid").contents().find("body").html(""); |
This file contains hidden or 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
| class Solution: | |
| # @return a list of integers | |
| def getRow(self, rowIndex): | |
| if rowIndex<0: | |
| return None | |
| result=[0]*(rowIndex+1) | |
| result[0]=1 | |
| for i in range(1,len(result)): | |
| result[i]=1 |
This file contains hidden or 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 matplotlib.pyplot as plt | |
| dt = 0.01 | |
| x = 4 | |
| r = 2 | |
| k = 2 | |
| def dx(t,x): | |
| return r*x*(1-x/k) |