derivate problem composite function

derivate problem composite function - Mensajes

#1 Publicado: 3/6/2015 11:20:44
dav47

dav47

0 me gusta en 5 mensajes.

Grupo: User

Hi to all, I create a composed function, but I don't understand what is wrong.
Please help
quest.png
#2 Publicado: 3/6/2015 12:08:04
dav47

dav47

0 me gusta en 5 mensajes.

Grupo: User

I attach the file to clarify the problem
2spline.sm (26,73 KiB) descargado 1310 vez(es).
#3 Publicado: 3/6/2015 12:54:03
Ernesto

Ernesto

13 me gusta en 74 mensajes.

Grupo: User

When defining a1, b1, c1.. etc, you define them as rows of a matrix (notice how they are still in parenthesis), and they remain a single entry matrix. This causes an error later on since you can't take a derivative of a matrix.

Instead of extracting the row, extract the element by using the "el" function, or write the matrix name followed by "[" and the row number.

eg. a.1 : M[1
A 1 usuarios les gustó este mensaje
Davide Carpi 3/6/2015 19:47:00
#4 Publicado: 3/6/2015 16:35:28
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

The cases() function helps a lot in writing piecewise continuous functions in a readable way.
2spline_Kr.sm (23,73 KiB) descargado 1347 vez(es).
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Davide Carpi 3/6/2015 19:47:00
#5 Publicado: 4/6/2015 3:45:01
dav47

dav47

0 me gusta en 5 mensajes.

Grupo: User

Hi, Ernesto and Martin.
Thank you for your help.
I'm new to the use of smath studio. I understand my mistake....It's a mathematical error!
Now I have istalled the Function extension.
Bye
Davide
  • Nuevos mensajes
  • Sin mensajes nuevos