Solve Function Question

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

#1 Posted: 5/26/2025 4:01:47 AM
RegRetired

RegRetired

8 likes in 143 posts.

Group: 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 KiB) downloaded 43 time(s).

Thanks,
Reg
Reg CurryLoveland, CO
#2 Posted: 5/26/2025 1:50:37 PM
StvMath

StvMath

36 likes in 57 posts.

Group: 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 users liked this post
francesco rapuano 5/26/2025 3:38:13 PM
#3 Posted: 5/26/2025 5:38:32 PM
RegRetired

RegRetired

8 likes in 143 posts.

Group: User

Thank you.👍
Reg CurryLoveland, CO
  • New Posts New Posts
  • No New Posts No New Posts