Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7615

Mantaining the same form

From Miguel Gil <misvrne@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Mantaining the same form
Date 2012-01-07 10:16 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <je9624$iqs$1@smc.vnet.net> (permalink)

Show all headers | View raw


At a function in which one parameter is an expression "expr", Mathematica 8.0 evaluates or simplifies the value of "expr" when it is introduced.
How is that Mathematica keep the same form of the "expr" introduced?.

Example:

In []: MyFunction [expr_]: = expr;
MyFunction [(Sin [2x], Tan [y]) / (x * Sec [y]^2)]

Out []: (Cos [y]^2 (Sin [2x], Tan [y]) / x

I want to get the same expression (Sin [2x], Tan [y]) / (x * Sec [y]^2)

Clearly, the input expression and modified expression are equivalent, but are not equal. 
For example, if we were to apply the rule of L'Hopital or the theorem Schwarz  the results would be erroneous.

Thanks

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Mantaining the same form Miguel Gil <misvrne@gmail.com> - 2012-01-07 10:16 +0000
  Re: Mantaining the same form Chris Young <cy56@comcast.net> - 2012-01-09 08:21 +0000
    Re: Mantaining the same form "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-10 11:04 +0000
    Re: Mantaining the same form Peter Breitfeld <phbrf@t-online.de> - 2012-01-10 11:05 +0000
  Re: Mantaining the same form Bob Hanlon <hanlonr357@gmail.com> - 2012-01-10 11:05 +0000
  Re: Mantaining the same form Christopher Young <cy56@comcast.net> - 2012-01-11 09:23 +0000

csiph-web