Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

In[34]:= a = ParametricPlot[{Cos[t], Sin[t]}, {t, 0, k}, PlotRange → 1];

In[36]:= b = Graphics[Arrow[{{0, 0}, {Cos[k], Sin[k]}}]];

In[40]:= Manipulate[Show[ParametricPlot[{Cos[t], Sin[t]}, {t, 0, k}, PlotRange → 1],


Graphics[Arrow[{{0, 0}, {Cos[k], Sin[k]}}]]], {k, 0.01, 2 * Pi}]

5.7186

1.0

0.5

Out[40]=

-1.0 -0.5 0.5 1.0

-0.5

-1.0

a = ParametricPlot[{r * Cos[t], r * Sin[t]}, {t, 0, k}, PlotRange → 1];

b = Graphics[Arrow[{{0, 0}, {r * Cos[k], r * Sin[k]}}]];


2 chitra [77038].nb

In[41]:= Manipulate[Show[ParametricPlot[{r * Cos[t], r * Sin[t]}, {t, 0, k}, PlotRange → 1],


Graphics[Arrow[{{0, 0}, {r * Cos[k], r * Sin[k]}}]]], {k, 0.01, 2 * Pi}, {r, 0.01, 1}]

5.58059
r

0.67

1.0

0.5

Out[41]=

-1.0 -0.5 0.5 1.0

-0.5

-1.0

In[29]:= a = RandomReal[{3, 5}, 10]


Out[29]= {4.46288, 4.53381, 3.49159, 4.68193, 4.45207, 3.30343, 4.26212, 3.7107, 3.79072, 3.1299}

In[33]:= ListPlot[a]

4.5

4.0
Out[33]=

3.5

2 4 6 8 10
chitra [77038].nb 3

In[30]:= ListLinePlot[a]

4.5

4.0
Out[30]=

3.5

2 4 6 8 10

In[42]:= a = Input["First Number"]


Out[42]= 3

In[43]:= b = Input["Second Number"]


Out[43]= 5

In[46]:= n = Input["number of points"]


Out[46]= 10

In[47]:= t = Tablea + i b - a  n, {i, 0, n}


16 17 18 19 21 22 23 24
Out[47]= 3, , , , , 4, , , , , 5
5 5 5 5 5 5 5 5

In[48]:= ListPlot[t]

5.0

4.5

4.0
Out[48]=

3.5

3.0
2 4 6 8 10
4 chitra [77038].nb

In[49]:= ListLinePlot[t]

5.0

4.5

4.0
Out[49]=

3.5

3.0
2 4 6 8 10

In[50]:= Floor[RandomReal[{3, 5}, 10]]


Out[50]= {4, 4, 4, 3, 3, 4, 4, 4, 4, 3}

In[51]:= RandomInteger[{2, 10}, 5]


Out[51]= {8, 6, 8, 10, 9}

In[52]:= GraphicsPink, PointSize[0.015], PointTable1  n, 0, {n, 1, 20},


AxesStyle → Directive[Thickness[0.004], Black, 15],
Axes → {True, False}, AspectRatio → 0.1

Out[52]=
0.2 0.4 0.6

In[54]:= Graphics[{Green, PointSize[0.015], Point[Table[{2 ^ n, 0}, {n, 1, 20}]]},


AxesStyle → Directive[Thickness[0.004], Black, 15],
Axes → {True, False}, AspectRatio → 0.1]

Out[54]=

0 200 000 400 000 600 000

You might also like