Message Boards Message Boards

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

Get right data output format using a For loop?

Posted 5 years ago

I have made a for loop, the output is the desired data but i dont know how to make lists of the columns. also the output is not reallt given in the output format "out[]" how do i solve this? image

POSTED BY: sjoerd doggenaar
2 Replies

The are many issues with your code. Just some hints:

  • Variable names cannot include underscores.
  • Encapsulate local variables using Module
  • Do not use Print except for debugging. The value of your last expression is the return value. Your current function in not returning anything.
POSTED BY: Gustavo Delfino

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. If you do not format code, it may become corrupted and useless to other members. 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]

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