# Mathematica For Beginners: The Basics

This tutorial explains how to manipulate the basic objects underlying the Mathematica (and the Wolfram Language), by using many examples. We explain how to achieve many tasks by coding in Mathematica:

How to make lists, tables and arrays in mathematica. How to plot lists, generate random numbers. How to make and manipulate matrices. How to apply functions in Mathematica iteratively,

using riffle shuffling of cards as an example. How to define functions in mathematica, How to do number theory, and we illustrate these methods by generating a network related to the Collatz Conjecture (the 3n+1 Problem).

Way to perform many of the most fundamental operations in Mathematica are also discussed:

How to form if statements, while loops and how to deal with local variables. How to manipulate strings. How expressions can be transformed to strings, and vice versa. These ideas are illustrated by making complex rewrite system with a couple of lines of code.

(See `Mining the Space of Rewrite Systems’

for a more detailed discussion of how complex patterns can be generated by simple string rewrite systems).

This tutorial can be considered to be a more in depth sequel to

`Mathematica For Beginners’

This tutorial makes for an excellent introduction to functional programming. There is particular focus on explaining:

How to use lists.

How to do a screen capture.

How to use tables.

How to apply functions to a list.

How to define variables and control output in mathematica.

How to find the size of a list.

How to use nest list.

How to do a while loop.

How to use mathematica to manipulate vectors, matrices and linear algebra.

How to perform set theoretic operations such as union, intersection, and determination of subsets.

How to join lists.

How to take or drop elements from the beginning of a list.

How to do array plots.

How to form ‘if’ statements, with inequalities to test…

source

abacabadabacaba pattern in rainbow colors !

counting in binary also enumerates an abacabaDabacaba pattern

hey friend, this was fantastic. I really appreciate how you went about explaining things here. I am so excited to explore more of this, and delve further into the power of the language! (and I will be delving into the rest of your videos too, no doubt.) Thanks!

Hey,

I want to convert celsius to fahrenheit with this formula [c/5 = (f – 32)/9] can you tell how to do that

Dear Richard .. I own a problem in the way the introduction of information in this DJ software .. for example ..

I want to find a solution to a set of variables and contain the square root as well as the sine and cosine of the angle, how can I work for you. Arjd respond kinder

Hi,

If you could make simple beginner tutorials on numerical methods so I, and maybe others, can understand more and easier? I'm first year in automatics and applied informatics and i'm feeling a little lost:)

Thanx

I'm watching this when I could be watching anime. Whats wrong with me. Quality presentation, would recommend]

Richard Thank you very much……!!!.This vedio is really good and interesting.

Liked and favorited. Very useful.

7:11 | One can also use //N. For example, take Mean[dicerolls] and instead do this: "Mean[dicerolls]//N". As far as I know this can be used anywhere. Just add //N to the end of any computation and it will evaluate to decimal format.

This is really great video for beginners. I think I'll enjoy playing with this language.

Thanks for the upload.

When I press Enter it just goes to the second line. It doesn't execute anything…

The collatz function is defined wrong. It's also called the 3n+1 problem and not 2n+1. So you'd probably want to associate numbers x and y in the matrix wich are either twice or half of the other or 3 times +1 the other etc…

Salam I sing to if you like look my side merci tack thanks

11:26 is it also fine to just do upto8^2 instead of Map[#^2 &, upto8] ?

Muy buenol!!! Gracias.

oh, I give up…

For CurrentImage[] I get

age::imgarray: "The specified argument $Failed should be an array of rank 2 or 3 with machine-sized numbers.

Help??????????????

this is great man thank you!! 18:36 new insight into what a boolean intersection is numerically, for me

'hat' == 'caret' like carrot

I typed CurrentImage[] but the picture of a nerd apeared