Syntax Error in Roots Function

Syntax Error in Roots Function - I receive a syntax error in the "roots(2)" function - Сообщения

#1 Опубликовано: 25.02.2022 17:33:29
GabeJ112

GabeJ112

0 сообщений из 4 понравились пользователям.

Группа: 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 КиБ) скачан 42 раз(а).

Thanks for the Help!
#2 Опубликовано: 25.02.2022 19:09:32
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: 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 КиБ) скачан 42 раз(а).

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 КиБ) скачан 31 раз(а).

Click to Enlarge
1 пользователям понравился этот пост
sergio 26.02.2022 05:46:00
#3 Опубликовано: 02.03.2022 02:57:45
GabeJ112

GabeJ112

0 сообщений из 4 понравились пользователям.

Группа: 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 КиБ) скачан 29 раз(а).
#4 Опубликовано: 02.03.2022 03:30:55
GabeJ112

GabeJ112

0 сообщений из 4 понравились пользователям.

Группа: 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!
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений