# Mathematical Experiment 2

Construct the graph of sin(x) with x ranging in [0, 2].
> plot(sin(x),x=0..2*Pi);

Draw a circle given by the parametric equations
x=cos(t), y=sin(t), t[0,2]

> plot([cos(t),sin(t),t=0..2*Pi],scaling=constrained,axes=none);

Draw the graphs of the first six Chebyshev polynomials in the interval [-1,1].

> m:=[cos(x),cos(n*x),x=0..Pi];

> plot({m\$n=1..6},axes=none);

Draw this pretty leaf:

> w:=1+cos(t)/2:z:=t/6-sin(2*t)/12:x:=w*cos(z):y:=w*sin(z):
plot([x,y,t=0..12*Pi],axes=none,scaling=constrained);

Draw the graphs of the polynomials given by the binomial expansions

> restart;

> m:=[x,binomial(100,k)*x^(100-k)*(1-x)^k,x=0..1]:

> plot({m\$k=0..100},axes=none);

Construct he graph given in polar coordinates by

[0,4]> plot(cos(7*t/2)+1/4,t=0..4*Pi,coords=polar,axes=none,scaling=constrained);

Construct this interesting drawing:

> plot(2-cos(3*t)-cos(31*3*t/32),t=0..64*Pi,coords=polar,
numpoints=1000,axes=none,scaling=constrained);

Reference: William F. Rigge, Envelope Rosettes, Amer. Math. Monthly, (1920), p. 152.

> plot(2-cos(7*t)-cos(31*7*t/32),t=0..64*Pi,coords=polar,
numpoints=1000,axes=none,scaling=constrained);

Reference: William F. Rigge, Envelope Rosettes, Amer. Math. Monthly, (1920), p. 154.

Draw this interesting pattern:

> plot(100+t+15*cos(3.05*t), t = 0 .. 200, coords =
polar, axes = none,scaling=constrained);

Construct a gif file animating the function
f(x,t) = sin (x + t)
and include the gif in your web page.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://poncelet.math.nthu.edu.tw/chuan/exp99/2/21.html", "fetch_time": 1495885967000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-22/segments/1495463608953.88/warc/CC-MAIN-20170527113807-20170527133807-00045.warc.gz", "warc_record_offset": 367398093, "warc_record_length": 2017, "token_count": 532, "char_count": 1487, "score": 3.609375, "int_score": 4, "crawl": "CC-MAIN-2017-22", "snapshot_type": "longest", "language": "en", "language_score": 0.539624035358429, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00001-of-00064.parquet"}