By mastering the use of default and custom variables, you can perform complex computations and tailor the functionality of your calculators to meet specific needs. This article will guide you through the process of utilizing both default and custom variables in ActiveCalculator.
Understanding Default Variables
Default variables are automatically linked to your calculator's elements. For instance, a "number" element will have its value stored as a default variable. These variables are essential as they represent the basic data points of your calculator.
Creating and Using Custom Variables
Accessing the Formula Tab
To harness the full power of ActiveCalculator, you'll need to create custom variables. Begin by opening the specific calculator you wish to edit. Then, click on the "Formula" tab, where all the magic happens.
![Accessing the Formula Tab](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-1.png&w=1200&q=75)
Adding a New Custom Variable
In the formula tab, click on "Add custom variable".
![Adding a New Custom Variable](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-2.png&w=1200&q=75)
Here, you will enter a name for your variable in the 'Variable Name' field and define the variable field, which is how you'll reference the variable in your formulas.
![Entering Variable Name and Field](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-3.png&w=1200&q=75)
Writing Formulas Using Custom Variables
To add existing variables into your custom formula, type "@" to bring up a list of all available variables.
![Typing @ to Access Variables](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-4.png&w=1200&q=75)
You can then select the ones you need for your computation. When writing your formula, remember that ActiveCalculator supports mathjs syntax, allowing for a wide range of mathematical operations.
![Writing Formulas Using Custom Variables](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-5.png&w=1200&q=75)
Integrating Custom Variables into Results
Selecting the Result Element
After setting up your custom variable, you need to integrate it with your results. Select your result element and in the right question tab, look for the source variable dropdown.
![Selecting the Result Element](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-6.png&w=1200&q=75)
Assigning Custom Variables to Results
From the source variable dropdown, choose the custom variable you've just created. This will ensure that the result element displays the value calculated by your custom formula.
![Assigning Custom Variables to Results](/_next/image?url=%2Fmedia%2Fhelp%2Futilize-default-custom-variables%2Fstep-7.png&w=1200&q=75)
Saving Your Work
Once you've configured your variables and formulas, don't forget to save your work. Click the 'Save' button to apply the changes to your calculator. It's always a good idea to test your calculator to ensure the results are accurate and reflect your formulas correctly.
Conclusion
With these steps, you are now equipped to create and use custom variables in ActiveCalculator, opening up endless possibilities for complex calculations. Don't hesitate to experiment and refine your calculators to best serve your needs.
Troubleshooting and FAQs
If you encounter issues or have questions, refer to the troubleshooting section and FAQs for guidance. For additional support, ActiveCalculator's customer service team is always ready to assist.