Syntax Error in Roots Function

Syntax Error in Roots Function - I receive a syntax error in the "roots(2)" function - Poruke

#1 Objavljeno: 25. 2. 2022. 17:33:29
GabeJ112

GabeJ112

0 svidjanja u 4 postova.

Grupa: User

Please help me understand what I am inputting incorrectly. I have used the "roots(2)" function before. Also, if there is a more simple way to solve the unknowns let me know. I was trying to avoid linear algebra as getting the unknowns in expanded form would be difficult.

With fewer variables, it worked fine as shown in the first image of the PDF
Doc1.pdf (84,85 KiB) preuzeto 791 put(ova).

Thanks for the Help!
#2 Objavljeno: 25. 2. 2022. 19:09:32
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

Please help me understand what I am inputting incorrectly. I have used the "roots(2)" function before. Also, if there is a more simple way to solve the unknowns let me know. I was trying to avoid linear algebra as getting the unknowns in expanded form would be difficult.

With fewer variables, it worked fine as shown in the first image of the PDF
Doc1.pdf (84,85 KiB) preuzeto 791 put(ova).

Thanks for the Help!


You possibly wrote something wrong.
It did work at my computer.
Next time please provide your doc.sm file too.
It will be much more easier to understand the problem.
And no one would need to write your entire sheet from scratch.

Regards

doc.sm (18,14 KiB) preuzeto 1304 put(ova).

Click to Enlarge
1 korisnika je svidelo ovu objavu
sergio 26. 2. 2022. 05:46:00
#3 Objavljeno: 2. 3. 2022. 02:57:45
GabeJ112

GabeJ112

0 svidjanja u 4 postova.

Grupa: User

Wrote

You possibly wrote something wrong.
It did work at my computer.
Next time please provide your doc.sm file too.
It will be much more easier to understand the problem.
And no one would need to write your entire sheet from scratch.

Regards



overlord:
Thank you for the quick reply. Sorry I was only able to revisit this today, and sorry I did not attach the original document.

I tried it a few more times and changed some things around.
I removed the syntax error, but now the "roots" function endlessly calculates but never gives an answer. I have let it run for 15 minutes but no solution.

Have you experienced this issue before?
Attached is the actual document if you or anyone else would like to view it.

Thanks!

doc.sm (50,18 KiB) preuzeto 1310 put(ova).
#4 Objavljeno: 2. 3. 2022. 03:30:55
GabeJ112

GabeJ112

0 svidjanja u 4 postova.

Grupa: User

Okay, I tried it again and was able to get an answer using different variables for Theta. The function did not like using numbers as subscripts to variables. It is all working now.
Thanks!
  • Novi postovi
  • Nema novih postova