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
/* Sample JavaScript file added with ScriptTag resource. | |
This sample file is meant to teach best practices. | |
Your app will load jQuery if it's not defined. | |
Your app will load jQuery if jQuery is defined but is too old, e.g. < 1.7. | |
Your app does not change the definition of $ or jQuery outside the app. | |
Example: if a Shopify theme uses jQuery 1.4.2, both of these statements run in the console will still return '1.4.2' | |
once the app is installed, even if the app uses jQuery 1.9.1: | |
jQuery.fn.jquery => "1.4.2" | |
$.fn.jquery -> "1.4.2" | |
*/ |
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
Q for N = | |
1: -------------- | |
2: 0.57735026919 | |
3: -------------- 0.691046625825 | |
4: 0.805538281842 0.521934581669 | |
5: -------------- 0.916477373948 0.563535620851 | |
6: 1.02331395383 0.611194546878 0.510317824749 | |
7: -------------- 1.12625754198 0.660821389297 0.5323556979 | |
8: 1.22566942541 0.710852074442 0.559609164796 0.505991069397 | |
9: -------------- 1.32191158474 0.76061100441 0.589406099688 0.519708624045 |