Angles trygonometry value in solutions of the system of equations

Angles trygonometry value in solutions of the system of equations - Messages

#1 Posted: 2021/9/9 04:25:42
Mateusz

Mateusz

0 likes in 8 posts.

Group: User

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 (8 KiB) downloaded 604 time(s).

Regards,
A.
#2 Posted: 2021/9/9 06:44:19
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

You can use the function al_nlegsolve with any initial
assumptions (because the equations are linear)

al_nlegsolve.sm (11.18 KiB) downloaded 591 time(s).
#3 Posted: 2021/9/9 09:52:40
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

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

#4 Posted: 2021/9/9 23:20:45
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

Hi. You also can use Maxima commands, in this case ev():

img.png

Best regards.
Alvaro.
#5 Posted: 2021/9/10 05:37:18
Martin Kraska

Martin Kraska

1,308 likes in 2,221 posts.

Group: Moderator

example_v1.png
example_v1.sm (13.63 KiB) downloaded 629 time(s).
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
sergio 2021/9/10 06:11:00
#6 Posted: 2021/9/10 13:02:39
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: User

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 (15.95 KiB) downloaded 629 time(s).

img.png

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

example_v2.sm (15.16 KiB) downloaded 658 time(s).

img.png

Best regards.
Alvaro.
1 users liked this post
sergio 2021/9/10 13:43:00
  • New Posts
  • No New Posts