求和计算提示k没有定义

求和计算提示k没有定义 - 如图片所示,用求和计算以k为变量的函数,提示k没有定义,直接计算k是可以计算的 - Messages

#1 Posted: 4/22/2026 9:35:32 AM
黄东海

黄东海

0 likes in 1 posts.

Group: User

屏幕截图 2026-04-22 171121.png
#2 Posted: 4/23/2026 7:52:13 AM
Davide Carpi

Davide Carpi

1,438 likes in 2,924 posts.

Group: Moderator

There are a lot of terms involved, without a worksheet it's nearly impossible to understand what's the issue and how to solve it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 4/23/2026 1:16:13 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,542 likes in 1,857 posts.

Group: Moderator

IMG_0537.jpeg
Russia ☭ forever, Viacheslav N. Mezentsev
#4 Posted: 4/23/2026 11:24:07 PM
Alvaro

Alvaro

1,087 likes in 1,760 posts.

Group: User

Hi. This is what the calculation of average driving power generally looks like, more or less.

image.png

IGBT Average Driving Power.sm (12.04 KiB) downloaded 19 time(s).

Regarding the error message, it might be because you're using `k` somewhere; the summation variable must be undefined. Try changing it to something else.

Best regards
Alvaro
Edited 4/23/2026 11:34:56 PM
#5 Posted: 4/24/2026 7:18:00 AM
Alvaro

Alvaro

1,087 likes in 1,760 posts.

Group: User

Hi. Units and plot added.

image.png

IGBT Average Driving Power.sm (15.89 KiB) downloaded 15 time(s).

Best regards
Alvaro
Edited 4/24/2026 7:21:01 AM
#6 Posted: 4/24/2026 9:40:52 AM
Davide Carpi

Davide Carpi

1,438 likes in 2,924 posts.

Group: Moderator

Wrote

Regarding the error message, it might be because you're using `k` somewhere; the summation variable must be undefined. Try changing it to something else.



This shouldn't be an issue anymore, I think it's more a operation order like Viacheslav pointed out.

immagine.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 4/24/2026 2:23:34 PM
Alvaro

Alvaro

1,087 likes in 1,760 posts.

Group: User

Hi Davide.

Wrote

... This shouldn't be an issue anymore, I think it's more a operation order like Viacheslav pointed out.


The user wrote: "Summation calculation prompt: 'k' is undefined - As shown in the image, when using the summation to calculate a function with 'k' as the variable, it prompts that 'k' is undefined, even though 'k' can be calculated directly." so I assume he is using an older version of SMath. In the latest version, k does not "go outside" the summation, as the user seems to be indicating.

image.png

Best regards.
Alvaro.
#8 Posted: 4/24/2026 4:36:02 PM
Davide Carpi

Davide Carpi

1,438 likes in 2,924 posts.

Group: Moderator

Good point.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 Posted: 4/24/2026 6:46:58 PM
Alvaro

Alvaro

1,087 likes in 1,760 posts.

Group: User

Hi. Also, this is what the error looks like in the current version in case of incorrect parentheses: with a rounded box filled with red, in a more retina-damaging style

image.png

IGBT Average Driving Power - bad parenthisation.sm (12.73 KiB) downloaded 8 time(s).

Best regards.
Alvaro.
Edited 4/24/2026 6:51:16 PM
  • New Posts
  • No New Posts