Task ma-1: Input a formula and see it
This task describes the simple input of a polynomial within the formulæ, their preview in the web-browser, and the usage of their added value presentation
Prerequisite:
Task steps
- open jEditOQMath and an OQMath file there, e.g. first.oqmath within the collection you now have
- find a
CMP element inside there, that is, find the place in the text right after <CMP> (maybe with a language attribute)
- inside there, but not between two $ signs, we can now insert our expression, click to put the cursor
- input
$
- input the formula, for example
x^3+3/x^5+3x^2
- close the math expression by inserting
$ again
save your file (press the pen or invoke C-S)
click the AntFarm tab on the left
- select collection, ActiveMath Publishing build file, press the running man, wait till it says `BUILD SUCCESSFUL
- go to your web browser and there to your ActiveMath
- open the book Complete Recbook
- see the item you just enriched there
if you do not find it, redo the steps after doing the task cont-2
you can now hover with your mouse around this polynomial and let the sub-term and tooltips be shown
- if you do not see the tooltips, you have probably been reported a reference error, that is, the symbols are not referenced explicitly enough
- go back to jEditOQMath, find, towards the top of your file, the start of the
theory element, put your cursor there right after it
- invoke OQMath > Generate Imports, this will take a bit of time then will insert a few lines with suggested imports (and warnings for ambiguity)
now go back to your book page, see the polynomial with the tooltups
you can click on a sub-term, see the term popup and click Search for term (only using Mozilla family of browsers)
- your item should appear as one of the results of the search, you may need to Generalize to all items, close the search tool
- in ActiveMath book page, invoke Tools > Function Plotter
an applet pops-up with a graph pop-up
hovering back on your formula, click again to get the term-menu
- invoke Drag term
- a yellow box is drawn around the term, drag it into the window of the plotter applet, on the applet
- the plotter should now display the graph of your function as well as the (reformulated) function
task ma-1: video of math input and enjoy
This video follows the task ma-1.
You can also download this video (8Mb), e.g., to provide to VLC.