Angles trygonometry value in solutions of the system of equations

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

#1 Posted: 9/9/2021 4:25:42 AM
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 27 time(s).

Regards,
A.
#2 Posted: 9/9/2021 6:44:19 AM
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 KiB) downloaded 32 time(s).
#3 Posted: 9/9/2021 9:52:40 AM
Jean Giraud

Jean Giraud

983 likes in 6866 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: 9/9/2021 11:20:45 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

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

img.png

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

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

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

Alvaro Diaz Falconi

992 likes in 1674 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 KiB) downloaded 20 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 KiB) downloaded 23 time(s).

img.png

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