Quantcast

Training Content

Last modified by
on
Jul 29, 2024, 8:02:44 PM
Created by
on
Jun 30, 2023, 5:49:03 PM
Equations
Data Items
Tags
UUID
672b41ba-176e-11ee-b65f-bc764e203090

Training Outline

  • DEMO: Token Types (Equation, Constant, Calculator, Dataset, Collection, Wikiclip), Admin Tools, Data Analysis Tools
  • BUILD TOKENS: Collection, Equation, Constant, Calculator, Wikiclip

DEMO

Build Tokens

  1. Create ∇ Collection : My First Stuff
    1. Make it Public
    2. Save Collection
  2. Search for "Training Content"
    1. Add to Collection
  3. Create ∇ Equation
    1. "[Your Name] Tri-planter"
    2. Algorithm Tab: Write the following lines in Groovy Code Window.  When you hit return after using "args", vCalc shows the input parameter window below.
      • def a = args.a

      • def b = args.b

      • def c = args.c

      • def d = args.d

    3. Algorithm Tab (search for Heron)

      • drag into code window: Area of a Triangle from Length of Three Sides

        • def area = execEquation("e6cb980b-da27-11e2-8e97-bc764e04d25f",<a>,<b>,<c>) //Area of a Triangle from Length of Three Sides

      • remove <> for a, b, c

        • def area = execEquation("e6cb980b-da27-11e2-8e97-bc764e04d25f",a,b,c) //Area of a Triangle from Length of Three Sides

        • return area

    4. Algorithm Tab (Input Parameter Window on bottom: Notice Datatypes: decimals, integers, strings, vectors, matrices or arrays.  Notice Units: 600+ in over 50 categories)

      • Markup [leave blank]  Label: (a)"Side a of Triangle"                Instructions: Enter the length.                Units: Select Length, Select ft , Check m, cm, in, ft, yd

      • Markup [leave blank]  Label: (b)"Side b of Triangle"                Instructions: Enter the length.                Units: Select Length, Select ft , Check m, cm, in, ft, yd

      • Markup [leave blank]  Label: (c)"Side c of Triangle"                Instructions: Enter the length.                Units: Select Length, Select ft , Check m, cm, in, ft, yd

      • Markup [leave blank]  Label: (d)"Depth of Triangle "                Instructions: Enter the length.                Units: Select Length, Select in , Check m, cm, in, ft, yd

    5. Test Tab

      • Enter values for a= 3, b = 4, c =5 and d =6, and select Pass/Fail

      • Click on circle+ to add the test case

      • Click on play button to execute test.  Answer should be 0.55741824 m²

    6. Algorithm Tab

      • area = area.to("ft^2")

    7. Test Tab

      • rerun test, and answer is 6.0 ft²

    8. Algorithm Tab

      • insert more code after area = area.to("ft^2")

        • def v = area * d

        • v = v.to("yd^3")

        • return v 

    9. Test Tab

      • rerun test, and answer is 0.111111 yd3

    10. Info Tab

      • Check Public box.

      • Wiki Editor: Select Standard Equation Template Click Insert

      • Edit as you wish.

    11. Save Equation

  4. Add to Collection

  5. Create ∇ Constant: Soil Cost

    1. Algorithm Tab

      • def c = 5.26."USD"/1.0."ft^3"

    2. Test Tab

      • create and execute test

    3. Save Constant

  6. Add to Collection

  7. Create ∇ Calculator: My Calc

    1. Info Tab:

      1. Public: check box

      2. Name: [Your Name First Calc]

    2. Layout Tab: Lots of controls on formats, labels and colors.

      1. Select 2 rows and click Update

      2. Search for "soil cost"

      3. Drag onto buttons

      4. Save Calculator

  8. Add to Collection

  9. Refresh Screen

    1. Scroll to bottom 

      • Calculator references 2 pages

      • Calculator used in 1 page

      • Click on Collection

  10. Your Collection

    1. Buttons for equations and constants on right side.

    2. List of all items on bottom.

  11. In a new window Search for Triangle Calculators List

    1. Copy UUID

  12. Your Collection

    1. Info Tab

      1. Insert Wikiclip

        • 0b9e64cc-0ad5-11ee-b65f-bc764e203090

    2. Save Collection

This collection, Training Content, is used in 1 pages
  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.