Solve Function Question

Solve Function Question - Don't understand index required in the example - 消息

#1 已发布: 2025/5/26 04:01:47
RegRetired

RegRetired

8个赞,共144个帖子。

组: User

In the attached sm file, I am trying to find the roots, alpha, to a complex set of equations. To get the answer, I have to use the index 2 as noted. An image of the important part of the calculation is shown in this image.

Screenshot 2025-05-25 215318.png

Also, I cannot get any other root finding functions to work. I have added the maxima plugin, but that fails also. If there is a function not requiring the index that works, I would appreciate the help.

ALPHA LAMBDA WORKING.sm (99.81 KiB)已下载 1665 次。

Thanks,
Reg
Reg CurryLoveland, CO
#2 已发布: 2025/5/26 13:50:37
StvMath

StvMath

44个赞和1个踩,共76个帖子。

组: User

The solve function finds two solutions for each combination of Rexp, RTexp etc., the first of which is always zero. Presumably you want the non-zero solution which is the second one found, hence the subscript 2.

You could also use the four-parameter version of solve; for example: solve(F(a),a,0.001,1) which will find solutions betwee 0.001 and 1.
1位用户喜欢此帖子
francesco rapuano 2025/5/26 15:38:13
#3 已发布: 2025/5/26 17:38:32
RegRetired

RegRetired

8个赞,共144个帖子。

组: User

Thank you.👍
Reg CurryLoveland, CO
  • 有新帖
  • 无新帖