Updated 2017-03-31 14:26:28 by gold

Hi, I'm an old fortran programmer trying to retread. I actually served time on the IBM punch card machines. I collect old fortran books as a hobby. A lot of guys leaving work would give me their old fortran books or sit them by the trashcan. Also I programmed a lot in Javascript. Mostly i work on TCL now because i am visually oriented and think gui can save a lot of time.

14Apr2016. When I first came to the Tcl Wiki, images were required to stored off site to save storage space. I note some of the older image off_sites are powering down and I need help or explanation_how_to page on how to store images at this Tcl Wiki site. I stored some test images, but could not link to them from the wiki page. I spent a lot of time on this website and it seems a shame to lose the Tcl efforts. I'm sure other wiki voyagers are in the same boat. Thanks for any help in rescuing existing offsite images. APN Please see the section on Images in the Formatting Rules page for instructions on how to store and link images on the wiki. gold later on 21apr. I'm going to cut many of my references to offsite images. Can't easily retrieve some images and not sure images add that much. I'll restore what I can. Would like some specifications or suggestions of image type (png etc) and usefull byte size, since have seen arguments on use of jpegs on TCL WIKI.

from ask 12 Ask, and it shall be given # 12

Broken images

HJG 2015-05-20: There are a lot of wiki-pages with broken images,
because external links have expired (many of them from user gold). Does the wiki have a way to check for this, and make a list ?

gold1may2016,Thanks for your help in restoring offsite images. I'm going to cut many of my references to offsite images. Can't easily retrieve some images and not sure images add that much. I'll restore my offsites into onsite WIKI storage, what I can. Would like some posted (approved consensus) specifications or suggestions of image type (png or gif) and usefull byte size on the how_to page. Since have seen arguments on use of jpegs and fuzzies on TCL WIKI. There are some search key words that will pull the older images.


test below
Babylonian Sexagesimal Notation for Math on Clay Tablets in Console Example
Binomial Probability Slot Calculator Example
Biruni Estimate of Earth Diameter Slot Calculator eample
Chinese Fortune Casting Example Demo
Chinese Sun Stick Accuracy for Console Example
Command Line Calculator in Namespace Package Example
Crater Production Power Law Slot Calculator Example
Drake Intelligent Life Equation Slot Calculator Example
Easy Eye Calculator and eTCL Slot Calculator Demo Example, Numerical Analysis 
Ellipse Properties Slot Calculator Example
Fuel Cost Estimate Log Slot Calculator Example
Generic Calculator Namespace Package Example
Heat Engine Combustion and Calculator Demo Example
Human Language Root Words & Lexicostatistics Calculator and eTCL Slot Calculator Demo Example, numerical analysis
Oil Molecule Length Calculator and eTCL Slot Calculator Demo Example, numerical analysis
Oneliner's Pie in the Sky
Paper & Felt Rolls and eTCL Slot Calculator Demo Example
Penny Packing Calculator and eTCL Slot Calculator Demo Example, numerical analysis
Piece wise Profits and eTCL Slot Calculator Demo Example 
Planet Mass Calculator and eTCL Slot Calculator Demo Example, numerical analysis
Poker Probability and Calculator Demo Example
Random Walk Equation Slot Calculator Example
Rectangular Radio Antenna and etcl Slot Calculator Demo Example
Sanskrit Number Words Handling in Formulas and Demo Calculator Example
Sea Island Height Slot Calculator Example
Seaching for Babylonian Triplets Slot Calculator Example
Simple Reliability Slot Calculator Example
Stonehenge Circle Accuracy Slot Calculator Example
Stratographic Years Slot Calculator Example, Age of Earth
Sumerian Equivalency Values, Ratios, and the Law of Proportions with Demo Example Calculator
Sumerian Beveled Bowl Volume and eTCL Slot Calculator Demo Example 
Sumerian Circular Segment Coefficients and Calculator Demo Example
Sumerian Coefficients at the Bitumen Works and eTCL Slot Calculator Demo Example edit
Sumerian Coefficients at the Weavers Factory and eTCL Slot Calculator Demo Example 
Sumerian Coefficients in the Pottery Factory and Calculator Demo Example
Sumerian Construction Rates and eTCL Slot Calculator Demo Example
Sumerian Paint & Bitumen Coating and eTCL Slot Calculator Demo Example 
Sumerian Population Density and eTCL Slot Calculator Demo Example 
Tonnage of Ancient Sumerian Ships and Slot Calculator Demo Example

AMG: Please note that in this Wiki, spaces at the beginning of the line interfere with proper formatting.

What is the meaning of your "#start of deck" and "#end of deck" comments in your code examples? And why do you need a plural set of the comments at the start and end?

gold Like i said, I'm an old Fortran programmer. The multiple start and stop statements including subroutine stop and return statements were used in scanning big reams of Fortran code with 10E5+ lines. I can tell you that obvious stop,end,and return statements are helpful in that size of code. Come to think of it, I have seen lots of TCL wiki code with out end statements, obvious exit paths,obvious return statements, and graphic displays without exit buttons. The advantage of the wiki is that people can cut and paste what they want to use.

Ah, I see. Also, consider that maintaining a consistent code indentation and spacing can help immensely when scanning a block of code, and not just at the start and end of the chunk. Compare the before and after code look here: Example Linear Interpolation Calculator

Much of the wiki code is examples, and many times keeping an example focused on the example, without extras, makes for a clearer presentation. As well, modern GUI's provide out of band exit methods (the X in the mswin title bar, etc.) such that a lack of an exit path and/or exit button does not result in an unrecoverable situation. When the OS already provides a default "exit method" to every running program (and one or more out of band "kill" systems) there is less of a need to include an explicit exit in the code of each program.

aspect The amount of code you're pumping out in here is impressive, and I find some of the topics very interesting, but I'm finding the presentation less than useful. A few pointers, which I hope should be of value to yourself as well as anyone reading (and considering contributing) to your pages:

  • Try to keep the wiki content example-focussed. Having multiple versions of the same long program in one page is distracting and confusing. If you need an online repository for your code I'd suggest using http://github.com/ keeping the wiki page for interesting extracts others can learn from or comment on.
  • Please be consistent with indentation and formatting! Your code will become much more readable to others and easier to maintain for yourself. The Tcl Style Guide (start with the linked PDF) is a good place to start.
  • Wherever you can, breaking out shared functions into a separate library script that can be loaded via source (or better yet package require), will make the library more solid and the main program more readable.
  • If your explanatory commentary can be moved closer in the page to the code it concerns, that will also aid readability. Use inline comments (#) or the "if 0" trick -- an example is diff in tcl

Finally, going mostly by the screenshots (I admit I find the code hard to follow -- see point #2), many of your examples seem to have a common presentation, with a similar GUI consisting of:

  • a set of labelled boxes for user input
  • a "Solve" button which calls your main logic with the inputs as arguments
  • a few "Testcase" buttons to illustrate examples and test the code
  • "About", "Clear" and "Exit" buttons

I for one would love to see the GUI side of the code factored out into a common framework which each example could share. That way the wiki page for each calculator example could be focussed on the logic, looking something more like this:
namespace eval linear_interp {
  set name "Linear Interpolation Calculator"
  set inputs {"First X value" x1 "First Y value" y1 "Second X value" x2 "Second y value" y2 "Solve for x" xx}
  set about "This is Gold's linear interpolation calculator, © 2011
  .. with some more information on how it works and is used, etc"
  set testcases {
    {10. 10. 200. 50. 123.}
    # etc
  proc calculate {x1 x2 y1 y2 xx} {
    return [expr {some magic here to calculate the result}]
load generic_calculator_gui.tcl
generic_calculator_gui linear_interp

As a secondary advantage, your calculator could then without modification be used in other contexts, such as a command line or web tool or automatically invoking all the test cases. Of course, the GUI can also be easily re-skinned to the user's preferences without impacting the main code.

I hope you don't find the above overly critical or discouraging, that's certainly not my intention -- but I do think keeping the above points in mind will make your pages more appealing to other wiki'ers and encourage collaboration .. which is what we're all here for, after all!

gold pasted trial namespace at bottom of [Drake Intelligent Life Equation Slot Calculator Example]

gold Procedures for pretty print on tcl wiki. Found website for removing blank lines online etc(free).One can paste wiki text into the (free) rough-draft editor and get a spell-check. Ased is free editor that has pretty print for TCL scripts.

Any decent programmer's editor should allow you to search and replace on any character in the file you are editing. To remove blank lines (provided they do not contain spaces) just search for two adjacent line ending characters and replace them with one line ending character. I choose to say "line ending character" on purpose, the "line ending character" differs between Unix, Mac, and Windows. If the editor supports regular expression search (many do) then you can also delete lines that contain white space by using a suitable regular expression.

large number values from sumerian,babylon,cuneiform math from clay tablets

kilometers,degrees etc are modern equivalents

decimal /logo transliteration nindanmodern kilometers modern degrees latitudemuseum tablet no.
1 me lim gur 1E5300E5 litersA1924.1278
9 me lim gur 9E52700E5 litersA1924.1278
1 lim lim gur 1E6300E6 litersA1924.1278
12960000no_units60E4 x10 Greek feet= 40 046 400 meters
12960000no_unitsbritish museum
(10 x 60**2) x 60no_units1296000012960000 * 10 * .309 (reed gi) = 40046400 metersIdlib Museum,Syria,C2
no_units1296000012960000 * 10 * .303 (japanese jo) = 39 268 800 metershttp://en.wikipedia.org/wiki/Japanese_units_of_measurement
70*(60**7)no_units1.95955E14nippar text

12 960 000 * 10 * .309 = 40 046 400 (greek feet)

(10 x 602) x 60
 12960000 * 10 * .309 = 40 046 400
  The ratio of a japanese rin to a ri is 10/12,960,000
  The ratio of a japanese shaku to a ri is 6/12,960
  The ratio of a japanese bu to a ri is 10/1,296,000
 a shaku is effectively a japanese foot
  a ri is effectively 3.9 km

  5/6  = 1800/2160
  129600 * .309 * factor = 40046.4
  sumerian foot  129600 * .333 =
  129 600 * .333 = 43 156.8
 12 960 000 * .333 * (11 / 12) = 3 956 040

Note that as you say above that you are using Tcl 8.5.6, then Tcl 8.5 already contains a built-in "lreverse" command, so your proc "lreverse5" above could be deleted, and calls to "lreverse5" can be replaced by calls to the built-in "lreverse" command.

gold Changes. Removed proc lreverse5 and using 8.5 lreverse command. Proc sexagesimalfraction not working right.

The change from lreverse5 to built in lreverse does not appear to be the cause:
% set list [ list 5 3 1 8 9 4 7 ]
5 3 1 8 9 4 7
% proc lreverse5 {l} {
            # KPV
            set end [llength $l]
            foreach tmp $l {
                lset l [incr end -1] $tmp
            return $l
% lreverse5 $list 
7 4 9 8 1 3 5
% lreverse $list
7 4 9 8 1 3 5

The result from lreverse5 and the built in lreverse are identical. Note that you did not change one call in sexagesimal to use the built in lreverse.

The stonehenge audrey holes seem to measure 0.5 degrees. At least some stone circles have a diameter of 32 meters and appear to measure 6/360 part of the sky. Some of medicine wheels in North America have divisions of 28.

Special solar/lunar octagon table

stone circle/structureazimuthunitsaccuracyunitsangular delta(abs)unitswebsite
Northern major standstill Moon rise - 58 degrees0.3degrees65.5degreeshttp://en.wikipedia.org/wiki/Stone_Henge
Southern major standstill Moon rise - 123.5degrees0.3degrees65.5degreeshttp://en.wikipedia.org/wiki/Stone_Henge
Southern major standstill Moon set - 236.5degrees 0.3degrees65.5degreeshttp://en.wikipedia.org/wiki/Stone_Henge
Northern major standstill Moon set - 302 degrees 0.3degrees65.5degreeshttp://en.wikipedia.org/wiki/Stone_Henge
Southern major standstill sun set -133degrees0.3degrees degreeshttp://en.wikipedia.org/wiki/Stone_Henge
Northern major standstill sun rise - 44.7 degrees 0.3degrees degreeshttp://en.wikipedia.org/wiki/Stone_Henge

Azimuth Plotting

First Example

Calculator with big fonts for bad eyes and used on my computer windows desktop. Console show provides the console and a paper tape record of calculations, which can be cut and pasted to a word processor like notepad. Also, program is good example of namespace.
                  # autoindent from ased editor
                  # program " 2 Line Calculator in Namespace"
                  # written on Windows XP on eTCL
                  # working under TCL version 8.5.6 and eTCL 1.0.1
                  # TCL WIKI , 25may2011
                  namespace path {::tcl::mathop ::tcl::mathfunc}
         package provide calculatorliner 1.0
            namespace eval liner {
                proc initdisplay {} {
                    pack [entry .e -textvar e -width 50 ]
                    bind .e <Return> {catch {expr [string map {/ *1./} $e]} res; set e $res} ;# RS & FR
            proc linershell {} {
                namespace import liner::*
                .e configure -bg palegreen
                .e configure -fg black
                .e configure -font {helvetica 50 bold}
                .e configure -highlightcolor tan -relief raised -border 30                                   
                focus .e
                button .b -text clear -command {set e ""} 
                button .c -text exit -command {exit} 
                pack .b .c   -side left -padx 5
                . configure  -bg palegreen
                wm title . "Suchenwirth 2 Line Calculator"
            console show

In some of the Sumerian literature, the constants for gold are called tube of gold or kus of gold, which possibly refer to a wire or rod. The Sumerians were experts at gold wire jewelery and used wire etc for trade in the early days. For example, the gold constant was 1:48 or decimal 108 in unspecified units. From modern estimates of density, a gold rod of 1mm diameter about a cubit (50cm) would have 0.15158 modern grams per cubit or 0.904 gin per cubit. There were about 8.3 metric grams in a Sumerian shekel or gin. Prospective formula is alpha times circumference squared equals 2 sila. sexagesimal 4:48 or decimal 288 is reciprocal 0;0,12,30 or decimal 12/3600+30/216000. alpha*circumference squared eguals 2 sila. height is circumference * sqrt(thickness/alpha) 1mm diameter silver wire of one cubit length .7854 * 10.5 gm/cc = 0.08246 gm/cm 0.08246 gm/cm, mass/length 0.08246 gm/cm (1gin/8.33grams) (49.7 cm/cubit) = 0.491 gin/cubit or sexagesimal 0;30 gin/cubit 288/6300=0.04571 gin/nindan 12*288/6300 equals 0.548 gin/cubit constant has units nindan*nandin/( volume in sar) formula is area*density=mass/length

In some of the Sumerian literature, the constant for gold are called tube of gold or kus of gold, which possibly refer to a wire or rod. The Sumerians were experts at gold wire jewelry and used wire for trade in the early days. Several remaining tablets give coefficients for the metals and the thickness of coefficient. For example, the gold constant was 1:48 or decimal 108 in unspecified units. From modern estimates of density, a gold rod of 1mm diameter about a cubit (50cm) would have 745.75 modern grams per cubit or 82 Sumerian grains per cubit. Normally the Sumerians measured gold, silver, and electrum in shekels or gin. There were about 8.3 metric grams in a Sumerian shekel or gin. The thickness of log coefficient is sexagesimal 4:48 or decimal 288. The reciprocal thickness of log coefficient is 0;0,12,30 or fraction 12/3600+30/216000, or decimal 0.003472 . An ancient math problem ref. Thoureau Dangin helps define the log thickness coefficient on a cylinder as the thickness of log coefficient (alpha) times circumference squared ( 0;25 or fraction 25/3600) equals the answer ( 2 sila). From inference on the math problem, the units of alpha are sila/(nindan*nindan) or volume per length*length. This method sets up a reference unit on the cylinder such that one nindan of the cylinder length approximates 2 sila. For example, the ratios for a half nindan length would be 1/2 nindan/1 nindan is as 1 sila to 2 sila. This method would have a possible use in breweries, a nindan stick and the circumference of the vat could used to find volume in a vat of beer. Continuing further with other uses for the thickness of log coefficient, the volume per length times density or mass per volume gives mass per length. Dividing the thickness constant by the gold constant gives the gin per unit length or gin per nindian. Multiplying by twelve gives the gin per cubit.

Although subject to interpretation of Sanskrit text, the Sanskrit number words were used in Vedic formulas which are prologues to the atomic theory. #developed from instances of zero/error handling in the calculators on this TCLwiki.For example, an attempt to divide by zero will produce an error (1/0). In numerical analysis, erratic conditions can develop from subtracting a set of nearly equal numbers or very small numbers approaching precision limits (1.002-1.001 or 0.00002 - 0.00001 or [1.002-1.001]/[0.00002 - 0.00001] ). If divide by zero is a problem error, sets of numbers may contain zero values or numbers that approach zero value from the negative side (eg. 0.0001,0.0002,-0.0001,0.0003). Also, clipping,quantization, or reduction of real numbers may produce zero. values ( eg. 0.0001 at precision .02 clips to zero).Errors can be avoided using control ps for testing division by zero, offsetting numbers from zero, deleting zeros from sets of numbers, or atleast warning the operator that the calculations are approaching erratic conditions.

For the push buttons, the recommended procedure is push testcase and fill frame, change entries , push solve, and then push report. Report allows copy and paste from console, but takes away from computer "efficiency".

In planning any software, there is a need to develop testcases.

Testcase 1.

  operation    result
  1/0          Inf, defined as error condition here   0/0
  0/1          zero, defined as correct


The Indian astronomy texts of 620 CE. used multiple Sanskrit words for zero (and numbers 1-9). The Sanskrit aternate words for zero were kha,ambara,akasa,antariksa,gagana,abhra,viyat,nabhas,sunya,bindu.The Sanskirt word sunya (void) is more common in the online wordlists. In transliterated Sanskrit , the decimal number 1000 could be expressed as left to right (0001) viyad(sky or zero)/ambar(atmosphere or zero)/akasa(space or zero)/eka(1). #Trying to find some earlier estimates of atomic theory from other cultures. The Svetasvatara Upanisad of Vedic literature indicated an atman was one ten thousanth of the diameter of a human hair, expressed as (1/00)*(1/100). or 10-4 .A human hair averages 80 microns or 8E4 nanometers.An atman would be 8E4/1E-4 or 8 nanometers. Since an insulin molecule is 5 nanometers and a hemogoblin molecule is 6 nanometers, an atman of 8 nanometers compares to human molecules within an order of magnitude.Possibly, the Sanskrit word atman (soul) was derived from atman (breath) and in some texts the root word ama (mother) seems associated or used as meaning soul. The Sumerians used oil films in bowls for divination purposes under tutoring of gods Enhil, Enki, and Ea, ref WG. Lambert (Enmeduranki,pg115). Early reference to atomic theory in English.It is as easy to count atomies as to resolve the propositions of a lover. Shakespear,As You Like It " 1590 CE. This Shakespear quote is believed to be derived from the Roman Lucretius, 20 CE.
 set sanskritword "1 2 3 4 5 6 7 8 9 0 , . / +"

eka dvi tri catur panca sat sapta asta nava sunya , . / + 1% dvinavaambarasatambarapancanavaastaasta 1%

Oil Molecule Length, Slot Calculator Example \

This page is under development. Comments are welcome, but please load any comments in the comments section at the middle of the page. Thanks,gold

20 drops = 1 milliliter 1 drop = 0.05 milliliter gold Here is an eTCL script to estimate the length of an oil molecule.
        # pretty print from autoindent and ased editor
        # oil molecule equation
        # written on Windowws XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI , 20jan2012
        package require Tk
        frame .frame -relief flat -bg aquamarine4
        pack .frame -side top -fill y -anchor center
        set names {{} {initial drop volume mm3} }
        lappend names {diameter oil slick millimeters:}       
        lappend names {number of atoms}
        lappend names {answer nanometers:}
        lappend names {answer nanometers:}
        foreach i {1 2 3 4 5 } {
            label .frame.label$i -text [lindex $names $i] -anchor e
            entry .frame.entry$i -width 35 -textvariable side$i
            grid .frame.label$i .frame.entry$i -sticky ew -pady 2 -padx 1
        proc about {} {
            set msg "Calculator for Oil Molecule Dimension .
            from TCL WIKI,
            written on eTCL "
            tk_messageBox -title "About" -message $msg
         proc pi {} {expr acos(-1)}

           proc calculate {     } {
            global answer2   
            global side1 side2 side3 side4 side5 
            set term1 0
            set term2 0
            set term3 0            
 set height  [ expr {  (4.*$side1*1E6)/([pi]*$side2*$side2)  } ]
            set side4 $height
            set side5 [ expr { ($side4/$side3)} ] 
            return $side5
        proc fillup {aa bb cc dd ee } {
            .frame.entry1 insert 0 "$aa"
            .frame.entry2 insert 0 "$bb"
            .frame.entry3 insert 0 "$cc"
            .frame.entry4 insert 0 "$dd"
            .frame.entry5 insert 0 "$ee"            
        proc clearx {} {
            foreach i {1 2 3 4 5 } {
                .frame.entry$i delete 0 end
        proc reportx {} {
            global side1 side2 side3 side4 side5 
            console show;
            puts " $side1     "
            puts " $side2    "
            puts " $side3    "
            puts " $side4    "
            puts " $side5    "
            puts "answer   $side5 "
        frame .buttons -bg aquamarine4
        ::ttk::button .calculator -text "Solve" -command { calculate   }
        ::ttk::button .test2 -text "Testcase1" -command {clearx;fillup .005 60. 12. 1.76 .17 }
        ::ttk::button .test3 -text "Testcase2" -command {clearx;fillup .065 220. 12. 2. .17 }
        ::ttk::button .test4 -text "Testcase3" -command {clearx;fillup .125 280. 12. 2. .17 }
        ::ttk::button .clearallx -text clear -command {clearx  }
        ::ttk::button .about -text about -command about
        ::ttk::button .cons -text report -command { reportx }
        ::ttk::button .exit -text exit -command {exit}
        pack .calculator  -in .buttons -side top -padx 10 -pady 5
        pack  .clearallx .cons .about .exit .test4 .test3  .test2   -side bottom -in .buttons
        grid .frame .buttons -sticky ns -pady {0 10}
        . configure -background aquamarine4 -highlightcolor brown -relief raised -border 30
        wm title . "Oil Molecule Dimension Calculator "

There are coefficients for concave square figures, which are of uncertain shape. These coefficients of transverse length 1 and area coefficient 0;26:26 or 0.43988. For a unit circle inscribed inside a unit square, the total area of the bits in the four corners is (area of square) - (area of circle), 1*1-.5*pi*.25*.25, 1-0.78539, decimal 0.2146. For a possible area formula, area is constant*transverse*transverse, 0.43988*1*1 or 0.43988 area units. Hence, eight of the corner bits or 2*0.2146 or 0.4292 would be closer to the formula result. Other coefficients and possible other geometric figures refer to short transverse of 0;33,20 (decimal 0.5555) and long transverse of 0;48 (decimal 0.8) with an area constant of 0;53,20 (decimal 0.8888) and a concave triangle of 0;15. For a possible area formula, area is constant*transverse*transverse, 0.8888*.8*.8 or 0.5688 area units. If a generic formula for is N1 * s. transverse * l. transverse equals area units, then rearranging terms gives N1 equals s. transverse * l. transverse / area units. N1 = 0.5555*0.8/0.5688 or 0.78. The simple shapes such as triangles, rhombus, and trapezoids usually have a factor of 1/2 involved. One can factor out 0.78 as 1.56 * 0.5 or even (pi/2) * 0.5 for a semicircle. What about an hourglass figure with 2 back to back concave?

Some of the ship constants range from sexagesimal 0:05 to 0:12 or decimal fractions 5/60 to 13/60. The reciprocal constant for the Akkadian long ship (elippi or elonga type) was listed as 0;07:13.The ship constant times ship length cubed gives ship volume. The ship constant times ship length cubed times density gives ship mass (eg. cargo mass).

In planning any software, it is advisable to gather a number of testcases to check the results of the program.
pseudocode: enter ship length,ship constant,density
pseudocode: ship constants of 5/60, 6/60, & 7/60 fractions    
pseudocode: answers are ship volume, cargo mass
pseudocode: go/ no_go condition
  (7/60)* [(ship length)**3]  = 0.1166 cubic units 
  (7/60) *[ 1 cubit**3] * 740 kg/[cubits**3] = 74    kilograms
  If cargo mass is greater than ship b., flag go/no go .

Testcase 1.

The trading ship hull has a length of 18.3 meters, beam of 3.96 meters, and a body height of 1.82 meters. With normal loading, the draw is 0.914 meters and the freeboard is 0.914 meters. The displacement is 30,000 kilograms with a hull weight estimated at 10,000 kilograms. The float or potential cargo is 20,000 kilograms. The surface area of the deck was estimated to be 46.4 square meters. The perimeter of the entire deck was estimated to be 44 meters. The arclength on one side of the deckship arclength is 22.65 meters or 45.57 kus, which was used in Sumerian calculations. Allowing for crew, spare consumables, and equipment at 8,000 kilograms, this is believed to be a "20 gir ship" with a cargo of 12,000 kilograms, 6000 liters (= 20 gir units), or 12,000 rations of grain. The normal ship crew is 30 rowers, 4 steermen, and 3 officers for a forty day cruise. Two rowers each are assigned to a 20 foot oar. Also, there are 2 steering oars at the back of the ship. Under oars alone, the trading ship has a speed of 6000 meters per hour. Under sail alone and ideal conditions, the speed is 160 kilometers per day or average 6600 meters per hour. However, the trading ship is rarely under power at night.
0.5*18.3*3.98=36.4 sq meters
deck area 36.4  sq. meters
radius figure  12.727922 meters
ship arclength is 22.65 meters or 45.57 kus.
trading ship is 64 gurs by modern rating formula.
liter wheat = 0.78 kg
liter barley = 0.62 kg
constant*sq. deck area = silas?
 7/60 * 371 * 371 = 16058 silas, 
16058 silas * 1 gur/300 sila = 53 gur
95 sq.cubits*95 liters sq cubit/300 liters/gur
=30 gurs

Testcase 2.

The grain storage ship has a length of 29.2 meters, beam of 9.7 meters, and body height of 3.96 meters. The deck area of the grain ship approximates 0.5*29.5*9.7 or 143 sq meters. The grain ship arclength is 36.14 meters or 72.7 kus. The displacement is 245,000 kilograms with a hull weight estimated at 82,000 kilograms. The float or cargo is 163,000 kilograms. The storage ship allows for crew at 6,000 kilograms, spare consumables at 73,000 kilograms, and equipment at 48,000 kilograms. The storage ship is believed to be a "60 gir ship" with a cargo of 36,000 kilograms, 18,000 liters (= 60 gir units), or 36,000 rations of grain. The normal ship crew is 50 rowers, 5 steermen, and 5 officers for a ninety day cruise. Under oars alone, the storage ship has a speed of 4000 meters per hour. Under sail alone and ideal conditions, the speed is 160 kilometers per day or average 6600 meters per hour. There are 2 steering oars at the back of the ship. The grain ship hull has a length of 25 meters, beam of 6 meters, and a body height of 4 meters. With normal loading, the draw is 2 meters and the freeboard is 2 meters.
grain ship: 58.4 cubits
935 sq cubits.
59.1 cubits long
grain ship arclength is 36.14 meters or 72.7 kus.
grain ship is 585 gur, by modern formula
deck area of grain ship approximates 0.5*29.5*9.7 or 143 sq meters
constant*sq. deck area = silas?
sq cubits deck area
996.8*95literspergur*/300=315.4  gurs
92.4690 sq. meters
25 meters =35 cubits
deck area = 349 square cubits

Testcase 1., Sumerian coefficients on ships

trading ship 1 meters feet grain ship 2 meters feet
length 18.3 60.024 length 29.2 94.608
beam 3.96 12.9888 beam 9.7 31.428
body depth 1.82 5.9696 body depth 3.96 12.8304
draw 0.914 2.99792 draw 2 6.48
freeboard 0.914 2.99792 freeboard 2 6.48
deck perimeter 40 131.2
deck arclength 20 65.6
Estimates,other units < < < < <
tonnage formula 82.4447185831527 Eng.tons
cargo deadweight 53.8648113862264 Eng.tons
hull weight 10 1000* kg hullweight 82 1000*kg
deck surface area 92.5 sq meters deck surface area 243.3 sq meters
crew mass 8 1000*kg crew mass 6 1000*kg
equipment 8 1000*kg equipment 48 1000*kg
officers 5 men officers 3 men
rowers 50 men rowers 30 men
steersmen 5 men steersmen 4 men
sailing (alone) speed 6600 meters/hour sailing (alone) speed 6600 meters/hour
rowing speed 6000 meters/hour rowing speed 4000 meters/hour
sailing only travel 160 km/day sailing only travel 160 km/day

Testcase 3., Sumerian coefficients at the basket factory

Sumerian coefficients at the basket factory
coefficients english decimal comment
in base 60 name /fraction
6 coefficient reed bundle 6 constant of a reed-bundle, may be used as reciprocal (1/6)
7;12 bundles in pack of reeds 432 constant of a reed bundle. 432 units, bundles of reeds
04:58:00 reeds conv to baskets 298 possibly 298 baskets from 432 bundles of reeds
40 portion of basket (40/60) 40/60 portion of basket from one reed bundle
24 poss. haystack (24/60) possibly 24/60 onto floor/roof, possible haystack to dry reeds
20 poss. price of reeds 20 possibly 20 manas of reeds cost a silver shekel
0;3:45 coverage area for mat 0.0625 reed bundle into reed mat covering 0.0625 portion of surface sar
0;03:36 straw constant 0.06 straw bundle into straw mat .06 portion of surface sar
12 hours of workday 12 common to several accounts and math problems
1;39 basket surface equiv. 0.02777 reed bundle equivalent to a mat of 0.02777 surface sar
5;20 reed bundle basket conv. 320 320 baskets equivalent to 480 bundles of reeds
1 indiv. basket to reed conv. 1 one big pannum basket (60 silas) per reed bundle
10 daily pay for skilled worker 10 10 pieces per day, common to several accounts and math problems
3 3 baskets a day 3 expected output of one worker a day, 3 big pannum baskets
3 3 day, mat for 40 gur boat 3 maybe a sail or tarred deck mat,poss. equivalent to 9 sq. meters
4.5 4.5 day, mat for 60 gur boat 4.5 maybe a sail or tarred deck mat, poss. equivalent to 13.5 sq. meters
Note: Some of the equivalents at the bottom are not in coefficient tables, but are taken from accounts or Note: Possible large reed units (480 bundles) are a wagonload or
math problems, alternate info needed to solve some problems. water dory load. Possibly 20 manas of reeds was a manload from the swampy coast.

Testcase 4., Sumerian coefficients at the shipyard

Sumerian ship name Sumerian rated capacity displacement volume hull & equipment vol. proportional hiring fee proportional hiring fee length beam depth side arclength L/B ratio modern tonnage rating modern cargo rating
plus comparisons ship capacity, gur units gur units, (5/3)*capacity gur units, (2/5)*displacement liters of barley per day silver shekels per day meters estimated meters estimated meters estimated meters estimated estimated tonnage volume m**3 cargo vol. m**3
gis magur 120 120 200 80 240 20 40 13.33 4 49.50 3 568.70 341.22
gis magur 60 60 100 40 120 10 20 6.66 2 24.75 3 66.27 39.76
gis magur 50 50 83.33 33.33 100 8.33 16.66 5.55 1.66 20.62 3 37.61 22.57
gis magur 40 40 66.66 26.66 80 6.66 13.33 4.44 1.33 16.50 3 18.80 11.28
gis magur 30 30 50 20 60 5 10 3.33 1 12.37 3 7.68 4.60
gis magur 20 20 33.33 13.33 40 3.33 6.66 3 1 8.25 2.22 4.52 2.71
gis magur 10 10 16.66 6.66 20 1.66 3.33 3 1 4.12 1.11 2.2 1.32
gis magur 5 5 8.33 3.33 10 0.83 1.66 1.7 1 2.06 0.98 0.59 0.35
comparisons below < < < < < < < < < < <
Phoenician trading ship 5.8 9.66 3.86 11.6 0.96 18.3 3.98 1.82 22.64 4.59 32.13 19.28
Cyprus trading ship 6.5 10.83 4.33 13 1.08 15 5 2 18.56 3 36.52 21.91
Egyptian punt 8.8 14.66 5.86 17.6 1.46 20.3 4.9 2 25.12 4.14 48.93 29.36
Greek trireme 12.19 20.31 8.12 24.38 2.03 39.6 5.5 1.25 49.00 7.2 67.70 40.62
Roman grain ship 52.9 88.16 35.26 105.8 8.81 29.2 9.7 3.96 36.13 3.01 292.74 175.64
Viking Raider 3.89 6.48 2.59 7.78 0.64 17.4 2.6 2 21.54 6.69 21.63 12.98
American Schooner 87.9 146.5 58.6 175.8 14.65 44.5 10.66 3.88 55.07 4.17 488.29 292.978512690728
English Brig 55.6 92.66 37.06 111.2 9.26 38.3 7.93 3.89 47.40 4.82 308.89 185.33
American Clipper (giant) 1428 2380 952 2856 238 92.96 16.15 18.3 115.04 5.75 7933.85 4760.31
Liberty cargo (1944 & steel) 1146 1910 764 2292 191 133.05 19.203 8.69 164.66 6.92 6370.54 3822.32

Testcase 5., Sumerian coefficients at the bitumin refinery

coefficient transliterated english possible decimal /fraction
15 igi.gub.esiri.e coefficient refined pitch 15/60
16 igi.gub.esiri coefficient raw pitch 16/60
15 ssa esiri coefficient pitch 15/60
12 ssa esiri coefficient (refined?) pitch 12/60
10 45 06 ssa ina ki-ri-im coefficient (refined?) pitch 0.1794
15 ssa esiri ? coefficient (raw?) pitch 15/60
15 ssa esiri-e-aIt coefficient refined pitch 15/60
2.5 barig (of) esir-e-a price wet pitch 2.5 barig for 1 shekel , URIII
10 gu (of) esir-had price dry pitch 10 gu for 1 shekel , URIII
12 gu (of) esir-had price dry pitch 12 gu for 1 shekel, URIII
4 ban (of) esir-had price dry pitch 4 ban for 1 shekel, Babylon 1900 BC

Note: esir-e-a (bitumen watery) measured by barrels ( or jars) of 60 liters eq. esir-had (bitumen dry) measured by weights of 30 kilogram (manload). Any coefficient calculation would have to account for units of wet (ŠE system Š* for wet capacity) or dry (EN system E)

In crude oil, the tar fraction from 10-14 %, 5.25 kg to 7.3 kg out of 52.5 kilograms of converted barig 60 liter unit. Babylon sold 40 liters of dry pitch (esir had) for 1 silver piece and 60 liters of construction and waterproofing pitch for 1 silver piece. If price is measure of petroleum fractions for heavy (esir a) fraction and tar fraction, the tar fraction was 40 liters (for a shekel)/ 60 liters (for a shekel) , 2/3, or 40/60 of the heavy esir a fraction. The texts mention both boiling/cooking and (implied) sun dry. Suppose that the Babylon products were derived from successive boiling or sun-dry processes, then a crude production line or process could be outlined: 100 liters crude oil > 85 liter lamp oil > 60 liters construction & waterproofing pitch > 40 liters dry pitch. Starting with 100 per cent, boiling would remove spare water impurities, ( straining) plant matter,gasoline, and naphtha, leaving about 85 percent for lamp fuel (eg. kerosene) and medicine. Further boiilg would remove kerosene and some mineral oil leaving 30 percent of the original crude oil for a heavy oil/pitch fraction (esir a) for waterproofing woven products and construction of floors, walls, and waterproofing bricks. The next stage would boiling or drying the heavy oil/pitch into the 20 percent residue called esir had. The conjecture here is that esir a was the feedstock for esir had. Esir had was used in crafts as a cement or mixed with stone powder as a sort of moldable plastic. Possibly, esir had was used as fuel in brick kilns, smelters, and other industrial processes.
   *mathematical coefficients of bitumen, Paul BRY (01-2002)7

possible fractions left at boiling or sun dry processes.
100 liters crude oil > 85 liter lamp oil > 60 liters construction & waterproofing pitch > 40 liters dry
modern fractions, no cracking
product fraction % starting 100% Babylon 100-% Cuneiforn name Bablylon use or comment
gasoline 1.7 98.3 no reported use
naptha 14. 84.3 85 naptum (fire oil)
kerosene 34 50 60 naptum (fire oil)lamp oil, medicine
bunker oil 18 32.3 30 esir a (wet pitch waterproofing,construction
tar,pitch,wax 15 17.23 20 esir had dry pitch
losses 12 5 5
total 100

Table of Sumerian Ship Coefficients etc.

coefficient in base 60 transliterated english possible decimal /fraction comment
0;13:15 ma-gur coefficient ship (for) area 13/60+15/3600 for geometric area of barge figure, derived from 90 degree c. sector
0;13:20 ma-gur coefficient ship (for) area 13/60+20/3600 for geometric area of barge figure, derived from 90 degree c. sector
0;13:20 se (barley grain) coefficient (for) seed area (barge equal?) 13/60+20/3600 for geometric area of seed figure, derived from 90 degree c. sector, most advanced math from Susa & iron age Sumeria
45 ma-gur coefficient ship (for) area ratio? 13/60+20/3600 for geometric (barge area/sector area) of barge figure, derived from 90 degree c. sector
16 in alpim coefficient ox-eye (for) area 16/60 for geometric area of barge figure , derived from 120 degree c. sector
0;16:52:30 in alpim coefficient ox-eye (for) area 16/60+52/3600+30/21600 for geometric area of ox-eye figure , derived from 120 degree c. sector, most advanced math from Susa & iron age Sumeria
5 sa gis magur (wood boat) conversion coefficient (for) ship capacity 5 coefficient*nindan*nindan=volume gur, early? age math
6 sa gis-ma-la conversion coefficient (for) ship capacity in gur/sar 6? coefficient*nindan*nindan=volume gar, middle? age math
7:12 elepuum (long ship) conversion coefficient (for) ship capacity in gur/sar 7+12/60? coefficient*nindan*nindan=volume gur, most advanced math from Susa & iron age Sumeria
0;4:48 e-kisib-se coefficient (for) thickness of log (cylinder capacity) 4/60+48/3600 possibly coefficient*cubit*cubit=volume silas
45 a-bal coefficient for bucket 45/60 possibly area or volume of irrigation bucket
30? nus (egg)? conceptual coefficient for egg volume,not seen on tablets 30/60? thinking point for sphere volume,not seen on tablets, (pi/6)*D**3 approx. (30/60)*D**3, found one Egyptian statement that cylinder volume oc egg?

the other hand quotas which must have been set in a more esoteric fashion, such as the 15 workdays expended per gur capacity in barge construction (a barge of 30 gur capacity shoud be built with 450 workdays) attested in TCL 5, 5673 (MVN 2, 3 seems to record a quota of ca. 10 days per gur capacity). 4·3) KWU p. 132 c. F. Thureau

Sumerian coefficients at the trades

daily work of one man
in base 60 translitered name english decimal /fraction reciprocal comment
0:12 sa has-as-bi coefficient it's 12/60 5 possibly making 5 ration bowls a day , pottery
4 sa dug bi coefficient rate 60/15 15/60 making 4 ration bowls a day , pottery
3:45 sa pi-ti-iq-ti coefficient wall high 3/60+45/3600 16 raising mud wall, 3/60+45/3600 surface a day
20/60 sa sag coefficient making bricks 20/60 60/20 making 240 bricks a day or 20/60 sar
1:30? igi.gub gis coefficient wood funiture 1+30/60 90/60 1.5 days on task, pegging planks, making door, bed or chair a day
40/60 sa gis-ig coefficient wood door 40/60 60/40 2/3 door a day, planing wood and pegging planks
3 sa gis pannum coefficient wood crates 3 20/60 3 crates a day, pegging planks, pannum measure crates
7:26 sa gis coefficient making wood plank surface ~7/60 ~ 60/7planks & crates ,daily 3crates*6sides*.497*.497= 4.44 sq.m., 4.44/36 = decimal 0.123 sar or 7/60+ 23/3600 sar daily

(under proofreading) The research made some trial calculations with density of bronze from 1 )modern density values and 2) ancient density values from the Old Babylonian coefficients. For the modern density values in kilograms per cubic meters, the values were tin (7176),bronze (8189), and copper (8890). Using r1:1 as the copper:tin ratio, the generic formula was tin_density*(1/(r1+1))+copper_density*(r1/(r1+1)=bronze_density. Multipling (ri+1) term and substituting, 7176+r1*8890=8169+r1*8169, and combining r1*99.3=721. The alloy ratio r1 for the modern bronze density value was 721/99.3, 7.26. (under proofreading)

In the eTCL calculator, kilograms are used with the price ratios of copper (1/90) and tin (1/20) for UrIII. From the trial calculations, these price ratios were transferred correctly to kilograms of silver. The price table contains redundant entries from different texts. However, the trade values or price ratios were undoubtedly different in different eras, countries, and texts.

Pseudocode and Equations

  Sumerian price in silver = [/ liters 300.]
  Sumerian price in liters grain = [* silver 300.] 
  # 1 silver piece = 1 gur = 300 liters of grain
  liters = [* volume_in_cubic_cm .001]
  original copper mass + original tin mass - product mass = smelter loss 
  original metal mass - product mass = smelter loss
  original metal mass * average refining loss in percent= refining loss 
  original metal mass - refining loss = product mass
  30 to 40 kg of charcoal for 1 kg of copper, rule of thumb (for smelting copper in raw ore)
  original metal mass * price ratio in silver 1/N =  price in silver
  6 bundles or 60 kgs of reeds for 1/2 mana of copper, rule of thumb
  120 manas or 60 kgs of reeds for 1/2 mana of copper, rule of thumb
  bundle of reeds was 20 manas  or 10 kg 
  price? = raw materials + labor  +  profit
  price? = raw materials + heat process
  price? = raw materials + labor 
  average price per unit  = revenue  / units sold

Table 1 , UrIII Prices

UrIII Metal pricesper silver shekel etc country, era
quantity value comment, if any
copper 3 minas= 180 shekels Babylon, Esnunna Code prices, 1900 BCE, for comparison
copper 1.5 minas= 90 shekels NeoSumerian, UrIII, circa 2300 BCE
copper 80 shekels NeoSumerian, UrIII, circa 2300 BCE
tin 12 shekels NeoSumerian, UrIII, circa 2300 BCE
tin 20 shekels NeoSumerian, UrIII, circa 2300 BCE
red gold 15 shekels NeoSumerian, UrIII, circa 2300 BCE
gold 7 shekels NeoSumerian, UrIII, circa 2300 BCE
gold 20 shekels NeoSumerian, UrIII, circa 2300 BCE

Table 2 , OB Prices

O.B. Metal pricesper silver shekel etc country, era
quantity value comment, if any
iron 8 shekels Southern Mesopotamia, Old Babylonian period
iron 12 shekels Mari, Old Babylonian period
iron 40 shekels Assur, Old Babylonian period
gold 3-6 shekels Southern Mesopotamia, Old Babylonian period
gold 4-6 shekels Mari, Old Babylonian period
gold 4-8 shekels Assur, Old Babylonian period

Table 3 , Price and Exchange ratios

Metal price ratios for comparison country, era
quantity value comment, if any
silver/gold price 10:1 NBC6641,NeoSumerian, UrIII, circa 2200BCE
silver/gold price 10.2:1 Yale YBC13418A,NeoSumerian, UrIII, circa 2200BCE
copper/silver price 9:1 Ancient Egypt, New Kingdom
tin/copper price 6.6:1 Athens, Greece, circa 500BCE
silver/gold exchange ratio 12:1 Ancient Rome, Augustus reign, 30BCE

Table 4 , Old babylonian coefficients , comparison metal density

metal etc old babylonian coefficients talents/sar manas/sar kg/sar OB. coefficient modern,kg/m**3 comment
metal etc 3600 60 1 talents/sar manas/sar kg/sar kg/cubic meters kg/cubic meters comments
gold (electrum?) 1_48_0 6481 388860 193535.622 10751.979 19302 gold and silver alloy
gold 2_15_0 8100 486000 241882.2 13437.9 19302
lead 1_52_30 6720 403200 200672.64 11148.48 10989
silver 1_36_0 5790 347400 172900.98 9605.61 10492
iron 1_12_0 4320 259200 129003.84 7166.88 7208
copper 1_12_0 4320 259200 129003.84 7166.88 8890
tin 1_20_21 4821 289200 143934.8 7996.4 7176
bronze 1_20_0 4800 288000 143964.702 7998.039 8169
brick 0_12_0 741 44460 22127.742 1229.319 1600 possibly light adobe
alulutum-mineral: 0_20_24 1200 72000 35834.4 1990.8 2000

Testcases Section

In planning any software, it
        # pretty print from autoindent and ased editor
        # Ship length from arclength and ship beam
        # written on Windows XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI , 17jul2013 
       package require Tk
       console show
        proc shiplengthx { a b } {
            set length  [expr { sqrt($a*$a - (16./3.) *$b*$b*.5*.5 )}]
            return $length
        lappend shiplist [ shiplengthx 3 .68 ]
        lappend shiplist [ shiplengthx 6 1.35 ]
        lappend shiplist [ shiplengthx 9 2.03 ]
        lappend shiplist [ shiplengthx 12 2.7 ]
        lappend shiplist [ shiplengthx 15 3.38 ]
        lappend shiplist [ shiplengthx 18 4.05 ]
        lappend shiplist [ shiplengthx 21 4.73 ]
        lappend shiplist [ shiplengthx 30 6.75 ]
        lappend shiplist [ shiplengthx 18 5.12 ]
        puts " $shiplist"
   # pseudocode can be developed from rules of thumb.
    pseudocode: enter triangle height ,triangle width , penny or coin diameter
    pseudocode: rules of thumb can be 3 to 15 percent off, partly since g..in g..out.
    pseudocode: packing pennies in equilateral triangle,
    pseudocode: base of triangle 10 pennies wide.
    pseudocode: height of triangle 20 pennies tall
    pseudocode: pennies will be paced in layers equal to width of diameters, non optimal spacing
    layers diameter of coin, initially 10 coins wide
    find width of every stack  for each  stack layers
    foreach layer {1 2 3 ... N coins high} {calc. coins} 
    pack number of circles in each layer,  short of sides,
    add circles  to total, when finished print result
    need  console show
    set addlayer 0
    set level 0
    set numberpennies 0
    incr $addlayer
    set  level [ expr { $level +$addlayer } ]
    set width  [ expr {  2.* 10.* asin($level/$width) } ]
    set numberpennies  [ expr { $numberpennies+ int($width) } ]
   pseudocode: need test cases > small,medium, giant
   within range of expected operation.
   pseudocode: are there any cases too small or large to  be
  pseudocode: Could this be problem similar to grains on      

        # counting pennies in equilateral triangle
        #   eTCL console example program
        # written on Windows XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI , 18jul2013 
        package require Tk
    console show
    set addlayer 0
    set level 1
    set numberpennies 0
    set width 10
    # height is 20 pennies
    foreach layer {1 2 3 4 5 6 7 8 9 10 11 12 14 16 17 18 19  20} {
        incr $addlayer 1
        set  level [ expr { $level +$addlayer } ]
        set sintarget [ expr { 1.*$level/$width } ]
        set width  [ expr {  2.* 10.* asin($sintarget) } ]
        set numberpennies  [ expr { $numberpennies+ int ($width) } ]
        puts " $numberpennies   "

        # pretty print from autoindent and ased editor
        # Ship beam  from 1/4 ship length
        # accepts multiplication factor N*list
        # example as list of Sumerian ship lengths
        # and dividing by 4 for poss. ship beam
        # (max width)
        # written on Windows XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI , 24jul2013 
        package require Tk
        namespace path {::tcl::mathop ::tcl::mathfunc}
    console show
       proc multiplylist { factorx args } {
        set factor_x " is constant or expression "
        set args_x   " targeted list of numbers " 
        set icount -1
        foreach item  $args  {
            incr icount
            lappend result_list [* $factorx $item 1. ]
        return $result_list
        proc shiplengthx { a b } {
            set ship_arc_length "a"
            set ship_beam "b"
            set ship_length 1
            set ship_length  [sqrt([* $a $a ]-[* [/ 16. 3.][* $b $b .5 .5 ]])]
            return $ship_length
    puts " ship arc conv to arc meters as 6*N >> [ multiplylist 6 .5 1. 1.5  2. 2.5  3 3.5  5.0  ] "
    puts " ship beam as .25*L meters >> [ multiplylist  .25 2.89 5.79 8.68     11.58 14.48 17.38 20.27 28.96 ]"
    set ships {2.89 5.79 8.68     11.58 14.48 17.38 20.27 28.96}
    puts " test of math ops, mean >> set mean [/ [+ {*}$ships] [double [llength $ships]]]"

Schedule for the Gades brick piles, many assumptions

In some Sumerian contexts, the Giparu or sacred precinct was the residence of the en-priestess of the Moon god (Nanna or Ninnar), effectively a state cult for enthroning the king. The Giparu was the site of the Sacred Marriage Rite, probably conducted every year at various major cities. "pa4" is a Sumerian root word meaning priest; "gi6" is a Sumerian root word meaning earth or dark place. Sometimes, the en-priestess was the daughter or other kin of the king. In Sumerian, "en" means the king or shepherd. Also, successive en-priestesses or other offerings were buried under the floor of the Giparu. A later era calcite medallion of Enheduanna shows the Akkadian en-priestess conducting a threshold sacrifice. The medallion shows a triangular wall of 15 degrees face which would be called a buttress wall in modern terms.

Locally in the Umma tablets , the local temple was called the Shara or Sara. The Sumerian word “Sar,Sa, or Sagina” is a root word meaning king, general, or royal officer in some contexts (ref. sag means head). The temple at Umma is sometimes referred as Sara on the quay, house of Sara, Sara of Umma. The temple was supported by the province of Umma and further received revenues and products locally. While not all the Umma tablets can be dated to the reign of King Amar-suen ( 2046-2038 BCE ), many tablets can be correlated by the local calendar of Umma, seals/names of the project personnel, and by personal names such as Ur-Sara (steward of Sara), Lu-Sara (man servant of Sara), Sara-mutum (woman servant of Sara. There was even a common beer called Sarazi (Sara Beer) and a common ration cereal called Sara-emmer (Sara Wheat).

There was an Inanna temple near Zabalum. Men were normally forbidden in the temple (after consecration). Aside from the priestess there were about 60 women singers who served in the temple rites, but probably were housed on the dower estate of Girsana.

The brick piles at Gaes can be placed in a tentative association with the events in the reign of King Amar-Suen. The associations are not really a formal history, but are culled from clay tablets on receipts, chits, and legal documents from the Ur III period. King Amar-suen came to the throne in 2046 BCE and the reign numbers refer to this date. The following individuals received a staff of high office:Akhuni, Ue-Enlilla son of the Elamite(?), Lu-Shara son of Urzu, Lu-ibgal son of Lugal-massu, the military governor, and Ur-Lisi, the governor of Umma province (no dates given). One tablet cites Lu-Shara as a scribe and another tablet as a hazannu official (mayor ). Lu-Shara was probably the mayor or administrative scribe under Ur-Lisi, in the reign of Amar-Suen. In Amar-Suen 1, Ur-Shara the scribe paid a credit for 19 copper sickles and 8 copper pickaxes. In Amar-Suen 1, the governor of Umma paid a credit for 170 male workers or about 5 workcrews for one day. Three promissory notes and two receipts on the Gades bricks were dated to the month of Akiti of Amar-Suen 4, mostly similar descriptions of the brick piles. Lu-sin accepts 33 sar of brick for the (moon?) temple and 10 sar of bricks for the military depot (marsa) storage house (no dates or specific location given). While not all the bricks can be established as fired, the fired bricks were probably intended as foundation bricks, underground dedication shrine boxes ,and high use floors/thresholds (ref. the Nimintabba temple at Ur and the Inanna temple at Nippur. Some of the fired bricks were probably used in rebuilding the Karzida quay in front of the moon temple. By custom, the buttressed walls of the en-priestess residence were exceptionally thick and the foundation under the walls was extra strong. In Amar Suen 7, The en-priestess En-Nanna-Amar-Sin-kiagra was installed at Gades/Karzida (for the first time). In Amar Suen 9, the en-priestess En-Nanna-Amar-Sin-kiagra was installed at Gades/Karzida (third time). The project was believed to be completed in the ninth and last year of the reign of Amar-Suen. The available data suggests the building or restoration on the moon temple was completed in 4 to 6 years.

Schedule for Gaes bricks, tentative and many assumptions

event year of reign year BCE comment comment
King Amar-suen begins reign in third dynasty of Ur Amar suen 1 2046 clay tablet, king list
King Amar-suen directs restoring temples of Sumeria at Ur, Eridu, and Gades Amar suen 1 2046 building inscriptions & assumptions
Ur-Shara buys 19 copper sickles and 8 pickaxes Amar-Suen 1 . 2045 food and economic preparations
Year King Amar-Suen raided Urbilum Amar-Suen 2 . 2045
Year King Amar-Sin made a silver throne for Enlil Amar-Sin 3 2043
bricks ordered?? Amar suen 3?? 2043 assumption
bricks on site at Umma Amar suen 4 2042 5 clay tablets
Umma province ships bricks to Gaes, remaining mudbricks cured , building and repairing enpriestess residence (temple) begins at Gaes >> Amar suen 5? 2041 many assumptions
Year Shashrum was raided for the second time Amar suen 6? 2040 clay tablet
enprestess En-Nanna-Amar-Sin-kiagra installed at Gaes/Karzida (first time) Amar suen 7 2040 clay tablet
Year Khukhnuri was raided Amar-Sin 72040.clay tablet
enprestess En-Nanna-Amar-Sin-kiagra installed at Gades/Karzida Amar suen 8? 2039 clay tablet
Year the priest of Eridu was installed Amar-Sin 8.2039 clay tablet
enprestess En-Nanna-Amar-Sin-kiagra installed at Gaes/Karzida (third time) Amar suen 9? 2038 clay tablet
possible project completed at Gades/Karzida Amar suen 9? 2038 many assumptions
King Amar-suen dies, trampled by hooves of oxen in battle??? Amar suen 9 2038 clay tablet, king list
quarters of Umma province, URIII kingdom number of plow teams arable land kmsq
Da-Umma 60 233.28
Apisala 20 77.77
Guedina 10 38.8
Musbiana 10 38.8
Zalabam-Gasana 5?? 19.4
each team assigned 6 bur, 6*64800 sqmeters =3888000
3888000 sq meters is 3.88 square kilometer

canal regulators and (hence substantial burnt brick yards) were located at Umma,Girsu,Lagash,Shurruppak,Larsa,and Isin.

1.3E6 bricks were used at Isin. 68.6E3 bricks were estimated at Girsu 4.46E5 bricks used at Lagash Rebuild (second reg) 4.325E5 bricks used at Lagash (first reg.)

Wages at the Girsu Resthouse and Prison.
English title Sumerian title grain beer if any meat portions if any other gifts, comments
messenger sagkakdu 5 5 1/2 sheep
guard for messenger lu-gis.tukul 2 liters 1/2 sheep, 1 leg
cupbearer zabardab 5 +mutton
overseer ugalug 5
captain or overseer of prison tow boat 5
ship builder craftsman ma-gin Ma-[gan.sup.ki 5?
tow gang sa-bar-e [dab.sub.5]-ba 2
bird keeper sa-musen? 2 2
ox driver sa-gu.sub.4 2 2
woodshed sheephousee udu ga-nun gis 2 reed fodder, smoked meat etc
apprentice scribe dub-sar-tur-tur 2
prison guard, trooper 2
dog keeper 2
carrier, porter UN-il 2
elderly worker of good status lu su-[gi.sub.4] 2
invalid of good status lu HU.KU.BU 2
Invalids under intermediary foremen lu HU.KU.BU 1 hot soup
women prisoners of war lu HU.KU.BU 1 or 4/3
prisoners of state ganab 1 carried reeds etc
male war captive nam-ra-aka 1/2
children of the mule keeper dumu sipa ansekunga[-me]) are 1
children of rope towers TUR.TUR kir-[dab.sub.5] 1/2
children of grass carriers 1/2
children of carriers UN-il-TUR.TUR 1/2
ocasionally 30 or 50 prisoners assigned to carry reeds
canal regulators and (hence substantial burnt brick yards) were
located at Umma,Girsu,Lagash,Shurruppak,Larsa,and Isin.
wife of governor had allotment of 2 gur of grain and 30 sheep carcasses
high status individuals and foremen were intermediaries
intermediaries doled grain mush, beer, hot soup, and clothing to retainers

History of Cuneiform Math years artifact comment active cultures
YEARS BCE Nippur/Jewish count
BCE fm 3760 BCE artifact comment
3500 240 Proto-literate Uruk Sumeria
3500 240 calendar Nippur lunisolar Nippur,Sumeria
3200 540 writing notable Uruk IV writing notable Sumeria
2550 1190 Scribal profession temple administers and scribes separate caste from priests Sumeria
2350 1390 Sargonic math King Sargon of Akkad, effectively creates needs for imperial math Sumeria
2100 1640 sexagesimal place value notation UrIII or Neosumeria Sumeria
2075 1665 place value place value notation introduced, probablt king shulgi's reforms Sumeria
1792 1948 Conquests of King Hammurabi Hammurabi removes many players from board Old Babylon period
1775 1965 Eshnunna“algebraic” problems Eshnunna math texts Old Babylon period
1758 1982 Mari math, place-value techniques possible math texts spread to Mari, 1800 to 1758 Old Babylon period
1749 1991 Larsa math tables of squares,inverse squares, and cubes Old Babylon period
1600 2140 Venus observations Nippur lunisolar Old Babylon period
1595 2145 collapse of Old Babylon and state sponsers Hittite raid on Babylon Old Babylon period
1400 2340 star list Ea, Anu, and Enlil Nippur,Sumeria
1200 2540 star list stars of Elam, Akkad, Amurru Sumeria
1150 2590 astrolab stars Ea,Enhil,Anu Sumeria
1000 2740 star table stars Ea,Enhil,Anu Sumeria
1000 2740 star table more stars for Ea,Enhil,Anu Sumeria
700 3040 star table heptagon tablet, related to star lists? Neo-Assyrian Empire
600 3140 lunar eclipse compilations partly based on star lists Persian Empire
575 3165 Saros lunar calc. in use partly based on star lists Persian Empire
500 3240 year goal texts, Bablyon partly based on star lists Persian Empire
350 3390 Susa geometry & incipient zero Susa geometry & rare use of checkmarks for placeholder and incipient zero Susa, Old Elamite kingdom, Persian Empire
350 3390 use of incipient zero in Astronomy rare use of checkmarks for placeholder and incipient zero Bablyon, Seleucid Empire
315 3425 end of lunar eclipse tables partly based on star lists Bablyon, Seleucid Empire

In one coefficient list, there was a coefficient for wool (igigubbum-hi-a) as 48 in a base 60 fraction (48/60). The term igigubbum is Akkadian, apparently borrowed from Su, igi-gub-ba ( I see fraction (used as reciprocal)). The term hi-a appears in URIII texts associated with wool and textiles, and means processed wool or processed fleece. In the Nippur lexical lists, the term siki al-hi-a was translated as processed wool (work). A math problem using the wool coefficient is not available, but will try to convert 48 in base 60 into modern decimal units and proportions. In modern terms, the equation is coverage area * reciprocal coefficient equals material. Starting with Sumerian units, the coverage area in sar units times reciprocal coefficient (60/48) equals weight of wool in gu units, simply sar*(60/48)=gur. Rearranging terms, the proportion is gu units/ sar units = 60/48 or sar units / gu units = 48/60. The proportions hold true if 60 /48 is reduced to 5/4, meaning 5 gus of wool equals 4 sar of woven cloth. 5 gu/4 sar equals (5*60*0.4977) kg/4*32 sqm, 1.166 kg/sqm, 1166 grams/sqm for wool cloth. This figure of 1166 grams/sqm is probably one weight of wool cloth and probably the Sumerians used other cloth weights also.

For the clothing, its easier to use square cubits than sars. A sar equals 144 square cubits, and a gu equals 60 manas. So the 5/4 ration above would equal (5*60)/(4*144), 0.521, rounding 0.5 manas per square cubit. Or the reciprocal was equivalent to 2 square cubits per mana. The 2 mana ration to low status men would be equivalent to 2*2 or 4 sq cubits of woolen cloth. The 3 mana ration to craftswomen would be equivalent to 3*2 or 6 sq. cubits. The 4 mana payment to project overseers would be 4*2 or 8 sq. cubits. The child's garment above would be 3*2 or 6 sq. cubits. The high status female full skirt would be 3.5*2 or 7 sq. cubits. The tug-guz-za long shirt for the high statue male weighed 5.474 manas and was 5.5*2 or 11 sq. cubits. In general, the wool ration and the weight of clothing was a measure of status.

Is Thales theorem easier to use ?

Dear uniquename, I noticed you referred to Thales Theorem in one of your posts. I have a question on the use of Thales Theorem by Old Babylonian mathematicians (circa 1900 BCE). By remainders and artifacts in base 60 problems and math coefficients, there appears to be one tradition of Babylonian mathematicians that derived formulas from Thales Theorem and one tradition of Babylonian mathematicians that derived formulas using Pythagoras or sqrt(sum squares). Apparently, the Greek Thales was of the former persuasion in a different era. Especially the dual use of Thales Theorem and sqrt(sum squares) is seen in the Old Babylonian coefficient lists (base 60), ref. Eleanor Robson paper on coefficient lists at Oxford. Supposing no computers or slide rules, is the Thales Theorem easier to use than sqrt(sum squares)? Does the Thales Theorem produce numbers that are easier to factor in simple primes (2,3,5),use in pi multiplication, use in base 10, or surveying land (with equilateral triangles)? Old Babylonians are known to have avoided division and usually numbers 7 and 9 in math problems, as producing numbers difficult to factor in the base 60 system. My email service is erratic lately, please post your reply at the end of my tcl wiki homepage, thanks gold

Gaming solutions or false positions with eTCL calculator

It is possible to find solutions to equations using the method of false positions (regula falsi) or gaming with the eTCL calculator. Suppose a coating of some known thickness is applied on known surface area and one wished to estimate the coating coefficient. From an initial solution either from the testcases already loaded into the calculator or from order of magnitude calculations, the coating coefficient can be estimated from a series of guesses or false positions in incremented steps. The accuracy of the coefficient solution depends on step size and is usually given as half step size (0.5*step). For example, the solution if found in the series <1, 1000, 2000, 3000, 4000,5000> would have a accuracy of plus or minus 1000/2 or 500. Loosely speaking, this is operating the eTCL calculator in reverse. Finding the coefficient that gives a solution of specified input (2 sides of a surface area) and specified output (volume).

This is the gist of an Old Babylonian (OB.) math problem for water irrigation, converted to metric units from clay tablet YBC4186. A cubic water cistern of L/W/H 60/60/60 meters was used to irrigate a square field to a depth of 0.015 meters. The volume of the cistern would be L*W*H, 60*60*60, 2.16E5 cubic meters. What are the dimensions of the field, assuming square field? In terms of a modern algebraic equation, the answer was field area equals L*W*H/D, 60*60*60/0.015, 14.4E6 square meters, or 14.4 square km. Each side of the field would be sqrt(14.4) or 3.8 km. To initialize the eTCL calculator, press testcase 1 and push solve, returning the first test case solution. In the length and width fields, enter 3.8E3 meters and solve should return the correct surface area (14.4E6).

Continuing with the OB. water irrigation problem, it is possible to game on a eTCL solution for the coefficient (not in the OB. solution or outside the OB. text). Loading and solving for possible test solutions (regula falsi) as (coefficient = 1000, 2000, 3000, 3500, 4000), the coefficient in the test problem is close to 3400.

RLE (2014-05-20):

You have the following statement in almost all of your pages:
Report allows copy and paste from console, but takes away from computer "efficiency".

What do you mean by "takes away from computer 'efficiency'" in the context of allowing copy/paste?

How do you see allowing copy/paste as "taking away computer efficiency"?

gold On one of my early posts to tcl-wiki, I received a gripe about using puts in my calculating programs, which might take away from computing speed in an algorithm subroutine. I guess we were assuming number crunching was the main job of the computer. I still use the puts, but the caution seemed valid.

Thanks for the feedback.

RLE (2014-05-23): Ah, I see. Ok, the advise was valid, but not for the reasons your words on your pages state. Copy and paste from console has nothing to do with "taking away from computer efficiency".

Given what you have said above, the "gripe" would likely have been directed at performing a puts inside of a numerical computation loop, i.e., doing this:
  for {set i 0} {$i < 10000} {incr i} {
    for {set j 0} {$j < 10000} {incr j} {
      lset matrix $i $j [ expr { [lindex $matrix $i $j] * [lindex $matris $j $i] } ]
      puts "$i $j [ lindex $matrix $i $j]"

This (made up) numerical computation loop above iterates 100,000,000 times. The result is it runs puts 100,000,000 times, which will slow down the loop because puts has to do output (lots of other code to execute to ultimately achieve the "output" operation). Removing that puts (or commenting it out) would speed up that loop by quite a large amount.

Also, note that while debugging, sometimes running a puts inside the inner loop to see intermediate results can help you locate a bug or a math error.

But there is a difference when it comes to output of results to a human (or another machine). At that point, you have little choice but to perform at least one puts (assuming you appended your result together beforehand). For an "output of results" routine, the point is to perform output, so running puts is not reducing "efficiency", rather it is the whole point of the output routine.

With that said, if you were doing something like outputting one character at a time of the result, with a puts per character, then yes, that would have been inefficient.

So the "gripe" was most likely not a blanket "this applies to everything" statement, it was much more likely a "given what you have here, you are being inefficient" "gripe". The difference is important. It seems you may have over-generalized the "gripe". gold Text on console puts and efficiency mostly pulled from my wiki pages, 22may2014

Here is some eTCL starter code for cleaning TCL lists of empty, blank, or small length elements. This eTCL code is a compilation of various posts or ideas on this wiki. Sometimes, bare statements and variables in context were swapped and wrapped inside a consistent subroutine for testing. For testing the procs, lists of words or numbers can be generated , screen grabbed, or dumped into a TCL list with many empty, blank, or small elements. The orignal target list is multiple decks of 52 cards with added jokers as {}(empty element) { }(one blank space) {.} {} {;}.
 original {2 3 4 5 6 7 8 9 ...{} { } {.} {} {;} {} { } {.}...}
 routine #2 {2 3 4 5 6 7 8 9 ...   { } {.}  {;}  { } {.} ...} , empty elements removed

 routine #1 13.0177 microseconds per iteration
 routine #2 172.884 microseconds per iteration
 routine #3 8.0467 microseconds per iteration
 routine #4 6.9682 microseconds per iteration
 routine #5 1.8228 microseconds per iteration
 routine #6 4.7997 microseconds per iteration
        # written on Windows XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI, 15oct2014
        # Console program for list of Unicode cards, values, multiple N1 decks
        # N1*decks one liner from FW
        # cleanup from RS, working for small lists <25 e., problem with medium >500 e.
        # idea using regsub statements for blanks from RL
        # routine5 using statement from H
        package require Tk
        namespace path {::tcl::mathop ::tcl::mathfunc}
        console show
        global counter
        set cards { 2 3 4 5 6 7 8 9 10 J Q K A }
        set list_values { 2 3 4 5 6 7 8 9 10 10 10 10 11 }
        set jokers { {} { } {.} {} {;} {} { } {.} {} {;} {@} { } {.} {} {;} }
        set list_cards [ concat $cards $cards $cards $cards $jokers]
        proc lrepeat_FW {count args} {string repeat "$args " $count}
        set list_cards [ lrepeat_FW  10 $list_cards ]
        proc empty_elements_in_list1 {lister} {
            set new_lister {}
            foreach item $lister {
                if { $item != "" } {lappend new_lister $item} }
            return $new_lister}
        proc empty_elements_in_list2 {lister} {
            regsub -all "{}" $lister "" new_lister5
            return $new_lister5 }
        proc empty_elements_in_list3  {lister} {
            set take_out2 {}
            foreach item $lister {
            if { [string length $item ] > 0 } {lappend take_out2 $item}}
            return $take_out2 }
        proc empty_elements_in_list4  {lister} {
            set take_out5 {}
            foreach item $lister {
            if { {expr {[string length $item]}} > 0 } {lappend take_out5 $item}}
            return $take_out5 }
        proc empty_elements_in_list5  {lister} {
            set take_out6 {}
            while {[lsearch $lister {}] >= 0} { 
            set lister [lreplace $lister [lsearch $lister {}] [lsearch $lister {}]]            
            set take_out6 $lister
            return $take_out6 }
         proc cleaner {target args} {
            set res $target
            foreach unwant [split $args ] {
            set res [lsearch -all -inline -not -exact $res $unwant ]}
            # suchenworth idea
            return $res
        puts " original $list_cards "
        puts " routine #1 [ empty_elements_in_list1 $list_cards ] "
        puts " routine #2 [ empty_elements_in_list2 $list_cards ] "
        puts " routine #3 [ empty_elements_in_list3 $list_cards ] "
        puts " routine #4 [ empty_elements_in_list4 $list_cards ] "
        puts " routine #5 [ empty_elements_in_list5 $list_cards ] "
        puts " routine #6 [ cleaner $list_cards A ] "
        puts " routine #1 [ time { empty_elements_in_list1 $list_cards} 10000 ] "
        puts " routine #2 [ time { empty_elements_in_list2 $list_cards } 10000 ] "
        puts " routine #3 [ time {empty_elements_in_list3 $list_cards } 10000 ] "
        puts " routine #4 [ time {empty_elements_in_list4 $list_cards } 10000] "
        puts " routine #5 [ time {empty_elements_in_list5 $list_cards } 10000] "
        puts " routine #6 [ time {cleaner $list_cards A } 10000] "

Bypublic nameon October 13, 2013 Format: Paperback “Life Giving Sword” or Yagyu Family Memorial by Yagyu Munenori has some interest in study of katana, kendo, taichi sword, or taji jian. Alternate English translations by William Scott Wilson in “Life Giving Sword” and Thomas Cleary in “Book of Five Rings” desparately need a glossary for common definition of terms. I have supplied a starter glossary for “Life Giving Sword”. As a common ground between east and west, a Romanji equilvalent text on shujishuriken (paraphrased) terms would be useful. I hope others can make contribution to meaning of shujishuriken and other terms in Life Giving Sword. If we can not build the whole bridge, we can add a few blocks.

Glossary of Yagyu-Ryu terms and words in Yagyu Family Memorial text (c. 1632 CE) . Terms below are from 17th century text, not necessarily same as Modern Japanese usage. Takuan Soho, Yagyu Munenori, and Miyamoto Musashi used homonyms, puns, or specialized terms, which are not found in conventional Romanji dictionaries. Romanji dictionaries contain homonyms, which are words that sound the same but have different meanings. Special combined terms in martial arts (Buddhist traditions) are noted by capitals, hyphens, or quotes. bo: wooden staff bocuto: wooden sword bokken: wooden sword, usually heavy wood for exercise. chi: vital energy, or broadly energy from earth and sky. Sometimes in Japanese texts by extension, chi or ki refers to manifested chi or force. The manifested chi in Chinese texts is called jing (muscular power), jinli (martial power), or jin ( combination of emitted chi and muscular power applied to a specific target spot). daiki taiyu: divine transformation. Usually, transformation from potential or resting energy to active motion and force. human, or heaven in Chinese philosophy. chudan: sword held in middle position gedan: sword held tilted down ha: attack hachimaki: headband hakarigoto: "strategy" hakama: pleatted skirt or culottes, usually worn for exercise. hara: navel or belly heihou : “strategy”, literal “dark hidden deception” hiro: color ho:martial art hyori: deception inka: martial arts diploma isshin, “One Mind” isshin itto, “One Heart, One Sword” kan: listening with mind and contemplative insight. ken: sword or used as homonym for “plain sight or ordinary sight” as opposed to contemplative insight (kan). kendo:way of the sword kenjutsu : swordsmanship. kannen:mind should see through one’s emotions or mind should be clear of emotions. kizen:”take initiative” jo: preliminary attack jodan:sword held above forehead kage-ryu: shadow sword style, sometimes refers to following, reacting, and basing actions on opponent’s shadow. Especially, staying outside opponent’s cast shadow until closing for attack. kami: shinto diety or dieties kanshin: seeing with mind or insight. katana: long sword. katsu: refers to attainment of essential nature or “Life-Giving” katsujinken: “Life-Giving-Sword”, sometimes refers to resolution of problems without force. ken: sword kenshogodo: seeing into essential nature. ki: vital energy kiai: focused shouts, loud scream used to disturb opponent. koku: empty space kyusho: vital point kuji: 9 hand signs or mudras used in kendo training. kyu: counter strike majutsu, techniques of invisibility mondo: question and answer in Zen dialogue. mu: “Non-existence”, sometimes refers to Yin side (left) of opponent or hidden side (shadow) of object. mu-kyu: “Non-existence counterstrike”, sometimes refers to circling counterclockwise (in Yin direction) around opponent for one or more paces and attacking the “Non-Existence” (left,Yin) side of the opponent. Here, “Existence” may refer to sword held by right handed swordsman and “Non-Existence” may either refer to empty hand on left side or the palm of the right sword hand viewed from the left (by the opponent). munen muso: (literal) No-Desires, No-Thought muto: “No-Sword”, sometimes refers to resolution of problems without force. Also techniques of unarmed combat. munen: “No-Thought” or refers to actions under suspension of consciousness. mushin, "No-Mind", suspension of consciousness, usually during meditation. mushinjo: suspension of consciousness, usually during meditation. myo (na) : strange, odd, without reason naginata, long spear with heavy blade. nakazumi: “mysterious-sword” is holding sword around navel or hara. nitto ryu: “two-swords-style” ryu: sword style or school satori: "enlightenment" setsuninken: “death-dealing-sword”, sometimes refers to solving problems by force only as opposed to solving problems without force. satsuninto: “death-dealing-sword”, sometimes refers to solving problems by force only as opposed to solving problems without force. seiza:kneeling position for meditation practice sensei:teacher shin: mind shinken: “Real-Sword”. shinken sho-bu: contests with “Real-Sword”. shinku: emptiness of mind shinmyo: “Mysterious”, refers to the combination of mind (shin) and strange outside action (myo). Usually found in combination as “Mysterious-Sword” or implied sword. shinmyoken: “Mysterious-Sword” , refers to the combination of mind (shin) and strange outside action (myo) holding the sword (ken) around navel, just as hara is considered center of being/energy. suigetsu, literally moon on water, refers to keeping 3 pace distance from opponent or out of opponent’s cast shadow. Note: sun and moon both cast shadows. shuji: crosspattern sword block (literal from Sino. characters, hand ji (noun suffix)). Sometimes refers to crosscounterpoint target on body of opponent. shujishuriken: (literal from Sino. characters, hand ji (noun suffix) hand inside see) perception of abilities and intentions. By extension, see inside technique of opponent. Sometimes refers to the 9 healing sounds and ideographs (mudras) used to increase alertness, warmup shoulders, and loosen hands prior to combat. tachi: great sword tsumeru: deflection or block leading to counterstrike. not a hard block. yang: positive energy or active principle . heavenly energy. clockwise movement. yin: negative energy or inactive principle. earthly energy, counterclockwise movement. tai: substance or fundamental property of all things tao: way of philosophy wakizashi: sidearm sword or short sword yari: spear zazen: meditation practice zen: meditation practice towards Self-Realization Katsujinken, “life-giving-sword by Yagyu Munori,C. 1632 CE”.Heiho Kadensho of Yagyu Munenori.Also known as Yagyu Family Memorial text in paraphrased Romanji terms, kk kk k lll jjj kkk bbb bb nn nnn mmm mmm mmm mmm

From a clay tablet, internal and external volumes of a hollow cylinder is equated to squared ratio of radius1*radius1 over radius2*radius2. Not sure about the accurate math derivation and maybe numerical coincidence, but the tablet appears to be using inner volume equals outer volume times radius1*radius1 over radius2*radius2. Hereafter, the paragraph will use the modern decimal notation, PI (3.14...), and carry extra decimal points from the eTCL calculator, whereas the Sumerians used 3 and round numbers. radius1 would be the radius of the hollow and radius2 would be the radius of the outer cylinder. In the tablet, the circumference of the outer cylinder was 1.5 units and the ratio of the inner radius to outer radius would be 1:4. The diameter of the outer cylinder would be 1.5/PI or 0.4774, and radius2 would be 0.4774/2 or .2387. radius1 would be .2387/4 or 0.0597. The height of the cylinder would be 1 unit. Using conventional formulas the volume of the outer cylinder would be 2*PI*radius2*radius2*height, substituting 2*3.14*.2387*.2387*1, 0.3578. The conventional volume of the inner cylinder would be 2*PI*radius2*radius2*height, substituting 2*3.14*.0597*.0597*1, 0.0224. The volume of the hollow cylinder would be outer cylinder minus inner cylinder, 0.3578-0.0224, 0,3354. In squared proportions, the radius1*radius1 over radius2*radius2 would be (1*1)/(4*4),1/16,0.0625. The Sumerians found the inner cylinder vol (hollow) as (1/16) * outer cylinder vol, (1/16) * 0.3578, 0.0224 in modern notation. Not on the tablet, but it follows that the hollow or outer cylinder volume would be (1-1/16)* outer cylinder vol, (15/16)* 0.3578, 0.3354.

In Sumerian base60, the factor would be 1/16 or 3/60+45/3600.
    set inner_cylinder_a=b*(c*c/d*d)_  [* 0.3578 [/  [* 1. 1.  ] [* 4. 4.  ]   ]] # 0.0223625
    set hollow_cylinder_a=b*(c*c/d*d)_  [* 0.3578 [- 1. [/  [* 1. 1.  ] [* 4. 4.  ]]   ]] # 0.3354375
    set inner_cylinder_  [ eval expr 2*[pi]*.0597*.0597*1 ] # 0.0224
    set outer_cylinder_  [ eval expr 2*[pi]*.2387*.2387*1 ] # 0.3578

derivation setup
     barge_area =2*((pi*r*r/4)-r*r/2) # 2 times segment of  circle for quarter section.
     barge_area = coefficient * circumference * circumference
     coefficient = barge_area / ( circumference * circumference)
     coefficient =   ((2*pi*r*r/4)-2*(r*r/2) ) / ( 2*pi*r * 2*pi*r )
     coefficient =   (1/(4*PI*PI*r*r)*(2*pi*r*r/4) - (1/(4*PI*PI*r*r)* (2*r*r/2)
     reduction >>  coefficient = 1/(8*PI)- 1/( 4*PI*PI )
     Sumerian 3 for PI, coefficient = 1/24-1/36 
     ??? Sumerian text  = 2/9 ,  2/9 = 0.2222 decimal, base60 value = 13/60+ 20/3600   
     #   derivation or problem of concave square, r=.5, d=1.0, ref Robson and Friberg
     # square of unit one on side minus 4 quarter circles of radius = 0.5,sumerian pi = 3.
     set concave_square_coefficient_modern_notation [ eval expr 1. - 4.* (1./4.)*[pi]*.5*.5 ]
     # decimal answer= 0.21460183660255172
     set concave_square_coefficient_babylonian_notation [ eval expr 1. - 4.*(1./4.)* 3.*.5*.5 ]
     # decimal answer= 0.25, conv .25*60 ???
     # above was defining bound for radius=.5, but problem wants quarter circle arc equal one. 
     # coefficient is 4 times area of inscribed quarter_circle with arc of quarter_circle set to 1.
      set concave_square_coeff  [ eval expr (2.*[pi] )**2. - (2.*[pi] )**2. ]
     Sumerian text = concave_square_coefficient  = base60 26_40,  4/9

Uses of even powers (eg 2**2 and 3**2). Several Babylonian tables of powers have been published. Some of these tables are equivalent to even powers of prime numbers. For example the table of nines would give numbers, equivalent to even powers of 3. The table of 16 would give equivalent numbers based on even powers of 2. Conjecture is that these tables could have been used to generate Babylonian triplets. Ref, Babylonian Pythagorean Triplets by Michael Fowler.
# following statements can be pasted into eTCL console
set aside [expr 3**4-2**6] # 17 
set cside [expr 3**4+2**6] # 145
set bside [expr 2*(3**2)*(2**3)] # 144
# 3**4 => 9**2
# 2**6 => 16**1
set aside [expr 3**6-2**12] # 3367 
set cside [expr 3**6+2**12] # 4825
set bside [expr 2*(3**3)*(2**6)] # 3456
#3**6  => 9**3
#2**12 => 4093 +> 16**3
# The next even power of 3 would be 3**8 and next step? might be 16**4?
# 12709,13500,18548, 2 2 • 3 3 • 5 3 
set bside [expr 2*( ** )*( ** )]# 
set bside [expr 2*(3**3)*(2**8)]  #  13500
set cside [expr 125**2+54**2]    #  18541
set aside [expr 125**2-54**2]  #   12709 
#12709 71 179 13500 2 2 3 3 3 5 5 5 18548  2 2 4637 

Following one liners need mathops and math libraries edit

proc list_squares { aa bb} { for {set i 1} {$i<=$bb} {incr i} {lappend booboo [ * $i  $i 1. ] };return $booboo}
(tclprograms) 14 % list_squares 1 5
1.0 4.0 9.0 16.0 25.0
proc listnumbers { aa bb} { for {set i 1} {$i<=$bb} {incr i} {lappend booboo [ expr 1.* $i] };return $booboo}
 #returns list of integer numbers from aa to bb as reals with decimals,usage [listnumbers 1 5] , answer is 1.0 2.0 3.0 4.0 5.0 
proc listfib { aa bb} { for {set i 1} {$i<=$bb} {incr i} {lappend booboo [ int [ binet $i] ] };return $booboo} 
proc binet { n} {set n [int $n ]; return [int [*  [/ 1 [sqrt 5]]  [- [**  [/   [+ 1 [sqrt 5]] 2 ] $n ]  [** [/   [- 1 [sqrt 5]] 2 ]  $n ] ] ] ] } 
# usage,  set binet1  [ binet 8],answer 21,   removing int's will return real numbers
# usage,  set fibno  [ listfib 1 8 ], answer 1 1 2 3 5 8 13 21  
proc fibonacci_approx_for_large_N {n} { set phi [/   [+ 1 [sqrt 5]] 2 ]  ; return [/  [** $phi  $n   ] [sqrt 5 ]] } 
% proc fibonacci_approx_for_large_N {n} { set phi [/   [+ 1 [sqrt 5]] 2 ]  ; return [int  [/  [** $phi  $n   ] [sqrt 5 ]]] } 
(tclprograms) 8 % [fibonacci_approx_for_large_N 1]   
invalid command name "0.7236067977499789"
(tclprograms) 9 % [fibonacci_approx_for_large_N 2]
invalid command name "1.1708203932499368"
(tclprograms) 10 %  [fibonacci_approx_for_large_N 3]
invalid command name "1.8944271909999157"
(tclprograms) 11 % [fibonacci_approx_for_large_N 4]
invalid command name "3.065247584249853"
proc add {args} {return [ ::tcl::mathop::+ 0. {*}$args]};
(tclprograms) 2 % add 12 11 10 9 8 7 6 5 4 3 2 1
             console show
             package require math::numtheory
             #namespace path {math::numtheory}
             namespace path {::tcl::mathop ::tcl::mathfunc math::numtheory }
             set tcl_precision 17
         proc square_root_function { number_for_root  } {   
             set counter 0
             set epsilon .0001
             while { $counter < 50.  } {
             if { [* $counter $counter 1. ]   > [* $number_for_root 1.] } {break}            
             incr counter 
             set  square_root_estimate $counter
             while {1} {
             set keeper $square_root_estimate        
             set starter $square_root_estimate
             set remainder   [* $starter $starter  1. ]  
             set remainder [- $number_for_root [* $starter $starter  1. ] ]
             set  square_root_estimate  [+ $starter [/ $remainder [* 2. $starter ]]]
             if {abs($keeper - $square_root_estimate) < $epsilon} break
             return $square_root_estimate

gold This page is copyrighted under the TCL/TK license terms, this license.