Sumerian Coefficients at the Dog Keepers and eTCL Slot Calculator Demo Example , numerical analysis

Sumerian Coefficients at the Dog Keepers and eTCL Slot Calculator Demo Example , numerical analysis

This page is under development. Comments are welcome, but please load any comments in the comments section at the bottom of the page. Please include your wiki MONIKER in your comment with the same courtesy that I will give you. Its very hard to reply understandably without some background of the correspondent. Thanks,gold


gold Here is some eTCL starter code for calculating the rations of Sumerian dog kennels. Recent translations have identified amounts of grain and meat furnished at a canal (military) compound. This report will use less strict definitions and not consider confidence levels, since the main interest is developing a simple and quick slot calculator. These translations include the first known instances of canine veterinary care and diet for dogs. There is considerable economic interest in the translations. Most of the testcases involve replicas or models, using assumptions and rules of thumb.

Software Planning

In planning any software, it is advisable to gather a number of testcases to check the results of the program. The results of the testcases are estimated using the hand calculator and then checked in the eTCL slot calculator. Pseudocode and equations are developed from the hand calculations and theory. Small console programs are written to check or proof the alternate subroutines or procedures, rather than keeping the unblessed code and comment lines in the main slot calculator. Finally the improved or alternate subroutines are loaded into the slot calculator. The eTCL slot calculator is effectively a shell program to input entries, host calculation routines, and display results. Additional significant figures are used to check the eTCL calculator, not to infer the accuracy of inputs and product reports.

Estimation standard

Here are some model numbers and terms for developing the software. Estimates of food and medicine for the kennel were prepared from ancient texts against body weight for comparison with modern veterinary practice. The wage of the kennelman <Sumerian= sipa ur-gi7-ra> was 2 barley liters. Since a silver piece was equivalent to 300 liters of grain, the monthly wage of a kennelman would be equivalent to 2/10 silver piece <<30*2>/300>. In this case, barley refers to the cracked and cooked barley in one liter bowls, possibly similar to modern mush, oatmeal, or groats. The mastiff <military guard?> dog received 2 liters barley per day. The Sumerian root word for dog was generally "ur" or beast, ref Latin "ursus" as bear. Various post adjectives were used to modify the root term. A male dog was "ur-gi-nita" and a female dog was "ur-gi-munus". The root word "mu" is used for mother in many languages. A barking dog was ur-gu <Sumerian= dog-shouting>. A watch dog was apparently ur-gi7-gal-gal <Sumerian= dog-great-great>. Puppy in Akkadian was "uranu", for beast and modern derived planet Uranus. Male and female dogs were noted. Canine texts of occasional animal carcasses, donkeys, cooked fish, medicine <?>, and unspecified fodder <scraps?> were available. Some palace dogs were feed rations of wheat or more costly rations.


For the push buttons in the eTCL slot calculator, the recommended procedure is push testcase to fill entry frame, change first three entries etc, push solve, and then push report. Report allows copy and paste from console. For testcases in a computer session, the eTCL calculator increments a new testcase number internally, eg. TC(1), TC(2) , TC(3) , TC(N). The testcase number is internal to the calculator and will not be printed until the report button is pushed for the current result numbers. The current result numbers will be cleared on the next solve button. The calculator display has a caution flag subroutine for negative numbers, unrecognizable text characters, and operation outside expected operation range. On a degrading scale, the calculator will post warning flags to the console report, issue degraded accuracy notices, and may reset some negative and offscale numbers to positive defaults. Errors pass through the warning flag routine once on the same testcase and multiple error calls on the same fault are possible. Aside from the TCL calculator display, when one presses the report button on the calculator, one will have console show access to the functions (subroutines).

Pseudocode and Equations

     #pseudocode can be developed from rules of thumb.
     #pseudocode: some problems can be solved by proportions (rule of three), to some order of magnitude
     #pseudocode: enter quantity1,  quantity2, quantity3 and expected output (quantity4) for testcases.
     #pseudocode: enter time in years, number of remaining items
     #pseudocode: output fraction of (remaining items) over (items at time zero)
     #pseudocode: ouput remaining items as fraction or percent
     #pseudocode: output fraction of (quantity4 ) over ( quantity1 at time zero)
     #pseudocode: output fraction of (quantity2) * (quantity3 ) over (quantity1 at time zero)
     #pseudocode: outputs should be in compatible units.
     #pseudocode: rules of thumb can be 3 to 15 percent off, partly since g..out.
     #pseudocode: need test cases > small,medium, giant
     #pseudocode: need testcases within range of expected operation.
     #pseudocode: are there any cases too small or large to be solved?

Testcases Section

Testcase 1

table 1printed in tcl wiki format
quantity value comment, if any
testcase number:1
site number :1.0
julian date start day :42.0

Testcase 2

Testcase 3


  • Sumerian Beer Ingredients and eTCL Slot Calculator Demo Example , numerical analysis
  • Sumerian Pottery Vessel & Clay Mass and eTCL Slot Calculator Demo Example , numerical analysis
  • Sumerian Beveled Bowl Volume and eTCL Slot Calculator Demo Example
  • Ref analysis of Sumerian jars and cracked barley density on TCL wiki.
  • Of Dogs and KennelMen, David I. Owen, Cornell University
  • Tsouparopoulou, Christina, 2008,
  • The Material Face of Bureaucracy: Writing,
  • Sealing and Archiving Tablets for the Ur III State at
  • Drehem. Tsouparopoulou, Christina, 2008,
  • The “K-9 Corps” of the Third Dynasty of Ur:
  • The Dog Handlers at Drehem and the Army.
  • ZA 102, 1-16, Tsouparopoulou, Christina,2012
  • Mander, Pietro, 1994, An Archive of Kennelmen
  • and Other Workers in Ur III Lagash. IUOA 54, suppl. 80. Naples: Istituto
  • universitario orientale
  • 2013 AAHA/AAFP Fluid Therapy Guidelines for Dogs and Cats
  • ref dogs need potassium in therapy fluids.

image test.

Appendix Code

appendix TCL programs and scripts

        # pretty print from autoindent and ased editor
        # Sumerian Dog Kennel & Accounting calculator
        # written on Windows XP on eTCL
        # working under TCL version 8.5.6 and eTCL 1.0.1
        # gold on TCL WIKI, 15mar2016
        package require Tk
        namespace path {::tcl::mathop ::tcl::mathfunc}
        frame .frame -relief flat -bg aquamarine4
        pack .frame -side top -fill y -anchor center
        set names {{} {men (kennelmen=si-pa):} }
        lappend names {mastiff dogs  (ur-):}
        lappend names {female mastiff (ur-): }
        lappend names {puppies ():}
        lappend names {accounting period days (typical 30 days) :}
        lappend names {workdays or ration days on books : }
        lappend names {grain rations (liters) : }
        lappend names {value in silver :}
        foreach i {1 2 3 4 5 6 7 8} {
            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 Sumerian Dog Kennel
            & Accounting from TCL WIKI,
            written on eTCL "
            tk_messageBox -title "About" -message $msg }       
       proc calculate {     } {
            global answer2
            global side1 side2 side3 side4 side5
            global side6 side7 side8 
            global testcase_number
            incr testcase_number 
            set side1 [* $side1 1. ]
            set side2 [* $side2 1. ]
            set side3 [* $side3 1. ]
            set side4 [* $side4 1. ]
            set side5 [* $side5 1. ]
            set total1 [* $side1 $side5 1. ] 
            set total1 [+ $total1 [* $side2 $side5 1.] ]
            set total1 [+ $total1 [* $side3 $side5 .3] ]
            set total1 [+ $total1 [* $side4 $side5 .5] ]
            set side6 $total1  
            set side7 [* $side6 2. ]
            set side8 [* $side7  [/ 1. 300.]  ]  }
        proc fillup {aa bb cc dd ee ff gg hh} {
            .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"
            .frame.entry6 insert 0 "$ff" 
            .frame.entry7 insert 0 "$gg"
            .frame.entry8 insert 0 "$hh" 
        proc clearx {} {
            foreach i {1 2 3 4 5 6 7 8 } {
                .frame.entry$i delete 0 end } }
        proc reportx {} {
            global side1 side2 side3 side4 side5
            global side6 side7 side8 
            global testcase_number
            console show;
            puts "%|table $testcase_number|printed in| tcl wiki format|% "
            puts "&| quantity| value| comment, if any|& "
            puts "&| testcase number:| | $testcase_number|&"
            puts "&| $side1 :|men (si-pa)| $side1 |&"
            puts "&| $side2 :|mastiffs (ur-1)| $side2|& "
            puts "&| $side3 :|female mastiffs (ur-2)|$side3|& "
            puts "&| $side4 :| puppies (ur-3) |$side4 |&"
            puts "&| $side5  :| days time period|$side5 |&"
            puts "&| $side6  :| work/ration days on books|$side6 |&"
            puts "&| $side7  :| rations (liters) |$side7 |&"
            puts "&| $side8  :| silver pieces|$side8 |&"
        frame .buttons -bg aquamarine4
        ::ttk::button .calculator -text "Solve" -command { calculate   }
        ::ttk::button .test2 -text "Testcase1" -command {clearx;fillup 3.5 0.0 0.0 0.0  30. 105.0 210.0 0.7}
        ::ttk::button .test3 -text "Testcase2" -command {clearx;fillup 0.0 10.0 0.0 0.0  30. 300. 600. 2. }
        ::ttk::button .test4 -text "Testcase3" -command {clearx;fillup 0.00 0.0 5.0 0.0  30.0 45.0 90.00 0.3 }
        ::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 . "Sumerian Dog Kennel & Accounting  Calculator "

Comments Section

Please place any comments here, Thanks.