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 Fran_3  
#1 Posted : 14 November 2020 22:50:47(UTC)
Fran_3


Rank: Advanced Member

Groups: Registered
Joined: 11/11/2020(UTC)
Posts: 44
United States
Location: Florida

Was thanked: 1 time(s) in 1 post(s)
I was doing a simple illustration and realized SMath wouldn't let me divide360 degrees by 2 * Pi if I entered Pi via Ctl+Shift+p...

So, I'm guessing Ctl+Shift+p is interpreted by the program a pi radians and not simply a number... right?

Or did I miss something?

Thanks for any help.

Edited by user 16 November 2020 15:41:10(UTC)  | Reason: Question Answered

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

Offline overlord  
#2 Posted : 14 November 2020 23:07:55(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
I can divide it with Ctrl+Shift+P.
If I had wrote 360 instead of 360 degrees, then result would be 57.2958.
Either way it is degrees or not, it can be divided.
If you are doing exactly what you have informed, nothing should be wrong.

Regards

output.gif
Offline Jean Giraud  
#3 Posted : 14 November 2020 23:50:34(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: Fran_3 Go to Quoted Post
I was doing a simple illustration and realized SMath wouldn't let me divide360 degrees by 2 * Pi if I entered Pi via Ctl Shift p...

try 360°/2*pi ... pi from p+CtrlG
Offline Fran_3  
#4 Posted : 14 November 2020 23:54:21(UTC)
Fran_3


Rank: Advanced Member

Groups: Registered
Joined: 11/11/2020(UTC)
Posts: 44
United States
Location: Florida

Was thanked: 1 time(s) in 1 post(s)
First, how did you post the animation? Is that an animated gif?
Was it a screen capture & if so with what software?

Second... and it took me a minute after I looked at your cool animation...

I guess I expected 2 * pi to be ~6.28 unless I specified a unit...
That was the basis of my question...

As you illustrated entering 360 degrees / (2*pi) yields 1.

If 2*pi were considered as simply a number then I would have expected the results to be 57.2598.

No problem either way just wanted to ask.

Thanks for your help.

Offline Fran_3  
#5 Posted : 15 November 2020 00:13:01(UTC)
Fran_3


Rank: Advanced Member

Groups: Registered
Joined: 11/11/2020(UTC)
Posts: 44
United States
Location: Florida

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: Fran_3 Go to Quoted Post
I was doing a simple illustration and realized SMath wouldn't let me divide360 degrees by 2 * Pi if I entered Pi via Ctl Shift p...

try 360°/2*pi ... pi from p+CtrlG


I still get 1 instead of the expected 57.2958

Maybe I'm entering degrees wrong as in both answers I see the degree symbol...

But when I enter 360 followed by deg it doesn't display the degree symbol...

it displays 360 dot deg

How do you get the degree symbol instead of "deg"

Thanks
Offline overlord  
#6 Posted : 15 November 2020 00:35:32(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
It is an animated gif.
I use linux, I had recorded the portion of screen with simplescreenrecorder. SSR is actually a front-end (gui) for ffmpeg or libav.
Then I had wrote a single line command to convert mp4 to gif. This is also an ffmpeg command actually.

you can record your screen with Fraps under windows. ffmpeg should have also windows builds. I was using it back then.

I do enter the percentage character (shift+5 for my Turkish keyboard, should be shift+5 for US also) then select degree symbol from the inline menu. you can see that partially at previously provided gif. maybe there is a simple method but this is how I enter it always.

deg should work also, if it is not blue colored when you enter it then it is not considered as a unit. when you wrote "deg" inline menu appears (units and commands combobox) then you should press tab key or select the unit with mouse. I think you are writing deg and trying to divide it with 2 pi. that "deg" is not degree unit keyword or symbol if it is colored black, you are simply creating a new unit which is named deg.

Edited by user 15 November 2020 00:39:14(UTC)  | Reason: Not specified

Offline Jean Giraud  
#7 Posted : 15 November 2020 01:13:25(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: Fran_3 Go to Quoted Post
I still get 1 instead of the expected 57.2958


Degree.PNG

Offline Fran_3  
#8 Posted : 15 November 2020 03:54:58(UTC)
Fran_3


Rank: Advanced Member

Groups: Registered
Joined: 11/11/2020(UTC)
Posts: 44
United States
Location: Florida

Was thanked: 1 time(s) in 1 post(s)
OK, I think my trouble is with that rascally cursor :-)

I think I have it now.

Thanks guys!

Offline Davide Carpi  
#9 Posted : 15 November 2020 21:21:48(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)
Originally Posted by: Fran_3 Go to Quoted Post
Was it a screen capture


If you are using Windows, GifCam and ScreenToGif are both free, portable and easy to use (with high quality result); the latter is opensource too and has a lot of nice features.

Edited by user 15 November 2020 21:26:48(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Fran_3  
#10 Posted : 16 November 2020 04:32:47(UTC)
Fran_3


Rank: Advanced Member

Groups: Registered
Joined: 11/11/2020(UTC)
Posts: 44
United States
Location: Florida

Was thanked: 1 time(s) in 1 post(s)
Thanks Davide. Exactly what I was looking for.

I'm trying to switch to a good free... or open source video editor too if you or someone else can suggest one.

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.