Problem with solver functions

Problem with solver functions - any solver function fails trying to find a zero on a function... - Mensajes

#1 Publicado: 18/9/2023 11:31:30
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Here is a problem I found trying to solve a simple engineering question.


NoSolution.png

Please see attached file: Problem with solvers.sm (90 KiB) descargado 1416 vez(es).
#2 Publicado: 18/9/2023 21:17:56
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Sorry I don't have maxima.
Equations are solved with FindRoot().

I also had to make some alterations.
Original y(x) function has unit mismatch.
Solvers don't like direct usage of if() or cases().
You can detect it with Unknowns().
If it doesn't produce a result, there is a problem.

Here is your file solved.

Regards

Problem with solvers_solved.sm (95,81 KiB) descargado 1423 vez(es).
A 5 usuarios les gustó este mensaje
Oscar Campo 18/9/2023 21:19:00, churichuro 18/9/2023 22:05:00, NDTM Amarasekera 18/9/2023 23:04:00, ioan92 19/9/2023 5:38:00, Alvaro 19/9/2023 7:28:00
#3 Publicado: 19/9/2023 20:53:43
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

I assumed C.1 and C.2 has same units.
Maybe I was wrong at that conclusion.
Worksheet below find a solution between 4-6.
This may be the correct result.
Sorry if I made a huge mistake.

Regards

Problem with solvers_revisited.sm (105,7 KiB) descargado 1508 vez(es).

Click to enlarge
A 2 usuarios les gustó este mensaje
Oscar Campo 19/9/2023 21:24:00, Alvaro 20/9/2023 13:14:00
#4 Publicado: 19/9/2023 21:24:06
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Perfect! Thanks for your cooperation!
  • Nuevos mensajes
  • Sin mensajes nuevos