1 Pages (9 items)
求和计算提示k没有定义 - 如图片所示,用求和计算以k为变量的函数,提示k没有定义,直接计算k是可以计算的 - Messages
#2 Posted: 4/23/2026 7:52:13 AM
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
#4 Posted: 4/23/2026 11:24:07 PM
Hi. This is what the calculation of average driving power generally looks like, more or less.

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

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
Hi. Units and plot added.

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

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
WroteRegarding 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.

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
Hi Davide.
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.

Best regards.
Alvaro.
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.

Best regards.
Alvaro.
#8 Posted: 4/24/2026 4:36:02 PM
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
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

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

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
1 Pages (9 items)
- New Posts
- No New Posts

