# Table of points from a smooth function [closed]

Given a function, say $\sin x$, can I cast this into a table of points with discretely divided values of $x$? Ideally, I would end up with a table of $xy$-values, where $x$ is the running variable and $y$ is the corresponding value of $\sin x$.

## closed as off-topic by Michael E2, anderstood, m_goldberg, MarcoB, marchFeb 13 '18 at 6:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Michael E2, anderstood, m_goldberg, MarcoB, march
If this question can be reworded to fit the rules in the help center, please edit the question.

• Try Table[{x,Sin[x]},{x,0,2 Pi, Pi/10}]... – José Antonio Díaz Navas Feb 12 '18 at 20:36

data = {#, Sin[#]} & /@ Subdivide[2 \[Pi], 20];