![]() * 1Įlement-wise exponentiation (right to left) List filtered by a function (assignment is allowed)įactorial of x: x * (x-1) * (x-2) *. List slice by an interval (0-based, assignment is allowed) List indexing (0-based, assignment is allowed) List literal (semicolons can be used as a shortcut for nested lists/matrices) SciCalc supports the most commonly used mathematical functions and arithmetic operators. If you have a script named "startup" (case sensitive), it will automatically run every time you launch the calculator. To delete a script, hover over the script and press "delete" on the right side of the list. You can also load saved scripts in code with the load function: load("your-script-name"). To run a script from your library, open the "Load." dialog from the menu, and choose the script to run from the list. You can also save a file from your computer into your library when you load it. In the "New Script" dialog, enter a script name (made up of numbers, letters, periods, hyphens, or underscores).Įnter the code to run when you load the script and save it. You can select the script you want to edit or press the "New" button to create a new script. ![]() To create a script, open the menu and select "Edit Library".Ī list of any existing scripts will appear. If The script library can be used to save commonly functions or variables so you don't have to keep typing them in every time you need them. The script will automatically be added to your library when it's loaded. To save the file to your library, check the box next to "Save to library as" and enter a name. If you plan to load the same file often, it can be useful to save it in your library to make it easier to find. To run code from a file on your computer, choose "Load." from the menu, open the file chooser under the "From a file" section, find your file, and press "Load". It's important thing to remember is that " e" stands for "times the-radix to the _ power", so #b101e100 is 5 * 2^4 not 5 * 10^100. Exponential notation is not allowed for hexadecimal though because it would be ambiguous (does #x3ef mean 3*256 + 14*16 + 15 or 3 * 16^15?). Fractional parts are allowed and the same rules for exactness apply. Numbers can be input in binary, octal, or hexadecimal by prefixing them with " #b", " #o", and " #x". You can "force" numbers to be either exact or inexact by prefixing them with " #e" and " #i" respectively. Complex numbers can also be either exact or inexact, but if either the real part or the imaginary part is inexact, the entire number will be considered inexact.Īny number with a decimal point or exponential notation is inexact by default. SciCalc supports several numeric types including integers and fractions, which are exact, and floating point numbers, which are considered inexact because not every real number can be represented. The "Clear History" button does exactly what its name suggests. Use the "Exact" and "Approximate" buttons to control whether answers should be exact (if possible) or approximate (i.e. You can also click on the input or answer. To copy a previous calculation from the history, use the arrow keys to select the calculation you want and press "enter" or "space" to copy the expression into the input area, replacing the current selection. Remember to separate statements with a semicolon. Just choose "Load." from the menu and choose a script to run. You can also run commands from a text file on your computer. If a calculation takes too long (for example, if you accidentally create an infinite loop), you can press the Escape key or click on the "=" button again to cancel the operation. Holding down shift will force the calculation into floating point ("approximate") mode. You can also just press the Enter key (or Ctrl-Enter when using the multi-line input). If there were no errors, the expression and the answer will appear at the top of the "history area. ![]() Enter an expression to calculate in the "input line" and press enter or press the "=" button. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |