Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

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
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: 953
Man
Russian Federation

Was thanked: 869 time(s) in 488 post(s)
You can override atan() function.
Russia forever!
Viacheslav N. Mezentsev
💰 Support me for plugins development: https://money.yandex.ru/to/410013245578758/100
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: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 3,887
Canada

Was thanked: 699 time(s) in 547 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 6 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,192
Man
Italy
Location: Italy

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

evaluation in degrees
If you like my plugins please consider a donation to SMath Studio; for personal contributions to me: 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.