Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Paulius  
#1 Posted : 23 May 2019 11:15:36(UTC)
Paulius

Rank: Newbie

Groups: Registered
Joined: 27/10/2017(UTC)
Posts: 8
Lithuania

Hello the question is. Is it possible to make, that every time function antan returns in degree?
example:

atan(0.2/0.75)=0.343 every time I must add units "deg" that it returns not in radians. Maybe is possible to safe time and make change somethere in software. Thank You for the help

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline uni  
#2 Posted : 23 May 2019 11:35:37(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
You can override atan() function.
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 23/05/2019(UTC)
Offline Jean Giraud  
#3 Posted : 23 May 2019 15:41:30(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Paulius Go to Quoted Post
Is it possible to make, that every time function antan returns in degree?

Personalize like this as an utility at top of work sheet
to avoid conflict with the atan(x) built-in from Windows library.
Atan(x):=atan(x)*360/2*π
Atan(4)=75.964 then by personalized 75.964°.

Trig.sm (13kb) downloaded 11 time(s).


Offline Davide Carpi  
#4 Posted : 23 May 2019 19:54:20(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
It is already backed in the snippets section since a long long time. Good

evaluation in degrees
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 23/05/2019(UTC),  on 24/05/2019(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.