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 Astroneus  
#1 Posted : 09 September 2021 10:25:42(UTC)
Astroneus

Rank: Newbie

Groups: Registered
Joined: 15/05/2021(UTC)
Posts: 8
Poland
Location: Warsaw

Hi,
How to turn of the decimal values in trygonometry angles value? I got sth lik this for solution of system of equations:
example_png.png

The file with example: example_v1.sm (9kb) downloaded 7 time(s).

Regards,
A.

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

Offline Ber7  
#2 Posted : 09 September 2021 12:44:19(UTC)
Ber7


Rank: Advanced Member

Groups: Registered
Joined: 15/07/2010(UTC)
Posts: 437
Man
Israel
Location: Beer-Sheva

Was thanked: 520 time(s) in 288 post(s)
You can use the function al_nlegsolve with any initial
assumptions (because the equations are linear)

al_nlegsolve.sm (12kb) downloaded 12 time(s).
Offline Jean Giraud  
#3 Posted : 09 September 2021 15:52:40(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Astroneus Go to Quoted Post
How to turn of the decimal values in trigonometry angles value ?

By default, trig are in decimal radian in all CAS.
Recast your solutions, fill-in the unit place holder.

SolveTrig.PNG

Offline Razonar  
#4 Posted : 10 September 2021 05:20:45(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. You also can use Maxima commands, in this case ev():

img.png

Best regards.
Alvaro.

Edited by user 10 September 2021 05:27:41(UTC)  | Reason: Not specified

Offline mkraska  
#5 Posted : 10 September 2021 11:37:18(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1127 time(s) in 723 post(s)
example_v1.png
example_v1.sm (14kb) downloaded 7 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 10/09/2021(UTC)
Offline Razonar  
#6 Posted : 10 September 2021 19:02:39(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi Martin. I use Maxima's ev() because SMath's Assign() only works with the variable names, instead others, like xo, yo, and SMath's at() doesn't works for the symbolic evaluation, as shown this picture:

example_v1.sm (16kb) downloaded 5 time(s).

img.png

This is a workaround for use only SMath native functions or plugins, without any explicit Maxima function:

example_v2.sm (16kb) downloaded 6 time(s).

img.png

Best regards.
Alvaro.

Edited by user 10 September 2021 19:15:21(UTC)  | Reason: workaround added

thanks 1 user thanked Razonar for this useful post.
on 10/09/2021(UTC)
Users browsing this topic
Guest
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.