Recent content by habad

  1. H

    Mathematica Which[] not returning values inside a For loop in Mathematica

    Hello, I am a novice in Mathematica, but insisting to learn it. I would appreciate help in solving the following problem: (*a=1;Which[a==1,x,a==2,b]*) list := List[1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 32, 10] For[i = 1, i < 4, i++, a = list[[i]]; Print[a]...