Message Boards Message Boards

0
|
1168 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Error NSum::istep

Hey I'm trying to write this part of my code but I dont understand what am I making wrong here. i Have tried making the limit steps very small but still didn't work enter image description here

POSTED BY: Saif Almazrouei
2 Replies
Posted 1 year ago

It would be nice if you provided copy-pasteable code rather than a screenshot, but...

The error is telling you that the step (in this case assumed to be 1) is not compatible with the range bounds. You can reproduce this simply with

NSum[x, {x, 0, 11.3}]

I don't know the rationale behind this (Sum seems to work differently), but it clearly expects that the range is perfectly divisible by the step. So, this actually works:

NSum[x, {x, 0, 11.3, .1}]
POSTED BY: Eric Rimbey

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

The rules explain how to format your code properly. Posting code Images doesn't help other members to copy your code. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this.

int = Integrate[1/(x^3 - 1), x];
Map[Framed, int, Infinity]

You can also embed notebook or attach notebook.

enter image description here

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract