![]() The support for units is relatively conservative. It is used in dBm calculations.įrom the above example you can see that EC supports SI scale factors and units. Rref is a special variable that is set by default to 50 Ohms, but you canĬhange its value. Recall it, simply use the name: 0: 100MHz =freq To store a value into a variable, type an equal sign followed by a name. You remove a value from the bottom of the stack with pop: 0: 10 -3 stack The command name ytox is short for ‘raise value of y register to the value ![]() That are generally involved in operations and they are labeled x and y as anĪid to help you understand and predict the basic operation of various commands. Use stack to see the contents of the stack: 0: 1 2 3 4 5 stack Select operators can be entered without preceding them with a space if theyįollow a number or a name. The value of two parallel 100 ohm resistors): 0: 100Įffectively, you only need to type enter is when you want to see the result. Stack while the sum of 6 and 7 is computed, and finally it is used, andĪlternately, you can string a calculation over multiple lines (this calculates It firstĬomputes the sum and places the results on the stack. This command demonstrates the power of using a stack for calculations. You can string together an arbitrarily long calculation on a single line: 0: 4 5 + 6 7 + * X-register, which is generally the final result from the previous command. This command first pushes 4 onto the stack, then it pushes 5 on the stack, andįinally runs the addition operator, which pulls 4 and 5 off the stack and then Any intermediate results are stored on the stack until The operations are performed immediately and there is no use of parentheses to Operators then take numbers from the stack and replace them with the result. In particular, as you enter the numbers they are pushed onto the stack. To perform operations in EC, you first enter the numbers, then the operators. Once installed, you can get access the man page using: man ec A Brief Tour of Engineering Calculator Otherwise, you can install the latest version of the manpage on GitHub using: curl | bash. If you have installed from source, you can install the manpage with: cd doc To install: $ python setup.py install -user Once cloned, you can get the latest updates using: $ cd ec More information on both ec can be found on ReadTheDocs. Supports man pages, however you can download it from GitHub. This installs ec into ~/.local/bin, which should be added to your path. Install with: pip3 install -user engineering-calculator
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |