Angles trygonometry value in solutions of the system of equations

Angles trygonometry value in solutions of the system of equations - 消息

#1 已发布: 2021/9/9 04:25:42
Mateusz

Mateusz

0个赞,共8个帖子。

组: 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)已下载 1201 次。

Regards,
A.
#2 已发布: 2021/9/9 06:44:19
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

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

al_nlegsolve.sm (11.18 KiB)已下载 1200 次。
#3 已发布: 2021/9/9 09:52:40
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2021/9/9 23:20:45
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

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

img.png

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

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

example_v1.png
example_v1.sm (13.63 KiB)已下载 1214 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
sergio 2021/9/10 06:11:00
#6 已发布: 2021/9/10 13:02:39
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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)已下载 1193 次。

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)已下载 1262 次。

img.png

Best regards.
Alvaro.
1位用户喜欢此帖子
sergio 2021/9/10 13:43:00
  • 有新帖
  • 无新帖