logo       

Re: Representing derivatives in plain-text content MathML input languages: msg#00063

Subject: Re: Representing derivatives in plain-text content MathML input languages
As a side note, here are the links to the matlab symbolic toolbox -

http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/

http://www.mathworks.com/products/symbolic/demos.html

look at the documentation on differential equations, Creating Symbolic
Variables and Expressions , and Several Differential Equations

On 11/20/06, Andrew Miller <ak.miller-1/NbpDiVQt6SYBAHRPvY1A@xxxxxxxxxxxxxxxx> 
wrote:
> Hi all,
>
> I have been developing a plain-text input language for the content
> MathML in CellML documents (so that it can be efficiently edited by users).
>
> I am seeking opinions on the best way to represent derivatives
> (including partials) in the input language.
>
> I have discussed this with the CellML team at the meeting today, and
> several options were suggested. I would welcome opinions on which of
> these options is the best, and I would also be keen to hear if you can
> think of another different but better representation in input languages.
>
> All examples refer to the representation of the following content MathML:
> <apply><eq/>
>   <apply><diff/>
>     <bvar><ci>t</ci></bvar>
>     <ci>x</ci>
>   </apply>
>   <ci>y</ci>
> </apply>
>
> Option one:
>   Representation: diff(x, t) = y.
>   Advantages:
>    * Succinct.
>    * Follows the same syntax as functions in the rest of the language,
> so makes it less complex and easier to understand.
>    * Easily generalises to partial differentials by replacing diff with
> partialdiff or pdiff.
>   Disadvantages:
>    * Non-obvious to new users: does diff mean differential, difference, ...?
>    * It is unclear to the user what the ordering of x after t means,
> i.e. which is the bound variable, so you just have to remember that the
> second 'argument' is the bound variable.
>
>
> Option two:
>   Representation: deriv(x, t) = y
>   Similar advantages as option one, but also:
>   Advantages:
>   * Slightly less potential for confusion.
>   Disadvantages:
>   * Slightly longer.
>
> Option three:
>   Representation: differential(x, t) or derivative(x, y)
>   Similar advantages as option one, but also:
>   Advantages:
>   * Clearer meaning.
>   Disadvantages:
>   * Longer. UIs could simplify input of this by tab-expansion or
> type-ahead features.
>
> Option four:
>   Representation: d(x)/d(t)
>   Advantages:
>   * Similarity to Leibniz notation (arguably more clear meaning)
>   * Clear distinction between the bound variable and the expression that
> the differential is being applied to.
>   Disadvantages:
>   * Syntax is inconsistent with the rest of the grammar.
>   * It incorrectly suggests that differentials could be moved around,
> while in reality it is a limited syntax for derivatives.
>   * Extending it to partial differentials could look messy and
> confusing, e.g. del(x)/del(t) .
>
> Any opinions are welcome.
>
> Best regards,
> Andrew Miller
>
> _______________________________________________
> cellml-discussion mailing list
> cellml-discussion-+N4dcC6UsuQdnm+yROfE0A@xxxxxxxxxxxxxxxx
> http://www.cellml.org/mailman/listinfo/cellml-discussion
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe