help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a list with calc modes for calc embedded?


From: Ypo
Subject: Re: Is there a list with calc modes for calc embedded?
Date: Tue, 16 Jan 2024 23:05:21 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

Lovely!

# [calc-mode: angles: rad]

sin(pi) => 0.


Thanks!!!

On 15/01/2024 1:13, Michael Heerdegen wrote:
Ypo<ypuntot@gmail.com>  writes:

I have tried:

% [calc-mode: calc-angle-mode : calc-radians-mode]
% [calc-mode: calc-angle-mode : radians-mode]
% [calc-mode: calc-radians-mode : t]

sin(90) => 1
The Calc manual suggests to switch the according setting when embedded
mode is active to let Calc insert the spec itself.  Did you try that?

But I never get the result in radians. Is there a list where I could
see all the calc-modes we can use in embedded calc?
That should be `calc-embedded-mode-vars' AFAIU.

Michael.


On 16/01/2024 16:38, Eric S Fraga wrote:
On Saturday, 13 Jan 2024 at 14:57, Ypo wrote:
I have tried:

% [calc-mode: calc-angle-mode : calc-radians-mode]
% [calc-mode: calc-angle-mode : radians-mode]
% [calc-mode: calc-radians-mode : t]
Try

% [calc-mode: angles: rad]

Easy way to generate this line: enter embedded edit mode (C-x *e) and
then ask for radians mode (m r).  Emacs Calc should add the line
automatically for you.

HTH,
eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]