Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Treating units as positive constants?

  • To: mathgroup <mathgroup at yoda.physics.unc.edu>
  • Subject: Re: Treating units as positive constants?
  • From: HAY at leicester.ac.uk
  • Date: Sun, 1 NOV 92 22:29:31 GMT

Dan:
 
Are these any help 
(1)
F[xxxxx, Sqrt[meter^2],yyyyy]//PowerExpand
F[xxxxx, meter, yyyyy]
(2) Could be loaded ahead of need.
$Post = PowerExpand;
F[xxxxx, Sqrt[meter^2],yyyyy]
F[xxxxx, meter, yyyyy]
Or, to restrict the range of application.
$Post = (#/.Sqrt[meter^2] -> meter)&;
F[xxxxx, Sqrt[meter^2],yyyyy]
F[xxxxx, meter, yyyyy]
Allan

Allan Hayes
hay at leicester.ac.uk





  • Prev by Date: Re: Treating units as positive constants?
  • Next by Date: Re: Listable vs. Thread
  • Previous by thread: Re: Treating units as positive constants?
  • Next by thread: Re: Treating units as positive constants?