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
| # Install Chocolatey | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; | |
| Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); | |
| # Upgrade Chocolatey | |
| choco upgrade chocolatey | |
| # List outdated packages |
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
| # needrestart - Restart daemons after library updates. | |
| # | |
| # This is the configuration file of needrestart. This is perl syntax. | |
| # needrestart uses reasonable default values, you might not need to | |
| # change anything. | |
| # | |
| # Verbosity: | |
| # 0 => quiet | |
| # 1 => normal (default) |
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
| (* Requires package: PlotsOfClosedForms.m, see https://github.com/kolosovpetro/AnEfficientMethodOfSplineApproximation*) | |
| f1[X_] := X^7; | |
| f2[X_] := P[3, X, 50]; | |
| absError[X_] := Abs[f1[X] - f2[X]]; | |
| relativeError[X_] := absError[X]/ Abs[f1[X]]; | |
| percentError[X_] := relativeError[X]*100; | |
| (* Generate the table with step 0.1 *) | |
| step = 0.1; |
OlderNewer