# \[WSG21\] Daily Study Group: Wolfram Language Basics

**URL:** <https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563>\
**Category:** Ideas\
**Tags:** education, mathematica, wolfram-u, events-and-media\
**Created:** [February 4, 2021, 9:18pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563 "2021-02-04T21:18:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 4, 2021, 9:18pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/1 "2021-02-04T21:18:34Z")

</div>

A new study group for Wolfram Language Basics begins Monday, Feb 15, 2021!

Join this three-week study group to build or refresh your knowledge of the Wolfram Language. We will start slow but try to cover a broad variety of topics. No prior experience in Wolfram Language is needed to join this study group. We will provide study materials along with self-learning exercises so you can review topics on your own beyond the study group sessions.

Sign up here: [https://wolfr.am/T4GiU9ch](https://wolfr.am/T4GiU9ch)

---

<div class="post-metadata">

**Author:** ![jamie](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jamie/32/25014_2.png) [@jamie](https://community.wolfram.com/u/jamie)\
**Post date:** [February 4, 2021, 9:21pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/2 "2021-02-04T21:21:29Z")

</div>

Looking forward to seeing you and [@Arben K](https://community.wolfram.com/web/arbenk) co-leading this study group!

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 15, 2021, 4:26pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/3 "2021-02-15T16:26:19Z")

</div>

The “Wolfram Language basics” study group begins today. See you there!

---

<div class="post-metadata">

**Author:** ![stephen5](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/stephen5/32/16003_2.png) [@stephen5](https://community.wolfram.com/u/stephen5)\
**Post date:** [February 15, 2021, 5:09pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/4 "2021-02-15T17:09:47Z")

</div>

Happy to be a part of this study session cohort!

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 15, 2021, 6:08pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/5 "2021-02-15T18:08:41Z")

</div>

For all the new folks who attended Study Group today: Feel free to try Wolfram One ([Wolfram|One: Cloud-Desktop Computation Platform](https://www.wolfram.com/wolfram-one/)) to open up the notebook we shared with you.

---

<div class="post-metadata">

**Author:** ![anon21378091](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon21378091](https://community.wolfram.com/u/anon21378091)\
**Post date:** [February 15, 2021, 8:53pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/6 "2021-02-15T20:53:14Z")

</div>

We ran into some issues with a couple of examples during today’s session. Here are possible resolutions to those issues:

- First 500 digits of Pi: `ResourceFunction["NthDigit"][\[Pi], #] & /@ Range[500]`
- Example of using lists in the same way (domain of input values) in two different Wolfram Language functions: `Table[Sin[x],{x,1,10}]` and `Plot[Sin[x],{x,1,10}]`

Here is the example of processing the DNA sequence from the BRCA 1 gene (with the nucleotides as chemical entities instead of just string characters):

```
Counts[Characters[Entity["Gene", {"BRCA1", {"Species" -> "HomoSapiens"}}]["ReferenceSequence"]] /. 
     {"A" -> Entity["Chemical", "Adenine"], 
      "T" -> Entity["Chemical", "Thymine"], 
      "G" -> Entity["Chemical", "Guanine"], 
      "C" -> Entity["Chemical", "Cytosine"]}]

```

---

<div class="post-metadata">

**Author:** ![rohitnamjoshi](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@rohitnamjoshi](https://community.wolfram.com/u/rohitnamjoshi)\
**Post date:** [February 15, 2021, 9:50pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/7 "2021-02-15T21:50:01Z")

</div>

Alternative for first 500 digits of π

```
N[Pi, 500] // RealDigits // First

```

While `Table[Sin[x],{x,1,10}]` and `Plot[Sin[x],{x,1,10}]` use the same `x` range, the points used by `Plot` are chosen so that the plot is “smooth”.

```
tablePoints = Table[Sin[x], {x, 1, 10}];

plot = Plot[Sin[x], {x, 1, 10}];
plotPoints = Cases[plot, Line[p_] :> p, All] // First;

ListPlot[{plotPoints, tablePoints}, 
 PlotStyle -> {Automatic, Directive[PointSize[Medium], Red]}]

```

 ![8685plot.png](https://global.discourse-cdn.com/wolfram/original/3X/0/3/03fb138bbfc52e28b8384f889e240cfff1642a3e.png)

---

<div class="post-metadata">

**Author:** ![rongoetz](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@rongoetz](https://community.wolfram.com/u/rongoetz)\
**Post date:** [February 16, 2021, 1:45am UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/8 "2021-02-16T01:45:30Z")

</div>

Thank you for showing the replacement to turn the strings into entities in the nucleotides example. Ron

---

<div class="post-metadata">

**Author:** ![fedor](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@fedor](https://community.wolfram.com/u/fedor)\
**Post date:** [February 17, 2021, 3:42pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/9 "2021-02-17T15:42:52Z")

</div>

Good day, everyone!

I’ve got a small noobie question. I declare a function using Module to hide local variable x. And I expect x to be local. But when I check what is x with question mark, it is says, x is global.

Are things to be that way? What don’t I understand?

 ![q-1.png](https://global.discourse-cdn.com/wolfram/original/3X/7/d/7d8d2fe29da42d275d3844b813d82df6aa89aa33.png)

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 17, 2021, 4:01pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/10 "2021-02-17T16:01:53Z")

</div>

Hi Fedor,  
The syntax coloring is giving us a hint that the “?” is not working on the local symbol x but on the global symbol (since x appears black, not green). So it is correctly informing us of the status of the global “x”.  
Perhaps you could try replacing “?x” with `Information[x]` which would ensure the right “x” was being used for information.

 ![ScreenShot2021-02-17at9.59.06AM.jpg](https://global.discourse-cdn.com/wolfram/original/2X/c/c7dc9618ce4d1b1be9d40ce2f05c40b98884f4e9.jpeg)

---

<div class="post-metadata">

**Author:** ![rongoetz](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@rongoetz](https://community.wolfram.com/u/rongoetz)\
**Post date:** [February 17, 2021, 5:51pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/11 "2021-02-17T17:51:55Z")

</div>

In slide 31 of the notebook for the second day, it looks like there is a small error in coding for the function FixMatrix. The code works fine for square matrices (as in the examples given), but not for general matrices, because the mapping over the column numbers is taken over the row numbers instead. It can be fixed by replacing

```
Range[Length[mat]] (*the list of row numbers*) 

```

by either

```
Range[Length[Transpose[mat]]] 

```

or

```
Range[Last[Dimensions[mat]]] (*the list of column numbers*)

```

Ron Goetz

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 17, 2021, 6:29pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/12 "2021-02-17T18:29:22Z")

</div>

Thanks Ron, for the catching the issue and sharing the resolution.

---

<div class="post-metadata">

**Author:** ![mlyda](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@mlyda](https://community.wolfram.com/u/mlyda)\
**Post date:** [February 18, 2021, 11:09pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/13 "2021-02-18T23:09:33Z")

</div>

May I get a link to the first session on Monday? I have the 2nd one from Tuesday and 3rd one from Thursday. Thank you

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 19, 2021, 4:02pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/14 "2021-02-19T16:02:05Z")

</div>

Hi Michael, We’re re-sending the link to you via email.

---

<div class="post-metadata">

**Author:** ![rshifrin](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@rshifrin](https://community.wolfram.com/u/rshifrin)\
**Post date:** [February 19, 2021, 6:25pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/15 "2021-02-19T18:25:16Z")

</div>

Great talks by Abrita and Arben. How can I find my way to the quiz?  
Thanks,  
Roger

---

<div class="post-metadata">

**Author:** ![rongoetz](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@rongoetz](https://community.wolfram.com/u/rongoetz)\
**Post date:** [February 19, 2021, 8:10pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/16 "2021-02-19T20:10:44Z")

</div>

I can’t seem to download the data1D.dat data1D2.dat files in the data folder.

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 19, 2021, 8:31pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/17 "2021-02-19T20:31:09Z")

</div>

Hi Ron,  
Selecting the two .dat files and clicking on Download from the “… Actions” menu should allow you to download a zip containing the two data files.

 ![ScreenShot2021-02-19at2.17.21PM.png](https://global.discourse-cdn.com/wolfram/original/3X/d/5/d542329fd7f637a7bf46b9fcccab01072c78f4b4.png)

---

<div class="post-metadata">

**Author:** ![abritac](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/abritac/32/4382_2.png) [@abritac](https://community.wolfram.com/u/abritac)\
**Post date:** [February 19, 2021, 8:32pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/18 "2021-02-19T20:32:48Z")

</div>

Hi Roger, The link to the quiz that was shared in the study group session today, will alsol be included in the next reminder email for the webinar.

---

<div class="post-metadata">

**Author:** ![simplexityware](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/simplexityware/32/13768_2.png) [@simplexityware](https://community.wolfram.com/u/simplexityware)\
**Post date:** [February 20, 2021, 2:16am UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/19 "2021-02-20T02:16:57Z")

</div>

With the free basic plan, I am unable to find a way to upload the notebooks you have shared with the Study Group into Wolfram One/Cloud.

 ![Wolfram.PNG](https://global.discourse-cdn.com/wolfram/original/3X/1/0/10c48d1895b5ad421facf252803e5436cfa6a6df.png)

Have I missed something?

Thank you.  
Yeu Wen

---

<div class="post-metadata">

**Author:** ![anon21378091](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon21378091](https://community.wolfram.com/u/anon21378091)\
**Post date:** [February 20, 2021, 5:19pm UTC](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563/20 "2021-02-20T17:19:27Z")

</div>

That was what I did, among other variations, but nothing worked in Chrome. I switched to a different browser and had no trouble. I’m guessing there is a way of telling Chrome it’s OK to download DAT files, but I couldn’t find it on a first pass through the settings.

[Next page](https://community.wolfram.com/t/wsg21-daily-study-group-wolfram-language-basics/17563.md?page=2)
