J4N60


# CHECK OPTIONS

  Tools -> Options:

  Interface language  English
  Units language      English
  Functions style     World
  Decimal symbol      . (period)
  Arguments separator , (comma)
  Font size           14
  Text color          Auto
  Background color    Auto
  Document layout     Pages view


# EXERCISE 1. CALCULATE

Type

  2+2=

If in main Menu

  Calculation -> Auto calculation

is On ([v] checked)

  2 + 2 = 4

Immediately appears, otherwise you have to press F9 .


# EXERCISE 2. BOOLEAN

Type

  2¤3=

You see

  2 (+) 3 = 0


# EXERCISE 3. PLOT

1. Type in function to plot: y ( x <RIGHT> : x ^ 2 <ENTER>

You'll see:

           2
  y(x) := x

2. Select

    Insert -> Plot 2D

  What to plot: y(x)
  Adjust plot with plot tools palette
  Resize: Plot palette -> Scale tool
          <SHIFT> + rotate mouse wheel
          <CONTROL> + rotate mouse wheel

See [1] for details.


# EXERCISE 4. ANIMATION

  1. Set range:

     Type in or copy-paste:

       p:range(-89,89)

     You should see:

       p:=[-89..89]

  2. Define function to animate (named parametric equation) f(p, u) :

       "p must be in argument list"
       f(p,u):tan(p*π/180)*u

  3. Insert 2D plot:

       "first argument must be named as t (frame parameter)"
       "axes are x,y,z"
        f(t, x)

  4. RClick:

       set fps,
       animate on p

Complex example: Planetary gear with internal teeth (help -> examples).

See [2] for detals.


# TASK:

  2-phase motor rotation animated
  3-phase motor rotation animated

Tip:

Plot 2D: Click on the "Equation System" option in the "Functions" paletteto produce a minimum of twofunction entries.  Or copy-paste (line by line)

  f(x):sin(x)

  g(x):cos(x)

  sys(f(x),g(x),2,1)


# LINKS

[1]. Plots:

   https://smath.com/wiki
     /GetFile.aspx?File=Tutorials%2FSMathStudioGraphs2%263DExamples.pdf

[2]. Animations:

    https://smath.com/wiki/Animations.ashx

    https://en.smath.com/forum
      /yaf_postst1293_Animations-tutorial---bases.aspx

    https://en.smath.com/forum/yaf_postst716_Graph-animation.aspx