Group Abstract Group Abstract

Message Boards Message Boards

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

Natural Language Correspondences with WL Code.

Posted 5 years ago

Hello Wolfram Community, This might be a useful time filler exercise for you. From your Wolfram elementary course notes, I now know that

'the larger of two random numbers between 0 and 10'

is coded as Max[RandomInteger[10], RandomInteger[10]]

I have found two other fascinating correspondences.

First the natural language - make a graph of a vector (1,2,3,1,1) as a topological entity -

the code solution is ListPlot[{1,2,3,1,1)}]

Again. ' display a cyclic shift in a permutation set' codes as

ListPlot[{10,9,8,7,6,5,4,3,2,1}] ; ListPlot[{1,10,9,8,7,6,5,4,3,2}]

Any other suggestions for natural language to WL code in maths?

Regards, Paul Mills Research Software.

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