Help talk:Calculation

From Wikipedia, the free encyclopedia

This is the discussion/talk page for: Help:Calculation.

Contents

[edit] Meta:Help:Calculation authors and history

(copied from there)

  • 09:54, 30 September 2006 contribs)| m (colon function -> parser function)
  • 11:33, 28 June 2006 contribs)| (→Error messages - LOL)
  • 11:24, 28 June 2006 contribs)| m (→Error messages - 4th level subst)
  • 11:22, 28 June 2006 contribs)| m (→Error messages - more subst)
  • 11:18, 28 June 2006 contribs)| m (→Error messages - manual subst)
  • 11:12, 28 June 2006 contribs)| m (→Error messages - experimental)
  • 10:30, 28 June 2006 contribs)| m (→Error messages - sharper INF limit)
  • 09:29, 28 June 2006 contribs)| m (→Error messages - 3.4.5.6)
  • 09:25, 28 June 2006 contribs)| (→Error messages - stack exhausted)
  • 02:28, 28 June 2006 contribs)| m (→Error messages - added nbsp to 2nd table)
  • 22:10, 27 June 2006 contribs)| (→Error messages)
  • 22:07, 27 June 2006 contribs)| (→Error messages)
  • 15:21, 27 June 2006 contribs)| (→Error messages)
  • 15:09, 27 June 2006 contribs)| (→Error messages)
  • 15:04, 27 June 2006 contribs)| (→Error messages)
  • 15:01, 27 June 2006 contribs)| (→Error messages)
  • 14:57, 27 June 2006 contribs)| (→Error messages - Errors without error message from the parser functions, which can be made using or attempting to use them:)
  • 14:54, 27 June 2006 contribs)| (→Error messages)
  • 09:05, 26 June 2006 contribs)| (→Error messages - restore errors which from a practical viewpoint are related)
  • 03:34, 26 June 2006 contribs)| (→Error messages - INF stuff should probably be elsewhere, accuracy (?), it also uses X2 and therefore won't work on Wikipedia)
  • 02:49, 26 June 2006 contribs)| (→Error messages - get readable examples, rm unrelated errors)
  • 09:14, 24 June 2006 contribs)| (→Error messages)
  • 09:09, 24 June 2006 contribs)| (→Error messages)
  • 09:02, 24 June 2006 contribs)| (→Error messages)
  • 09:00, 24 June 2006 contribs)| (→Error messages)
  • 08:50, 24 June 2006 contribs)| (→Error messages)
  • 08:48, 24 June 2006 contribs)| (→Error messages)
  • 08:44, 24 June 2006 contribs)| (→Error messages - trying to clarify)
  • 08:35, 24 June 2006 contribs)| (→Error messages)
  • 08:31, 24 June 2006 contribs)| (→Error messages - INF)
  • 03:04, 24 June 2006 contribs)| (→Error messages)
  • 03:02, 24 June 2006 contribs)| m (→Error messages - (1)(2))
  • 02:55, 24 June 2006 contribs)| (→Error messages - add bracket errors)
  • 02:17, 24 June 2006 contribs)| m (→Comparisons - restored "branching" from where it came ("length of" now covers the nit "ifexpr in expr"))
  • 02:14, 24 June 2006 contribs)| (→Branching depending on an expression - rm observation now integrated in "length of", move section back to from where it came)
  • 02:06, 24 June 2006 contribs)| m (→Error messages - cellspacing 0)
  • 02:01, 24 June 2006 contribs)| m (→Error messages - let two rows use ifexpr)
  • 01:58, 24 June 2006 contribs)| m (→Error messages - list is AFAIK complete)
  • 01:54, 24 June 2006 contribs)| (→Error messages - add % (operator in many languages including PHP))
  • 01:40, 24 June 2006 contribs)| m (→Error messages - nbsp in wrong row)
  • 01:34, 24 June 2006 contribs)| m (rm two empty lines)
  • 01:29, 24 June 2006 contribs)| (→Error messages - arranged as table)
  • 20:55, 23 June 2006 contribs)| (→Error messages)
  • 20:50, 23 June 2006 contribs)| (→Error messages - alphabetic)
  • 20:49, 23 June 2006 contribs)| (→Error messages)
  • 20:48, 23 June 2006 contribs)| (→Error messages)
  • 20:47, 23 June 2006 contribs)| (==Error messages==)
  • 14:02, 22 June 2006 contribs)| (→Operators - not only not not, all combos with not)
  • 07:42, 22 June 2006 contribs)| (→Operators - Blank spaces are good for readability but not needed for working properly, and within numbers not allowed:)
  • 20:01, 19 June 2006 contribs)| (→See also - rm evalp - not yet documented, very expensive (almost kills "week" templates), and can be a complete waste of time if used for intermediate results within expressions (not final output))
  • 18:55, 19 June 2006 contribs)| (→See also - *{{tim|evalp}} - allows error handling)
  • 18:48, 19 June 2006 contribs)| m (→Length of expressions)
  • 18:46, 19 June 2006 contribs)| (→Length of expressions - If the number of possible results of a long expression is small, a switch allows arbitrary conversion, including the absolute value and providing a leading zero, etc., wit)
  • 18:37, 19 June 2006 contribs)| (→See also - *Help:Modulo and round)
  • 18:26, 19 June 2006 contribs)| (→Length of expressions - Also providing a leading zero for the result of an expression if it is less than 10 doubles its length:)
  • 18:21, 19 June 2006 contribs)| (→Length of expressions)
  • 18:19, 19 June 2006 contribs)| (→Length of expressions - (The first has the advantage that for substitution one less "subst:" or <nowiki>{{{subst|}}}</nowiki> is needed.))
  • 18:13, 19 June 2006 contribs)| m (→Length of expressions)
  • 17:22, 19 June 2006 contribs)| m (→Branching depending on an expression)
  • 17:18, 19 June 2006 contribs)| (→Branching depending on an expression)
  • 17:15, 19 June 2006 contribs)| m (→Branching depending on an expression - fix link to new chapter)
  • 17:13, 19 June 2006 contribs)| (→Branching depending on a boolean expression - Move below new chapter)
  • 16:53, 19 June 2006 contribs)| (→Length of expressions)
  • 16:51, 19 June 2006 contribs)| m (→Length of expressions)
  • 16:48, 19 June 2006 contribs)| m (→Length of expressions)
  • 16:47, 19 June 2006 contribs)| (→Length of expressions)
  • 16:40, 19 June 2006 contribs)| (→Length of expressions)
  • 16:14, 19 June 2006 contribs)| (→See also - subst etc.)
  • 16:12, 19 June 2006 contribs)| m (→Comparisons)
  • 16:11, 19 June 2006 contribs)| (→Substitution - rm, it's always the same text with a link to Help:subst, note it in "See also")
  • 15:56, 19 June 2006 contribs)| m (→Branching depending on a boolean expression)
  • 15:54, 19 June 2006 contribs)| m (→Accuracy - evdn)
  • 15:53, 19 June 2006 contribs)| m (→Numbers as output - evdn)
  • 15:52, 19 June 2006 contribs)| m (→Numbers as input - evdn)
  • 15:29, 19 June 2006 contribs)| (→Operators - (mod and multiplication have equal precedence, evaluation from left to right))
  • 15:25, 19 June 2006 contribs)| (→Operators - (first mod, then multiplication))
  • 15:18, 19 June 2006 contribs)| (→Operators - (first mod, then additions))
  • 21:57, 17 June 2006 contribs)| (→Comparisons - evd table magic)
  • 07:54, 17 June 2006 contribs)| (→Operators - links)
  • 01:49, 15 June 2006 contribs)| m (→Operators - acceptable)
  • 01:44, 15 June 2006 contribs)| m (→Operators - plan B)
  • 01:37, 15 June 2006 contribs)| m (→Operators - don't ask)
  • 09:33, 13 June 2006 contribs)| m (→Branching depending on a boolean expression)
  • 09:29, 13 June 2006 contribs)| m (→Numbers as output)
  • 12:27, 9 June 2006 contribs)| (→Numbers as output - To avoid that, an expression ''x'' can be replaced by 0 + ( ''x'' ):)
  • 12:23, 9 June 2006 contribs)| (→Numbers as output - Timestamps without seconds are 12 digits, just short enough)
  • 16:15, 8 June 2006 contribs)| m (→Numbers as output - trim)
  • 16:09, 8 June 2006 contribs)| m (→Accuracy - add source for "normal")
  • 15:54, 8 June 2006 contribs)| (→Accuracy - trim macheps example)
  • 15:15, 8 June 2006 contribs)| m (→Numbers as output - =)
  • 15:13, 8 June 2006 contribs)| m (→Numbers as output - missing colon)
  • 15:02, 8 June 2006 contribs)| (→Numbers as output - add potential timestamp issue)
  • 04:03, 6 June 2006 contribs)| (→Numbers as input - Make sure that expr really refuses to eat its own output)
  • 03:55, 6 June 2006 contribs)| (→Numbers as input - exponential input format not allowed +/for expressions/ (okay for comparisons))
  • 03:51, 6 June 2006 contribs)| (→Comparisons - Oops, #ifeq: accepts eponential input unlike #expr:)
  • 03:30, 6 June 2006 contribs)| (→Comparisons - explain less obvious result)
  • 03:10, 6 June 2006 contribs)| (→Comparisons - show switch fall-thru + default)
  • 08:11, 5 June 2006 contribs)| (→Operators - (first additions, then round))
  • 07:35, 5 June 2006 contribs)| m (→Branching depending on the value of a boolean expression - fix fragment and excessively long section title)
  • 07:32, 5 June 2006 contribs)| m (→Substitution)
  • 07:31, 5 June 2006 contribs)| m (→Comparisons - fix fragments)
  • 07:23, 5 June 2006 contribs)| (→Comparisons - rm "ifeq demo", if that has a notable point I fauil to see it, and if it has a point it should be stated here)
  • 07:20, 5 June 2006 contribs)| (→Comparisons - replace T switch)
  • 06:44, 5 June 2006 contribs)| (→Numbers as output - trim)
  • 06:32, 5 June 2006 contribs)| (→Accuracy - reinsert "minus zero" above)
  • 06:31, 5 June 2006 contribs)| (→Minus zero - Trim and move to "output")
  • 06:24, 5 June 2006 contribs)| (→Comparisons - remove long table with irrelevant examples)
  • 06:20, 5 June 2006 contribs)| (→An expression in terms of the values of other expressions - Remove harmful abuse recipe)
  • 06:19, 5 June 2006 contribs)| (→Substitution - remove gibberish)
  • 06:17, 5 June 2006 contribs)| (→See also - remove crapy irrelevant templates)
  • 06:15, 5 June 2006 contribs)| (→See also - trim)
  • 14:29, 3 June 2006 contribs)| (→Minus zero - evaldemo)
  • 14:22, 3 June 2006 contribs)| m (→Comparisons - evaldemo)
  • 14:09, 3 June 2006 contribs)| (→Accuracy - evaldemo/2)
  • 13:53, 3 June 2006 contribs)| (→Numbers as output - evaldemo/23 (hardcore))
  • 13:39, 3 June 2006 contribs)| m (→Numbers as output - evaldemo)
  • 13:18, 3 June 2006 contribs)| m (→Operators - evaldemo)
  • 13:06, 3 June 2006 contribs)| m (→Operators - temp save)
  • 12:49, 3 June 2006 contribs)| m (→Operators - evaldemo (begin))
  • 12:35, 3 June 2006 contribs)| m (→Numbers as input - try evaldemo)
  • 12:26, 3 June 2006 contribs)| (→Accuracy - test new evaldemo)
  • 12:09, 3 June 2006 contribs)| m (→Accuracy - typo)
  • 11:58, 3 June 2006 contribs)| (→Accuracy - confirm 16 and 12 (highlighted))
  • 11:46, 3 June 2006 contribs)| m (→Accuracy - trim)
  • 11:42, 3 June 2006 contribs)| m (→Accuracy - section title should be INaccuracy)
  • 11:30, 3 June 2006 contribs)| m (→Accuracy - okay, maybe only a cache issue on my side, pray)
  • 11:29, 3 June 2006 contribs)| (→Accuracy - depends on something used before this section (F*CK))
  • 11:24, 3 June 2006 contribs)| (→Accuracy - add macheps)
  • 05:43, 3 June 2006 contribs)| m (→Numbers as output - rm csnos)
  • 23:40, 2 June 2006 contribs)| (→Minus zero - If the result of rounding a negative number is zero, the result is "-0". To avoid that, note that for such an expression ''x'', 0 + ( ''x'' ) does not gives "0".)
  • 23:28, 2 June 2006 contribs)| (→Minus zero - If the result of rounding a negative number is zero, the result is "-0". To avoid that, add 0.)
  • 09:17, 2 June 2006 contribs)| (→Numbers as output)
  • 11:35, 31 May 2006 contribs)| (→Substitution - Help:Creating a page on the fly)
  • 03:17, 26 May 2006 contribs)| m (→Operators - not 30+7 as on ParserFunctions)
  • 23:30, 22 May 2006 contribs)| (→Branching depending on the value of a boolean expression - simpler (this is demo of #ifexpr, not of "not 0" and "not 3", etc.))
  • 18:02, 22 May 2006 contribs)| m (→Branching depending on the value of a boolean expression)
  • 17:59, 22 May 2006 contribs)| m (→Branching depending on the value of a boolean expression)
  • 17:53, 22 May 2006 contribs)| (→Comparisons - table instead of "see edit box")
  • 17:32, 22 May 2006 contribs)| (→Branching depending on the value of a boolean expression - +example)
  • 17:09, 22 May 2006 contribs)| (fix pref in lead section to state of the art (but I never tested AND vs. OR))
  • 22:17, 21 May 2006 contribs)| (→Numbers as output)
  • 22:13, 21 May 2006 contribs)| (→Numbers as output - See {{tim|evalint}} for producing output of large integers in non-scientific notation.)
  • 22:07, 21 May 2006 contribs)| (→Numbers as output)
  • 22:00, 21 May 2006 contribs)| (→Operators - example showing precedence: not 4 mod 2)
  • 16:03, 21 May 2006 contribs)| (→Operators - Of course I meant MOD, it's horrible)
  • 15:49, 21 May 2006 contribs)| (→Operators - add strong warning to DIV, putting it mildly it's broken)
  • 15:46, 21 May 2006 contribs)| (→Operators - add simple "div" example, also showing that the mod preference was wrong (fixed))
  • 15:09, 21 May 2006 contribs)| (→Operators - improve "round" examples)
  • 14:57, 21 May 2006 contribs)| (→Operators - Found compelling example for NOT, state that MOD is unrelated to math "molulo" by example, state that DIV is unrelated to MOD)
  • 14:36, 21 May 2006 contribs)| m (→Operators - show that NOT has higher pecedence than subtraction (best I can do at the moment))
  • 14:33, 21 May 2006 contribs)| m (→Operators - unary +/- really before * (the NOT example is not yet compelling))
  • 14:27, 21 May 2006 contribs)| (→Operators - unary + like unary -)
  • 14:26, 21 May 2006 contribs)| m (→Operators - trim)
  • 14:24, 21 May 2006 contribs)| (→Operators - Logical not shifted to unary (highest precedence))
  • 14:17, 21 May 2006 contribs)| (→Operators - improved (?) "none by rowspan=2 colspan=2)
  • 13:49, 21 May 2006 contribs)| m (→Operators - fixed div + unary)
  • 13:44, 21 May 2006 contribs)| (split table from lead section (because I'll try to prettify it, maybe join it again later))
  • 12:12, 20 May 2006 contribs)| (→Numbers as input)
  • 12:00, 20 May 2006 contribs)| (→Numbers as output)
  • 11:52, 20 May 2006 contribs)| (→Numbers as output)
  • 15:16, 12 May 2006 contribs)| (sorry, wrong button)
  • 15:15, 12 May 2006 contribs)| m (Reverted edits by Omniplex to last version by Patrick)
  • 15:02, 12 May 2006 contribs)| (→Substitution - rm 2777 spam and vandalism on numerous help pages)
  • 14:23, 12 May 2006 contribs)| m (another missing "m:")
  • 14:10, 12 May 2006 contribs)| (Abuse 5678 as feature should be speedy deleted. Besides the braces weren't balanced. Many missing "m:" added.)
  • 11:36, 12 May 2006 contribs)| (→An expression in terms of the values of other expressions)
  • 11:28, 12 May 2006 contribs)| (→An expression in terms of the values of other expressions)
  • 11:23, 12 May 2006 contribs)| (→An expression in terms of the values of other expressions)
  • 11:19, 12 May 2006 contribs)| (→An expression in terms of the values of other expressions)
  • 11:03, 12 May 2006 contribs)| (→An expression in terms of the values of other expressions)
  • 10:46, 12 May 2006 contribs)| (→An expression in terms of the value of another expression)
  • 10:46, 12 May 2006 contribs)| (→An expression in terms of the value of another expression)
  • 07:23, 11 May 2006 contribs)| (→String comparisons)
  • 07:14, 11 May 2006 contribs)| (→String comparisons)
  • 07:12, 11 May 2006 contribs)| (→String comparisons)
  • 10:31, 10 May 2006 contribs)| (→String comparisons)
  • 09:31, 9 May 2006 contribs)| (→String comparisons)
  • 09:30, 9 May 2006 contribs)| (→String comparisons)
  • 09:27, 9 May 2006 contribs)| (→String comparisons)
  • 09:22, 9 May 2006 contribs)| (→String comparisons)
  • 09:06, 9 May 2006 contribs)| (→String comparisons)
  • 08:48, 9 May 2006 contribs)| (→Branching depending on the value of a boolean expression - involving numbers and booleans (not strings).)
  • 08:37, 9 May 2006 contribs)| (→String comparisons)
  • 08:27, 9 May 2006 contribs)| (→String comparisons)
  • 08:22, 9 May 2006 contribs)| (→String comparisons)
  • 08:19, 9 May 2006 contribs)| (→String comparisons)
  • 08:14, 9 May 2006 contribs)| (→String comparisons)
  • 08:10, 9 May 2006 contribs)| (→String comparisons)
  • 08:01, 9 May 2006 contribs)| (→String comparisons)
  • 11:47, 8 May 2006 contribs)| (→Numbers - nested use of #expr may fail in cases where the same composite computation with a single #expr works.)
  • 10:29, 3 May 2006 contribs)| m (→Substitution)
  • 10:22, 3 May 2006 contribs)| m (→Substitution)
  • 10:21, 3 May 2006 contribs)| (→Substitution - :''See also: '''Help:Substitution'''.'')
  • 10:20, 3 May 2006 contribs)| m (→Substitution)
  • 09:43, 1 May 2006 contribs)| (subst, mainly from ParserFunctions)
  • 08:11, 1 May 2006 contribs)| (→Commas - In <nowiki>{{NUMBEROFARTICLES|R}}</nowiki> and <nowiki>{{NUMBEROFFILES|R}}</nowiki>, "|R" ("raw") produce numbers without delimiters.)
  • 08:00, 26 April 2006 contribs)| (→String comparisons - Note that string comparisons can also be used for numeric comparisons, provided that notations like 3 and 3.0 are not mixed.)
  • 07:57, 26 April 2006 contribs)| (→String comparisons)
  • 07:52, 26 April 2006 contribs)| (→String comparisons)
  • 07:43, 26 April 2006 contribs)| m (→String comparisons)
  • 07:33, 26 April 2006 contribs)| (==String comparisons==)
  • 07:24, 26 April 2006 contribs)| (The <tt>expr</tt> function evaluates numerical expressions, and also boolean expressions involving numbers and booleans (not strings). The)
  • 07:12, 26 April 2006 contribs)| (not for string comparisons)
  • 08:41, 23 April 2006 contribs)| (If a number uses point delimiters every three digits (as in continental Europe) and the number is an integer below one million, removing the point can be done by multiplying by 1000.)
  • 07:53, 23 April 2006 contribs)| (→Numbers - move para down, example)
  • 09:28, 20 April 2006 contribs)| (→See also - *{{tim|csn}} - separates digits of an integer in groups of three.)
  • 08:32, 20 April 2006 contribs)| (rm old sections (before ParserFunctions existed))
  • 07:17, 20 April 2006 contribs)| (copied from ParserFunctions)
  • 05:42, 20 April 2006 contribs)| (→See also - *w:en:Category:Conversion templates)
  • 23:54, 14 April 2006 contribs)| (With the WikiMedia extension ParserFunctions one can do computations.)
  • 19:42, 15 July 2005 contribs)| (*simple computations)
  • 22:35, 12 April 2005 contribs)| m (Reverted edits by 220.227.242.215 to last version by Patrick)
  • 21:02, 20 September 2004 contribs)| (restore example with new template name)
  • 19:30, 20 September 2004 contribs)| (Remove incorrect example to talk.)
  • 15:17, 8 July 2004 contribs)| (Alternatively, the user has to follow the link to see the result. Using template:pd is convenient and there is no redundancy, hence no worry about consistency:)
  • 14:28, 8 July 2004 contribs)| (Suppose that someone updates the population figure but bot the density, than the next person can see that the density is not based on the latest figure, follow the link, replace the first number by it)

