Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Comparison of three numerical implementation of the formula for the partial sum of a geometric series | |
# when ratio equals (or is close to) one. | |
# See https://math.stackexchange.com/questions/4288069/formula-for-the-partial-sum-of-a-geometric-series-when-ratio-equals-one | |
from math import expm1, log1p | |
def SN_def(a,N): | |
return sum(a**n for n in range(N)) | |
def SN_form(a,N): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<mxfile host="Electron" modified="2021-07-19T10:24:03.119Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.6.13 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36" etag="CDG5akxwugxlUMQvqCN3" version="14.6.13" type="device"><diagram id="Ig-QWzCFrPFKFMDAhXfC" name="Page-1">7Vxbd6M2EP41nNM+2AeEDfZjNol3t03a9GS33fZNBmFrA4gKObb311cSEubmmMT4sl3nIYZBGoTmm/kGjWzDvo5W7ylM5vfER6EBTH9l2DcGAJbj2vxDSNZKMh64mWRGsa9kG8Ej/oaU0FTSBfZRWmrICAkZTspCj8Qx8lhJBikly3KzgITluyZwhmqCRw+Gdelf2GdzJbWc8ebCB4Rnc3XrEVDPF0HdWD1JOoc+WRZE9q1hX1NCWHYUra5RKGZPz0vWb7Llaj4wimLWpsNyGU/Wd+k/nz892uDL6Btc9YKerezzDMOFemI1WrbWU4B8PiPqlFA2JzMSw/B2I31HySL2kbiPyc82be4ISbjQ4sKviLG1Mi9cMMJFcxaF6mpAYjaBEQ4FTD7GDFElfCQL6ok+c8a4xcHQvuL/+DOKf6JB2p8RMgsRTHDa90gkL3ipbDoJMpX8MFdanzU1kam+07ap0uiDdIbYS1OatROzVriBssl7RCLEKB+TSVEIGX4u4wwquM7ydhuL8gNl1NcYeFgzsI8CHHOfarLzHZxyDy7ZBoZ4FvNjD6kpfEaUYe4hV+pChH0/gwFK8Tc4lfoEEBKCuYGE8uE7Y3izzc51k7wMVX57tDIanF/duuRfpSlXvXpm33KtQdZXBSYF+9ZGUcofxCMWNIOS0kp/EgQph07VpPkAm6z8OUX09+lXEdqAGWbWybzUCZkwF |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <Wire.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_TSL2561_U.h> | |
Adafruit_TSL2561_Unified tsl = Adafruit_TSL2561_Unified(TSL2561_ADDR_FLOAT, 12345); | |
void displaySensorDetails(void) | |
{ | |
sensor_t sensor; | |
tsl.getSensor(&sensor); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder