Z3 Exercises

From ZCubes Wiki
Revision as of 00:05, 20 July 2016 by Jayaram (talk | contribs) (Created page with " *Create 3x4x5x6 array and fill with numbers 1 to 100 *Do same and fill with random numbers. *Do same and fill with cube root of numbers 1 to 100 *Create an equation or f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


  • Create 3x4x5x6 array and fill with numbers 1 to 100
  • Do same and fill with random numbers.
  • Do same and fill with cube root of numbers 1 to 100
  • Create an equation or formula for surface area of a cylinder. Try to do with units. Do this as a function that converts and does it on units supplied by user automatically if possible.
  • Create a function that given the radius and height of a cylinder, returns an array of radius height surface area and volume. Use Greek letters to be similar to formula that are generally used.
  • Do the same for a cone as equations and as a function.
  • Use array programming when needed. Notations can be as close to what are given in normal calculations in real situations.