all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* In GNU Emacs Calc embedded mode, how to simplify unit N/m^2 to Pa
@ 2013-05-15  3:31 Sharad Shrestha
  2013-05-15 13:26 ` Jay Belanger
  0 siblings, 1 reply; 4+ messages in thread
From: Sharad Shrestha @ 2013-05-15  3:31 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

In GNU Emacs (v24.3.1) Calc embedded mode, I'd like to perform unit simplification such that (5 N / 2 m^2) gives the result 2.5 Pa (where 1 Pa = 1 N/m^2). But I am unable to get the unit N/m^2 converted to Pa. I have the following entries before unit simplification:

\begin{equation}    
%%% a := 5 * N %%%
a \gets 5 N
\end{equation}

\begin{equation}
%%% b := 2 * m^2 %%%
b \gets 2 m^2
\end{equation}

\begin{equation}
%%% c := a / b => 2.5 * N / m^2 %%%
\evalto c \gets \frac{a}{b} \to \frac{2.50 N}{m^2}
\end{equation}

The value of "c" I am expecting after unit simplification is:

\begin{equation}
%%% c := a / b => 2.5 * Pa %%%
\evalto c \gets \frac{a}{b} \to 2.50 Pa
\end{equation}

My "Units Table" contains the following entry:

Unit    Type  Definition                  Description

 Pa       U   \frac{N}{m^2}               Pascal

Thank you for your help.

Regards,
Sharad


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-17  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  3:31 In GNU Emacs Calc embedded mode, how to simplify unit N/m^2 to Pa Sharad Shrestha
2013-05-15 13:26 ` Jay Belanger
2013-05-17  2:10   ` Sharad Shrestha
2013-05-17  2:49     ` Jay Belanger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.