1 страниц (4 вхождений)
Matrix and Temperature unit - Defining Matrix and working with Temperature unit - Сообщения
#1 Опубликовано: 29.12.2024 18:38:32
Hello Experts,
I am struggling with a couple of issues, and maybe you can guide me.
1. Is there any solution for building a matrix without defining its size within a loop?
2. My second struggle is while using variables with temperature units. Is it possible to force the use of a specific temperature unit, '°C', instead of 'K', while storing the values of the variable in the matrix?
3. Can a specific temperature unit (Centigrade) be used uniformly without switching back and forth between Kelvin and Centigrade within a worksheet?
I appreciate any help you can provide.
I am struggling with a couple of issues, and maybe you can guide me.
1. Is there any solution for building a matrix without defining its size within a loop?
2. My second struggle is while using variables with temperature units. Is it possible to force the use of a specific temperature unit, '°C', instead of 'K', while storing the values of the variable in the matrix?
3. Can a specific temperature unit (Centigrade) be used uniformly without switching back and forth between Kelvin and Centigrade within a worksheet?
I appreciate any help you can provide.
#2 Опубликовано: 29.12.2024 23:38:07
WroteHello Experts,
I am struggling with a couple of issues, and maybe you can guide me.
1. Is there any solution for building a matrix without defining its size within a loop?
2. My second struggle is while using variables with temperature units. Is it possible to force the use of a specific temperature unit, '°C', instead of 'K', while storing the values of the variable in the matrix?
3. Can a specific temperature unit (Centigrade) be used uniformly without switching back and forth between Kelvin and Centigrade within a worksheet?
I appreciate any help you can provide.
1. A: matrix(m,n) creates a matrix with size m x n with all entries zero.
2. Any storage of quantities with units is preceeded by converting the value to base units (Kelvin in this case). If you want to display in other units, this has to be enforced upon display. See the chapter on units and in particular the section on temperature units in the attached pdf.
3. You can't modify the default unit for display. You always have to specify the display unit, if it is non-default.
Introduction to SMath Studio.pdf (1 МиБ) скачан 55 раз(а).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 04.01.2025 20:22:48
Dear Martin,
Greetings!!
Thank you for your guidance and for sharing the document. It is very useful.
However, my struggle doesn't seem to be over. Equations-solving functions like solve, roots, and Solve do not return any answer except for the 'roots' function when solved without units.
Can you please provide your expert opinion on this situation?

Greetings!!
Thank you for your guidance and for sharing the document. It is very useful.
However, my struggle doesn't seem to be over. Equations-solving functions like solve, roots, and Solve do not return any answer except for the 'roots' function when solved without units.
Can you please provide your expert opinion on this situation?
#4 Опубликовано: 05.01.2025 19:39:49
Please attach the .sm file.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 страниц (4 вхождений)
-
Новые сообщения
-
Нет новых сообщений