[edit] From Meta:Help talk:Calculation

[edit] Suggestion: Wiki based interactive math

I have a vision of a wiki project on interactive web based math. From wikipedia articles, the user should find interactive free tools that achievies web based calculation, visulization, simulation, modelling and symbolic math. A commercial software such as Maple, Matlab and MathCAD should not be required for running computer simulations.

Where is the appropriate place to discuss this?

Application examples that I have in mind:

  • Web based unit conversion: When reading an article about for example Celcius, the user should be able to access a tool where he can enter a temperature in a field or using a slide control, and convert it between Fahrenheit, Kelvin, Celcius and Rankine.
  • Web based formula calculation: When reading any wikipedia article about a math formula, the user should be able to enter numerical values of the parameters and get numerical results. Sometimes a certain interactive tool page may be designed for the formula, where controls such as text boxes, radio buttons, slide bars, etc, can be found. There should also be a generic way to calculate any formula found in wikipedia, for example by accessing a tool from the background menu, or by copying the formula into some kind of mathematical sandbox or private notebook web page.
  • Web based interactive plots: In plots, the user should be able to elaborate with different parameter values and generate new plots.
  • Web based animation: Models of dynamic processes may be visualized by means of plots with an aditional time dimension, i.e. by animations. Examples are math formulas with a time dimension, but also electrical circuits, physical phenomena, etc.
  • Web based stochastic simulation: It should be possible to visualize the behaviour of models of stochastic processes, for example queuing theory applications such as computer networks, that change their behaviour on a time-to-time scale.
  • Web based algorithm simulation: It should be possible to run algorithms documentet by flow charts, signal flow charts, or mathematical style pseudo code, in view to test it for certain values, and to visualize the behaviour.
  • Web-based component-based graphical programming and modelling: Users should be able to build complex system models by linking and interconnecting various wiki objects, for example math formulas, algorithms, scripts, lock-up tables, software components, electrical circuit models, plots, and interactive controls into their own wiki documents. Each entity may be graphically represented by a block in a flow chart, state-flow diagram, signal/data flow diagram, UML diagram, etc, and the user may copy and paste such blocks between models. In some cases, a commercial tool may be required to design a block, but not to utilize it in a model. The model may be published on a wiki server, publically or on a private note page. It may also be saved and run locally using some freeware software. This resembles the old mathCad/MathConnex commercial software, where OLE linking and embedding was used to interconnect various math blocks, for example mathcad formulas and pseudo code scripts, matlab functions, Excel scheats, spice models of electrial circuits, etc.
  • Web based simulation of dynamic systems. Similar to Simulink models.
  • Web based symbolic math: The user should be able to elaborate algebraically with formulas in for example wikipedia. See for example MathCAD.
  • Web based audio and video processing: The user should be able to apply various algorithms on his own recorded sound, video and documents.

The calculations should normally be carried out at the client side, to relieve the wiki web server from load. However, in some cases it might be interesting that the server generates a "cashed" version of a plot or an animation, for some common parameter cases.

In computer simulation, distributed computing is important, and sometimes we want to distribute the model over different machines. Different blocks and/oror different parameter cases, may be simulated on different machines. The distributed computing may be carried out by a local computer cluster, or by a worldwide peer-to-peer network of users sharing each others capacity. A web based user interface for controlling the distributed computing is also a vision.

To achieve efficient computer simulation, there should be means of controlling cashing, look-up tables, etc. Only changed values should be recalculated, as in a spread-sheet document or in MathCAD.

Mange01 17:53, 20 June 2007 (UTC)