• TABLE OF CONTENTS
HIDE
 Front Cover
 Introduction
 A microcomputer program
 Reference
 Appendix






Group Title: Computer series
Title: Sugarcane as a cattle feed
CITATION THUMBNAILS PAGE IMAGE ZOOMABLE
Full Citation
STANDARD VIEW MARC VIEW
Permanent Link: http://ufdc.ufl.edu/UF00094890/00001
 Material Information
Title: Sugarcane as a cattle feed a micromputer application
Alternate Title: Computer series - Florida Cooperative Extension Service ; 625
Physical Description: ii, 24 p. : ill. ; 28 cm.
Language: English
Creator: Alvarez, Jose, 1940-
Pate, F. M ( Findlay Moye ), 1941-
Publisher: Florida Cooperative Extension Service, Institute of Food and Agricultural Sciences, University of Florida
Place of Publication: Gainesville, Fla.
Publication Date: 1984
Copyright Date: 1984
 Subjects
Subject: Sugarcane as feed   ( lcsh )
Beef cattle -- Feeding and feeds -- Computer programs   ( lcsh )
Genre: bibliography   ( marcgt )
government publication (state, provincial, terriorial, dependent)   ( marcgt )
non-fiction   ( marcgt )
 Notes
Bibliography: Bibliography: p. 18.
General Note: Cover title.
General Note: "October 1984."
Statement of Responsibility: Jose Alvarez and F.M. Pate.
 Record Information
Bibliographic ID: UF00094890
Volume ID: VID00001
Source Institution: University of Florida
Holding Location: University of Florida
Rights Management: All rights reserved by the source institution and holding location.
Resource Identifier: oclc - 15010423

Table of Contents
    Front Cover
        Front cover
        Front cover
        Page i
        Page ii
    Introduction
        Page 1
    A microcomputer program
        Page 2
        Page 3
        Page 4
        Page 5
        Page 6
        Page 7
        Page 8
        Page 9
        Page 10
        Page 11
        Page 12
        Page 13
        Page 14
        Page 15
        Page 16
        Page 17
    Reference
        Page 18
    Appendix
        Page 19
        Page 20
        Page 21
        Page 22
        Page 23
        Page 24
        Page 25
Full Text
/01
October 1984 Circular 625



Sugarcane as a Cattle Feed:

A Microcomputer Application


COMPUTER SERIES

Jose Alvarez and F. M. Pate











/m *
I iI FAS











Florida Cooperative Extension Service / Institute of Food and Agriculturai S9iences / University of Florida / John T. Wote, Dean


















Trade names are used liberally in this document. Their mention
is for illustrative purposes only and does not reflect any pre-
ference, support, or relationship by or to the authors, The
University of Florida, and the Cooperative Extension Service,
in any explicit or implicit manner.


The Florida Cooperative Extension Service assumes no liability or
responsibility to any person or entity for damage caused or al-
leged to be caused, either directly or indirectly, by computer
programs furnished thereby. This waiver includes, but is not
limited to, interruption of service, loss of business or antici-
patory profits, indirect, special or consequential damages, or
delayed delivery of this or any program. Any trouble experienced
when using this program, or suggestions for improvements, should
be reported to the Farm Computer Support Group.















TABLE OF CONTENTS

Page
ABSTRACT . . . . . . . . .. . . . . . . ii

INTRODUCTION . . . . . . . . ... . . . . 1

A MICROCOMPUTER PROGRAM . . . . . . . . ... ... 2

Running The Program . . . . . . . .... . 3
Growing Phase . . . . . . . ...... .... 4
Growing and Finishing Phases . . . . . .... 10

Explaining The Program . . . . . . . .... .14
Growing Phase . . . . . . . . . . 15
Growing and Finishing Phases . . . . . .... 16

REFERENCES . . . . . . . . ... ....... .18

APPENDIX: PROGRAM LISTING . . . . . . . .... 19

















ABSTRACT


Sugarcane is a potentially useful crop for feeding beef cattle. This
Circular presents a microcomputer program to evaluate different diets during
the growing and finishing phases. The growing phase section of the program
contains four diets while the growing and finishing phases section presents
three diets. These data were obtained from experimental results. Since
changing economic conditions demand periodic evaluations of feeding programs,
an opportunity is provided to analyze the effects of these changes on net
returns.


Key words: sugarcane, feedlot, microcomputer.









SUGARCANE AS A CATTLE FEED: A MICROCOMPUTER APPLICATION


Jose Alvarez and F. M. Pate

INTRODUCTION


Limited supplies of feedstuffs are a major factor affecting the develop-

ment of a Florida feedlot industry and locally grown feeds must be produced to

minimize costs (Prevatt etal.). Sugarcane has the potential to become an im-

portant feed source for beef cattle in south Florida. Pate et al. have docu-

mented the use of whole sugarcane feed products, with emphasis on fresh-chop-

ped cane as a feed for growing-finishing beef cattle. Their discussion in-

cludes information on agronomic production practices, harvesting and util-

ization of this crop as a forage crop, along with an economic evaluation of

several diets.

The results of several trials conducted at the Everglades Research and

Education Center in Belle Glade showed marked differences between feeding sugar-

cane versus other ingredients. For example, as the percentage of sugarcane in

the diet increased from 20 to 77 percent, dry matter intake (and thus rate of

gain), feed utilization, and carcass quality decreased because the energy value

of sugarcane was lower than those of corn grain and citrus pulp which it re-

placed. When used as roughage source in high-concentrate diets, fresh chopped

sugarcane was equivalent to corn silage, but to only 70 percent of the value



Jose Alvarez is Area Economist, Food and Resource Economics Department, Univer-
sity of Florida, Everglades Research and Education Center, Belle Glade, Fl.
F. M. Pate is Professor and Director, Agricultural Research Center, Ona, Fl, and
was an Animal Nutritionist at Belle Glade. The authors thank Robert Emerson
for his valuable suggestions to improve the quality of the program and manuscript,
and to Dick Levins for his help on some aspects of the programming.









of corn silage when used as a major diet ingredient (Pate et al.). These and

other results point out the necessity of analyzing sugarcane with other es-

sential feed ingredients.

Evaluating feeding alternatives is not an easy task. Yet changing eco-

nomic conditions demand periodic evaluations. The purpose of this Circular is

to present a microcomputer program that can help producers to perform this task

very quickly.

A MICROCOMPUTER PROGRAM


The microcomputer program presented in this Circular calculates the cost

of alternative feeding programs using fresh-chopped sugarcane as a feed for

growing and finishing beef cattle. The section on growing contains four diets

which combine the following ingredients: Sugarcane, shelled corn, dried citrus

pulp, cottonseed meal, cane molasses, mineral mix, and salt. The three diets

of the growing and finishing section, in addition to the above ingredients,

contain corn meal, urea and biophos. At the end of each section, an opportunity

is given to explore "what if" questions. That is, the user can change cost and

price parameters to check the effect on net returns per animal.

The program listed in the Appendix was written in BASIC. In its present

format, it runs on most Radio Shack machines and the IBM Personal Computer.

Minor modifications in the BASIC code and/or screen formats may be necessary

before the program can be run on other brands of computers.

Producers interested in obtaining copies of this program should contact:
Farm Computer Support Group
c/o Dean John T. Woeste
Florida Cooperative Extension Service
1038 McCarty Hall
University of Florida
Gainesville, F1 32611










Running The Program


The program is simple to run. The first two screen displays show some

background information about the program:




** SUGARCANE AS A CATTLE FEED **
VERSION 1.0

COOPERATIVE EXTENSION SERVICE
INSTITUTE OF FOOD AND
AGRICULTURAL SCIENCES (IFAS)
UNIVERSITY OF FLORIDA (UF)

COPYRIGHT 1984 BY IFAS, UF


This information stays on the screen for a few seconds. Then, without

having to press any key, the computer displays the purpose of the program

along with the option of analyzing the growing phase only or the combined

growing and finishing phases:


FOR FURTHER INFORMATION CONTACT

FARM COMPUTER SUPPORT GROUP
C/O DEAN JOHN T. WOESTE
FLORIDA COOPERATIVE EXTENSION SERVICE
1038 MCCARTY HALL
UNIVERSITY OF FLORIDA
GAINESVILLE, FL 32611












ANALYSIS F OFU( :.ARCANE AS A CATTLE FEED


fH 1S PRuGRAM CALCULATES THE COST OF D If F R.lE N IF: LI)IN(.3
AI.TERI'IAT 1V U ING FRESH- CHOPPED SUGARCAN' AS ONE OF:
THI GI IIGRDI'ENTS IN DIETS FOIR GRoWIN(.- FNI HINI:1 BENEF
CATTI F., THI I)A A USED CAME FROM IXPERIMEIiTAI RESULT.',


If- IHIS ANA..L\SIS F'nR:
1, k OWINN.i ON:L\
:. GRoWING AND FINISHING

SEL..ECT OPTION (1 OR 2) ?




Growing Phase

Assume the user wants to run the growing phase section of the program

only. When that is the case, a 1 is entered as the answer to the question:


SELECT OPTION (1 OR 2) ? I


Throughout this Circular, the underlined answers are provided by the

user and not the computer. After pressing the ENTER key, the four diets

included in the growing option are displayed on the screen along with other

relevant information:

OPTION: GROWING
INGREDIENT ("/ DM) 1 2 3 4
CHOPPED SUGARCANE 20.30 39.40 58.40 77.30
SHELLED CORN 45.70 30.50 15.20 0.00
DRIED CITRUS PULP 17.30 11.50 5.70 0.00
COTTONSEED MEAL. 12.20 15.10 18.00 21.90
CANE MOLASSES 3.80 2.90 2.00 0.00
MINERAL MIX 0.50 0.50 0.50 0.50
SALT 0.20 0.20 0.20 0.20

INITIAL WEIGHT (LBS) 558 570 562 564
DM INTAKE (LBS/DAY) 19.42 19.51 16.33 15.76
AVG. DAILY GAIN (LBS) 2.87 2.51 1.82 1.39
FEEDING DAYS (#) 133 133 133 133

SELECT DIET (1, 2, 3 OR 4) ?
u.___________ _ i_____________________________^ ^ _ j i










The user has the opportunity of analyzing any of the four diets.

For the first diet, a 1 is entered as the answer to the "select diet"

question:


The next step is to input the necessary information concerning costs

and prices:


ENTEP THE FOLLOWING I INFORMATION:


(COT OF CHOPPED I SUGARCANE gross.OS TO) '3 20
C(OST OF SHEL.IED CORN ($/BUSHEL) ? 2.
CC(ST )OF DRIED CITRUS PULP ($/TON) 135
COST OF COTTONSEED MEAL ($iTON) 1 7
COST OF CANE MOLASSES (S/TON) ? b
COST OF MINERAL MIX ($/TON) ? 250
CST :OF SALT ($/TON) '7 120
PURCHASE PRICE OF CATTLE ($/CWT)' '"
SELLING PRICE OF CATTLE.. ($/CWT) '?

ARE THESE ENTRIES O1. (\/N) ?



The last question on the previous output allows for correcting any

mistakes. If the figures are not correct, entering an N takes the user back

to the beginning of this screen display. If no changes are needed, a Y is

typed:


The computer is now ready to perform the analysis. But before doing so,

it reminds the user about the real meaning of the results:























After pressing the ENTER key, the result appears on the screen:


OPTION GROW IING
IN]T. WEIGHT 558 A. PUR. PPICE $ 70
FINAL WEIGH 9/+0 P.. SEL... PRICE $ 70

COMPOSITION OF DIET PERCENT COST PER UNIT
CHOPPED SUGARCANE 20. 3 C. $ 20
SHEL..LED CORN 45.7 D. $ 2.8
CITRUS PULP 17. 3 E. $ 135
COTTONSEED MEAL.. 12.2 F. $ 167
CANlE MOLASSES 3.8 G. $ 60
MINERAL MIX .5 H. $ 250
SAL- T ,.2 I. $ 120

NET RETURN /ANlFI AL ABOVE FEFD COST $ 10o. 78

LETTER TO C-HAI'VNGE (A-I), R 1O RERUN THE PROGRAM OR 7 TO END ?



The upper section of this output shows the initial and final weights

(the latter calculated by the program), along with the purchase and selling

prices entered by the user. The next section shows the percentage of each in-

gredient on the diet selected with the corresponding costs previously entered.

The result, in terms of net returns per animal above feed cost, is $109.78.

This figure does not reflect other fixed and variable costs since the purpose

of the exercise is to compare different diets and to estimate the effects of

changing some cost parameters.

The "line to change" question appearing at the bottom of the screen pro-

vides the opportunity to perform some sensitivity analysis. These changes


N'>T1E TITHAT THE NE RETURN FIGURE ONLY REF:L.ECTS
THE AN I MA.. PERFORMANCE DATA OF:' 'THE": D0I IT Y1OU
SE1L.ECT E AND THE INGREDI ENT COST'S l THAT' '
ENTERED. OTHER FIXED AND VARIABLE COSTS AF
ASS MEP T FE E'UAL.. FOR ALL. DIETS 'AN HA [I: N'T
P.:EE:I :.:DE.DUC'TED F RUM THE TO rTAL RETURN VFI i'PRE

PR:'ESS ENTER IO SEE THE RESI;ULT ?


_ r __ __ l__n_~ _r_l~___l__/~~_T___ _~ __I_ __ ~~ __ _










must be done one at a time. Assume that the user believes sugarcane cost

is $15/gross ton instead of $20. A C is typed as the answer to the "letter

to change" question and the new cost is entered:

LETTER TO CHANGE (A-I), R TO RERUN THE PROGRAM OR Z TO END ? C
NEW COST OF SUGARCANE ($/GROSS TON)? 15

The C variable now shows $15 and the net return per animal above feed

cost increased to $114.63:



OPTION: GROWING
INIT. WEIGHT 558 A. PUR. PRICE $ 70
FINAL WEIGHT 940 B. SEL.. PRICE $ 70

COMPOSITION OF DIET PERCENT COST PER UNIT
CHOPPED S.UGARCANE 20.3 C. $ 15
SHELLED CORN 45.7 D. $ 2.8
CITRUS PULP 17.3 E. $ 135
COTTONSEED MEAL 12.2 F. $ 167
CANE MOLASSES 3.8 G. $ 60
MINERAL MIX .5 H. $ 250
SALT .2 I. $ 120

NET RETURN/ANIMAL ABOVE FEED COST $ 114.63

LETTER TO CHANGE: (A-[), R TO RERUN THE PROGRAM OR Z TO END ?


The user now believes that cattle selling prices may be lower than

$70/cwt. To find out the effect of a $3/cwt decrease in price, variable B

is changed from $70 to $67:


LETTER TO CHANGE (A-I), R TO RERUN THE PROGRAM OR Z TO END ? D J
NEW SELLING I PRICF ($/''WT) ? I7

The new result is produced fast and accurately:












OPTION: GROWING
1NIT. WEIGHT 558 A. PUR. PRICE $ 70
FINAL WEIGHT 040 B. SEL. PRICE $ 6-7

COMPOSITION OF DIET PERCENT COST PER UNITN
CHOPPED SUGARCANE 20.3 C. $ 1i
SHELLED CORN 45. 7 D. $ 2.
ITRUS PUL..P 17.3 $
COTTONSEED MEAL. 12.2 F i .16'7
CAME MOLASSES 3.8 G. $ f( ,
MINERAl... MIX .5 H. $ 250
SAL..T .2 I. $ 120

NET RETURN/ANIMAL ABOVE FEED COST $ 86.43

LETTER TO CHANGE (A-I), R TO RERUN THE PROGRAM OR 7 TO END ?


Net returns per animal above feed cost are now $86.43. More changes

can be made until the user has explored all the possibilities he or she

wishes. When this happens, a Z must be entered as the answer to the last

question. But let us assume that the producer wants to run another diet.

The program allows this in the following manner:


LETTER TO CHANGE (A-I), R TO RERUN THE PROGRAM OR Z TO END ? R.


Once an R is typed, pressing the ENTER key takes the user to the begin-

ning of the program to select the desired option. Since the diet to be ana-

lyzed is for "growing only," a 1 is entered:

ANALYSIS_ OF SUGARCANE AS A CATTLE FEED


THIS PROGRAM CALCULATES THE COST OF DIFFERENT FEEDING
ALTERNATIVES USING FRESH-CHOPPED SUGARCANE AS ONE OF
THE INGREDIENTS IN DIETS FOR GROWING-FINISHING BEEF
CATTLE., THE DATA USED CAME FROM EXPERIMENTAL. RESULTS.


IS THIS ANALYSIS FOR:
1. GROWING ONLY
2. GROWING AND FINISHING

SELECT OPTION (1 OR 2) ? d
L _____ _ _ ~ ~~~ ~ ~~~ i. _ .' . . __ ^ ____ -










The diet chosen contains a higher sugarcane percentage and a lower amount

of corn than the previous diet:


OPTION: GROWING
INGREDIENT (% DM) 1 2 3 4
CHOPPED SUGARCANE 20.30 39.40 58.40 77.30
SHELLED CORN 45.70 30.50 15.20 0.00
DRIED CITRUS PULP 17.30 11.50 5.70 0.00
COTTONSEED MEAL 12.20 15.10 18.00 21.90
CANE MOLASSES 3.80 2.90 2.00 0.00
MINERAL MIX 0.50 0.50 0.50 0.50
SALT 0.20 0.20 0.:20 0.20

INITIAL WEIGHT (LES) 558 570 562 564
DM INTAKE (LBS/DAY) 19.42 19.51 16.33 15.76
AVG. DAILY GAIN (LBS) 2.87 2.51 1.82 1.39
FEEDING DAYS (#) 133 133 133 133

SELECT DIET (1, 2, 3 OR 4) ? 2


After pressing the ENTER key, costs and prices must be entered.

Ingredient costs and cattle prices are the same as before since the purpose

of the exercise is to compare both diets:



ENTER THE FOLLOWING INFORMATION:


COST OF CHOPPED SUGARCANE ($/GROSS TON) ? :I0
COST OF SHELLED CORN (S/BUSHEL) ? 2.8
COST OF DRIED CITRUS PULP ($/TON) ? 135
COST OF COTTONSEED MEAL ($'TON~ ? 167
COST OF CANE MOLASSES ($/TON) ? 60
COST OF MINERAL MIX ($/TON) ? 250
COST OF SALT ($/TON) ? 120
PURCHASE PRICE OF CATTLE ($/CWT 7 0
SEI ITNG PRICE OF CATTLE ($/CWT) ? 70

ARF THF',F I NMI'RIF! OF (V WN N .



Once the message about the meaning of the result (shown in the previous

example) appears on the screen, the computer displays the new answer:












OPT I ON: GROWING
INIT. WEIGHT 570 A. PUR. PRICE $ 70
FINAL. WEIGHT 04 B.. SEL.. PRICE $ 70

.COMPOSITION OF DIET PERCENT COST PER UNIT
CHOPPED SUGAPCANE 39,, 4 C. $ 20
SHELLED CORN 30.,,5 D. $ 2.8
CITRUS PULP 11.5 E. $ 135
(OTTONSEED MEAL 15.1 F. $ 167
CANE MOLASSES 2.9 G. $ 60
MINERAL. MIX .5 H. $ 250
SALT ,2 I. $ 120

NET RETURN/ANIMAL ABOVE FEED COST $ 15.61

LETTER TO CHANGE (A-T), R TO RERUN THE PROGRAM OR Z TO END ?


Under the same cost structure, the.diet with the higher level of sugarcane

produces a net return of $85.61 per animal, or $24.17 less than the previous

one. This shows that it is more economical to use shelled corn than sugarcane

in this diet under the cost structure assumed.

The user can now analyze the effects that changing specific variable

values will exert on the result. The procedure was shown in the first example.


Growing and Finishing Phases

This section of the program starts like the previous one when the computer

is turned on. When the user has been working with the "growing only" section

and wants to exit option 1 to enter option 2, an R is typed as the answer to

the last question.

LETTER TO CHANGE (A-I), R TO RERUN THE PROGRAM OR Z TO END ? 3R

In this case, option 2 is selected:












ANALYSIS OF SUGARCANE AS A CATTLE FEED


THIS PROGRAM CALCULATES THE COST OF DIFFERENT FEEDING
ALTERNATIVES USING FRESH-CHOPPED SUGARCANE AS ONE OF
THE INGREDIENTS IN DIETS FOR GROWING-FINISHING BEEF
CATTLE. THE DATA USED CAME FROM EXPERIMENTAL RESULTS.


IS THIS ANALYSIS FOR:
1. GROWING ONLY
2. GROWING AND FINISHING

SELECT OPT ION (1 OR 2) ? 2



After pressing the ENTER key, the three diets included in the growing-

finishing option appear on the screen along with other relevant information:


INGREDIENT i% DM) G 1 F G 2 F G 3 F
CHOPPED SUGARCANE 71.0 39.5 71,0 39.5 71.0 3.5
SHELLED CORN 0 27, 3 0 27,, 3 0 27,3
DRIED C'ITRUS PUL P 0 13 ,2 0 13. : 0 13.2
CAlE MOLASSES 0 4.0 0 4,,0 0 4, 0
COPN MEAL. 8.5 0 15.7 6.6 2.,9 13.0
COTTONSEED MEAl 19.,2 15. 3 10.5 7,. 1. 0
UREA 0 0 1.2 0., o .3 1.9
MINERAL MTY 1.1 0.5 1.1 0.5 1.1 0.5
BI('PHOS 0 0 0..3 0.- 0.6 0., 4
SAL.. 0.2 0 2 0. 2 0.. 0 :: 2 .
TNITIAL.. WF::IGHT (I BS) 536 53, 540
DMI INTAI'KE. ( I.. B3DAY) 14.23 19.6 13.27 t1 02 1,.0 1,. ''
AVCi,, DAILY GAIN I (I. 3) 2.01 .7. 1.60 J 85 1 .. 1.. "
FEEDIN .G DAYS (# 93 62 93 62 3 62
SEI.E-'CT DIET ( 1, 2 OR 3) ?


Assume the user wants to analyze the first diet. A 1 is entered to the

"select diet" question:


The cost of the ingredients and cattle prices are entered next:













ENTER R THE: FOLLOW..J ING( I NFORMA TI ON"

COST OF CHOPPED SUGARCANE ($/GROSS 1 ON 20
COST OF SHELLED CORN ($/BUSHEL) ? 2.8
COST OF DRIED CITRUS PULP ($/TON) ? 135
COST OF CANE MOLASSES ($/TON) 1 60
COST OF CORN MEAL ($/TON) ? 100
COST OF COTTONSEED MEAL ($/TON) ? 167
COST OF UREA ($/TON) ? 0
COST OF MINERAL MIX ($/TON) ? 250
COST OF BIOPHOS ($/TON) ? 0
COST OF SALT ($/TON) ? 120
PURCHASE PRICE OF CATTLE ($/CWT) ? 70
SELLING PRICE OF CATTLE ($/CWT) ? 70

ARE THESE ENTRIES OK (Y/N) ? V


Notice that zero cost was entered for urea and biophos since they are

not included in the diet selected. But if the user inputs them it will not

affect the result.

After pressing the ENTER key, the computer precedes with the analysis.

As in the previous section of the program, the screen displays the message

concerning the meaning of the result:


NOTE THAT THE NET RETURN FIGURE ONLY REFLECTS
THE ANIMAL PERFORMANCE DATA OF THE DIET YOU
SELECTED AND THE INGREDIENT COSTS THAT YOU
ENTERED. OTHER FIXED AND VARIABLE COSTS ARE
ASSUMED TO BE EQUAL FOR ALL DIETS AND HAVE NOT
BEEN DEDUCTED FROM THE TOTAL RETURN FIGURE.

PRESS ENTER TO SEE THE RESULT ?



Pressing the ENTER key displays the composition of the diet for both

growing and finishing, initial and final weights, purchase and selling prices,


and the cost per unit of each ingredient along with the result:













INIT. WEIGHT 536
FINAL WEIGHT 830

CHOPPED SUGARCANE (%)
SHELLED CORN (%)
DRIED CITRUS PULP (%)
CANE MOLASSES (X)
CORN MEAL (%)
COTTONSEED MEAL (%)
UREA ( %)
MINERAL MIX (7)
EIOPHOS ((%)
SALT (7)
NET RETURN/ANIMAL AEOVE

LETTER TO CHANGE (A-L),


A. PUR.
B. SEL.


PRICE $ 70
PRICE $ 70


GROWING FINISHING COST/UNIT
71.0 39.5 C. $ 20
0 27.3 D. $ 2.8
0 13.2 E. $ 135
0 4.0 F. $ 60
8.5 0 G. $ 100
19.2 15.3 H. $ 167
0 0 I. $ 0
1.1 .5 J. $ 250
0 0 K. $ 0
.2 .2 L. $ 120
FEED COST $ 69.71

R TO RERUN THE PROGRAM OR Z TO END ?


The composition of the diet, the animal performance data, and the cost

structure assumed in this example produce a net return per animal above

feed cost of $69.71 This figure includes both the growing and finishing

phases.

The opportunity to change variable values, one at a time, is also

provided in this section of the program. The last line on the screen display

serves this purpose. Let us see the effect of decreasing the cost of sugarcane

to $15/gross ton. The same procedure is used to make the change: First, type

the variable name, press the ENTER key, and then enter the new figure:

LETTER TO CHANGE (A-L), R TO RERUN THE PROGRAM OR Z TO END ? C
NEW COST OF SUGARCANE ($/GROSS TON) ? 15


Pressing the ENTER key instructs the computer to print the result on the

screen:












INIT, WEIGHT 536 A. PUR. PRICE $ 70
FINAL! WEIGHT 830 E. SEL. PRICE $ 70
GROWING FINISHING COST/UNIT
CHOPPED SUGARCANE (%) 71.0 39.5 C. $ 15
SHELLED CORN (%) 0 27.3 D. $ 2.8
DRIED CITRUS PULP (%) 0 13.2 E. $ 135
CANE MOLASSES (%) 0 4.0 F. $ 60
CORN MEAL (7) 8.5 0 G. $ 100
COTTONSEED MEAL (%) 19.2 15.3 H. $ 167
UREA (%) 0 0 I. $ 0
MINERAL MIX (%) 1.1 .5 J. $ 250
BIOPHOS (%) 0 0 K. .$ 0
SALT ('.) .2 .2 L. $ 120
NET RETURN/ANIMAL ABOVE FEED COST $ 82.85

LETTER TO CHANGE (A-L..), R TO RERUN THE PROGRAM OR Z TO END ?


Net return per animal above feed cost are now $82.85. This type of anal-

ysis can be done until the user is satisfied with the result. At that point,

the user can either go back to the beginning of the program as explained above,

or terminate the program as follows:

LETTER TO CHANGE (A-L), R TO RERUN THE PROGRAM OR Z TO END ? Z

END OF PROGRAM
READY



Explaining the Program


This section describes how the computer program works. The main purpose

is to show the formulas and assumptions on which the analysis is based. With

that knowledge, users with some background in BASIC programming can modify the

program if the need arises.

Line 100 clears the screen. Lines 110-310 display the background in-

formation about the program. This information remains on the screen for about

15 seconds because of the instructions provided in lines 210 and 320. After










the screen is cleared by line 330, the purpose of the program and the op-

portunity for selecting one of the two feeding programs are contained in

lines 340 to 440. If a 1 is entered, line 450 makes the program go to line

1780 to execute the growing phase only.


Growing Phase

Line 1780 clears the screen. Lines 1790 to 1930 display the composition

of the four diets, on a dry matter basis, and other relevant information.

Line 1940 prompts the user to select a diet. If diet number one is se-

lected, line 1950 instructs the computer to go to line 2000 which contains

the relevant diet ingredients and performance data. For the second diet, line

1960 reads the information contained in line 2010. The third diet selected in line

1970 is read in line 2020, while the fourth diet in line 1980 is read in line

2030.

Line 2040 clears the screen. The cost of the ingredients and cattle prices

are entered from line 2050 to line 2150. Line 2160 allows for correcting mis-

takes while entering data in this section. When a correction needs to be made,

an N is typed and the program goes to the beginning of this section (line 2170

returns the program to line 2040). If a Y is entered, the program clears the

screen (line 2200) to display the meaning of the results (Notice that line 2190

recognizes entering a wrong character and makes the user aware of this fact).

The message concerning the meaning of the result is printed with the ins-

tructions in lines2210to 2270. The analysis is then performed: In line 2300,

each ingredient is divided by the corresponding factor to convert it to an as

fed basis. Table 1 contains the variable names and the factors used. Line 2330

adds all ingredients of the diet which have already been converted to an as fed

basis. Corn cost is converted to a per ton basis on line 2350. Line 2370










Table 1. Variable names and factors used to convert diet ingredients from
a dry matter basis to an as fed basis.


Variable name

Growing and
Ingredient Growing finishing Factor


Sugarcane QS GI Fl .27

Shelled corn QC G2 F2 .90

Dried citrus pulp QP G3 F3 .90

Cane molasses QL G4 F4 .80

Corn meal -- G5 F5 .90

Cottonseed meal QM G6 F6 .90

Urea -- G7 F7 1.00

Mineral mix QX G8 F8 1.00

Biophos -- G9 F9 1.00

Salt QT GS FS 1.00
i










computes the total cost of the diet: each ingredient is divided by the total

amount and multiplied times its cost; then all costs are added. Line 2390

calculates the percent of dry matter on an as fed basis, while line 2410 computes

the number of pounds intake per day on an as fed basis. Line 2430 computes

the final weight and rounds it to the nearest pound. The total cost of feeding

is calculated byline 2450: total cost of the diet times the number of pounds

intake per day as a tonnage percentage times the number of feeding days. Net

return per animal above feed cost is calculated in line 2470: final weight

(in cwt) times selling price minus total cost of feeding minus initial weight

(in cwt) times purchase price. This figure is rounded to two decimal places

by line 2480.

Printing instructions for the result are contained in lines 2490 to 2750.

Notice that all ingredients have been converted back to a dry matter basis by

multiplying them times the same factor used before.

Line 2760 provides the opportunity to change some of the variable values,

rerun the program, or terminate the program. The changes are given by lines

2770 to 2850. Line 2860 takes the user back to line 330 to select either option,

while line 2870 ends the program if a Z is entered.

Growing and Finishing Phases

This section of the program works in a similar fashion as the "growing

only" section. If a 2 is entered in the selection question (line 440), the

program goes to line 460. From this point, the input section and the cal-

culations are performed as before. The program ends if a Z is entered in

line 1590.






18



REFERENCES


Pate, F. M., J. Alvarez, J. D. Phillips and B. R.
a Cattle Feed: Production and Utilization.
Experiment Stations Bulletin 844, University
Florida, June 1984.


Eiland. Sugarcane as
Florida Agricultural
of Florida, Gainesville,


Prevatt, J. Walter, Bryan E. Melton, Thomas H. Spreen and Kary Mathis.
"The Economics of Carcass Beef Production: An Appraisal of Florida's
Feedlot Potential. Southern Journal of Agricultural Economics, Vol.
10, December 1978, pp. 49-55











APPENDIX
PROGRAM LISTING




100 CLS
110 PRINT:PRINT:PRINT
120 PRINT ** EUGARCANE AF A CATTLE FEED **"
130 PRINT 'VEPS I ON 1.0"
140 PRINT
150 PRINT COOPERATIVE EXTENSION SERV!ICE-
160 PRINT INSTITUTE OF FOOD AND"
170 PPINT AGRICULTURAL SCIENCES (IFAS)"
180 PRINT UNIVERSITY OF FLORIDA (UF)"
190 PRINT
200 PRINT COPYFIGHT 1984 BY IFAS, UF"
210 FOP I=1 TO 5000 : NEXT I
220 CLS...
230 PRINT: PRINT:PPINT
240 PRINT FOR FURTHER INFORMATION CONTACT"
250 PRINT
260 PRINT FARM COiMPUTER S'-PPORT GROUP"
:27 PRINT C/O DEAN JOHN T- WOESTE"
280 PRINT FLORIDA COOPERATIVE EXTENSI-EN SERVICE"
290 PRINT 1038 MCCARTY HALL"
30'3 PRINT UNIVERSITY OF+' FLORIDA"
310 PRINT GAINESVILLE, FL 32611"
320 FO'R I=1 TO 5000 : NEXT I
330 CLS
340 PRINT "ANALYSIS OF SUGARCANE AS A CATTLE FEED"
350 PRINT:PRINTl
360 PRINT "THIS PROGRAM CALCULATES THE COST OF DIFFERENT FEEDING
370 PRINT "ALTERNATIVES USING FRESH-CHOPPED SUGARCANE AS ONE OF
380 PRINT "THE INGREDIENTS IN DIET? FOR ,GPWI NG-FINIH ING BEEF"
390 PRINT "CATTLE. THE DATA U: LD CAME FROM EI EXPERIMENTAL RESULTSS"
W-0O PRINT:PRINT
410 PRINT "Is THIS ANALYSIS FORP"
4+20 PRINT "1. 3ROWAIING ONLY"
430 PRINT "2. GROWING AND FINISHING"
440 PPINT: INPUT "SELECT OPTION (1 OP :' "iS
450 IF S=1 THEN GOTO 1780
4::0 IF S=2 THEN G'TO 470

-~ PFINT IN IREMIENT ( %' DM) ;TA 25 : "" G" TA 2 ; 1" 1 Th-E7' ; '' "_ .A.. '3" T
AB- 43) ; "2 ;TAE' 4'7' ;" F" ;TAE 55' "G" ;TAI 5.1 "3"7 ; TAP "F"
4-0 PRINT "C:HOFPED SUGARANE ;TAB 2: ;" :1 ." ;TAE : 29) ; 7-.. : ; "TA ,7 1 Ti m : TAE:
4 ;"39.5" ; TAE(52) 1.0" TA (59 "39.5"
500 PRINT "SHELLED COPN ";TAB.(25' "O ;TABi 2 ,) "-.7.3 ;TAB*;40 ;- ;,TAB '44 ; "2 .3"
TA E, 55 5 "! ", 0 TAP 59 : "27- 3 "
510 PRINT "DPIED CITRUS PULP ;TAE 2T : "" ;TAE 29); 13'. 2" ;TAE 40 ; "D" ;TAB (4 1
3,2" TAE(55) ;"0" TAB5c ;"13.2"
5 0 PRINT "CANE MOLASSES TAB(25 ;"0";TRE :30 "4.0";TAE(40);"0";T-E B(45)4 0";T
AEB 55 "" ;TAB' 60) ; "4.0"
530 PRINT "CORN MEAL ";TAB(23);"8.5";TAB(32) ;"0'";TAB(37);"15.7";TAB(45);"6.6";TA
B(52);"22.9";TAF(59 ;"13.0"












540 PRINT "COTTOn .: FO MEAL ;TAB22) ;" 19.2" ;TAB(29) ;"15.3" ;TAB(37); "10.5" iTABE f45
); 7.6";TAB(53) ". TAB(62); "0"
550 PRINT "URE.- :TAB(25 );"O";TAB(32);"O" ;TABf38); "1.2" ;TAB(45 );"0,9"; TAB(53); "2
.3" ;TAB(60) "1. -
560 PRINT "MINERAL MIX ";TAB(23);"1.1";TAB(30) "0.5";TAB(38);"1.1";TAB(45);"0.5"
;TAB(53' 1.1" :TAB(60) ;"0.5"
570 PRINT "BIOPHOS TAB(25);"" ;TAE(3) ;"0" TAB(38) "0.3" TAB((45);"0.2" ;TTAE(53)
;"0.6";TAB(60) "0. 4"
580 PRINT "SALT ";TAB(23) ;"0.2"; TAB 0) "0.2" ;TABE(38) "0.2" ;TAB(45) ;"0.2" ;TABe 53
);"0.2" TAB(!0,;"0.2"
590 PRINT "INITIAL WEIGHT (LBS) ";TAB(23);"536";TAE (38; "536 TAB(53 );"540"
600 PRINT "DM INTAKE (LBS/DAY) ";TAB(21);"14.23";TAB(28) "19.62" TAB 36 ;"13.27"
iTAB (43) ; 19.02" ;TAB52);"13.0"TA (58);"18.27"
610 PRINT "AVG. DAILY GAIN (LBS) ";TAB(22);"2.01";TAB,29);"1.72";TAB 37 ;"1.60";
TAB(44);"1.85";TAB(52);"1.38";TAB(59); "1.79"
620 PRINT "FEEDING DAYS (#) ";TAB(24);"93";TAB(31);"62";TAB(39);"93";TAB(46);"62
";TAB(54);"93";TAB(61);"62"
630 INPUT "SELECT DIET (1, 2 OR 3) ";S
640 IF S=l THEN GOTO 680
650 IF S=2 THEN GOTO 690
660 IF S=3 THEN GOTO 700
670 REM DIET INGREDIENTS ON A DM BASIS AND PERFORMANCE DATA
680 G1=71: G2=0: G3=0: G4=0: 55=8.5: G6=19.2: G7=0: G8=1.1: G9=0: GS=0.2: Fl=39.
5: F2=27.3: F3=13.2: F4=4: F5=0: F6=15.3: F7=0: F8=0.5: F9=0: FS=0.2: IW1=536: D
11=14.23: ID2=19-62: DG1=2.01: GD2=1.72: FD1=93: DF2=62: GOTO 710
690 G1=71: G2=0; G3=0: G4=0: G5=15.7: G6=10.5: G7=1.2: G8=1.1: G9=0.3: GS=0.2: F
1=39.5: F2=27.3: F3=13.2: F4=4: F5=6.6: F6=7.6: F7=0.9: F8=0.5: F9=0.2: F5=0.2:
IW1=536: DI1=13.27: ID2=19.02: DG1=1.6: GD2=1.85: FD1=93: DF2=62: GOTO 710
700 G1=71: G2=0: G3=0: G4=0: G5=22.9: G6=1.9: G7=2.3: G8=1.1: G9=0.6: GS=0.2: F1
=39.5: F2=27.3: F3=13.2: F4=4: F5=13: F6=0: F7=1.9: F8=0.5: F9=0,4: FS=0.2: I-1=
540 D011=13: ID2=18.27: DG1=1.38: GD2=1.77: FD1=93: DF2=62: GOTO "10
710 CLS
720 PRINT "ENTER THE FOLLOWING INFORMATION:"
730 PPINT
740 INPUT "COST OF CHOPPED SUGARCANE ($/GROSS TON) ";C1
750 INPUT "COST OF SHELLED CORN (*/BUEHEL) ";C2
760 INPUT "COST OF DRIED CITRUS PULP ($/TON) ;'3
770 INPUT "COST O:F CANE MOLASSES ($/T'ONi ";C+
780 INPUT "COST OF CORN MEAL (*/TON) ";C5
790 INPUT "COST OF COTTONSEED MEAL .$/TON) ;C6
800 INPUT "COST OF UREA (/TON) ;C7
310 INPUT "COST OF MINERAL MIX ($/TON) ";C8
820 INPUT "COET OF EIOPHOS ($/TON) ;C9
830 INPUT "COST OF SALT ($,TON) ";CS
840 INPUT "PURCHASE PRICE OF CATTLE ($'CWT) "iPP1
850 INPUT "SELLING PRICE OF CATTLE ($/CWT) "'PS2
860 PRINT: INPUT "ARE THESE ENTRIES OK (Y/N) ";O0
870 IF O$="N" THEN GOTO 710
880 IF 0i="Y" THEN GOTO 900
890 PRINT "ONLY V OR N WILL WORK. TRY AGAIN.":GOTO 860
900 CLS
910 PRINT "NOTE THAT THE NET RETURN FIGURE ONLY REFLECTS
920 PRINT "THE ANIMAL PERFORMANCE DATA OF THE DIET YOU
930 PRINT "SELECTED AND THE INGREDIENT COSTS THAT YOU













940 PRINT "ENTERED. OTHER FIXED AND VARIABLE COSTS ARE
950 PINT "ASSUMED TO BE EQUAL FOR ALI DIETS AND HAVE NOT
960 PRINT "BEEN DEDUCTED FROM THE TOTAL RETURN FIGURE.
970 PRINT: INPUT "PRESS ENTER TO SEE THE RESULT ";A$
980 CLS
990 REM CONVERTING INGREDIENTS TO AN AS FED BASIS
1000 GI=G1/.27:G2=G2/.9:G3=G3 : G4=G4/ :G5=G/.G5G9 =G6 9 G7=G7/1 :G88=G:/1 :G9r=G
9 1 GS=GIS/ 1:F=F 1.27: F2=F2/. 9: F3=F3 ,/. 9:F4=F4, ,8: F5=F5. / 9:F6==F _. 9: F7=F7 / 1 :FS=F8q
,1: F9=F9/1 :FS=FS/1
1010 CLS
1020 REM ADDING ALL INGREDIENTS ON THE DIET OF EACH PHASE
1030 TG =G1+G2+G3+G4+G5+G6+G7+G8+G9+GS
1040 TF=F 1+F2-F3+F4+F5+F6+F7+F8+F9+FS
1050 REM CONVERTING CORN COST TO' A PER TON BASIS
1060 PT=((((C2/56)*100)/.845)*.9*20)
1070 REM TOTAL COST OF EACH DIET
1080 Tl=( (G1.TG)* C1 +(- :G2/TG)*PT)+' (G3/TG) -*C3 +( (G4/TG)*C4)+ G5/iTG)*(.C5)+( (i6/TG
)*C6)+( G7'TG)*C7)+((GS/TG3)*C)+((G9/TG)*C9'+( GS/TG)*CS)
1090 T2=((F1/TF)*C1)+((F2/TF)*PT)+(:F3/TF)*C )+((F4/TF)*C4'+I' F5iTF)*C5)+((F6.TF
)*C6)+( (F7/TF) *C7) +(( F8iTF)'*C8 ) +( F9/TF)*C9) + FS/TF)*CS
1100 REM % OF DRY MATTER AS FED DIET
1110 MG-= 100/TG
1120 MF=100.TF
1130 REM LBS OF AS FED DIET INTAKE PER DAY
1140 L1=DI1/.MG
1150 12=ID2/MF
1160 REM FINAL WEIGHT ROUNDED TO NEAREST LB
1170 WF=IW 1+ G n F51. *FD1 )+( GD *DF2) WF=INT ( WF+.5 )
1180 REM TOTAL COST OF FEEDING
1190 T3=(TI*(L1,' /:CI00 ',FD 1)
1200 T4=(T2 *'L2,2000)*DF2)
1210 REM NET REVENUE
1:':20 RGF:=~ (UiF/1.00'*PS:2)-fT3+T -:' i I 100 ) PP1 : RGF= INT( 1 O*Pt 10'o
1230 PRINT "INIT. WEIGHT ;IW 1;TAB: i ) ; "A. PUR. PRICE $";FP1
1240` PRINT "FINAL WEIGHT ";WF;TAE( 41);"BE SEL. PRICE $";PS2
1250 PRINT TA 2. GROWINGN" ;Ta 3 ; "F FISHING" ; TABF 50) ;"C*:t NjrIT"
1260 PRINT "CHOPPED SUGARCANE i%"
1270 PRINT TABE25); USING "## #";G1*.27;
1280 PRINT TAB.'3 );F1*.2;TE "5, 0";CTC C
1290 PRINT "SHELLED CORN (%X)"TAB(27;G* .9;TAB(38);F2-.9;TAEB' 50"D. ;C2
1300 PRINT "DRIED CITRUS PULP ("1";TAB:2'! ;G3*.;9TAB 38 i F3*. '-B 50);"E. *";C3
1310 PRINT "CANE MOLASSES t :TAE 2~) ;G4*. 8;
132'0 PRINT TAB'40); USING "#.#";F-+*,.
1330 PRINT TABz50);"F. $".C4
1340 IF S--1 THEN GO TrO 1-+00
1350 IF S=2 THEN GOTO 1450
1360 IF S=3 THEN GOTO 1500
1370 PPINT "CO! RN MEAL (%;)";TAE 24 ':G*9 ;
1380 PRINT TABC37'; USING "##.#";F5*.9;
13C0 PRINT TAF(50 ;"G. $";C5
1400 PRINT "CORN MEAL (%x)" ;TABE 25 ;5 *. 9 ;TAB (41 ;F5*. 9;TAE (5C' : $" ;5
1410 PPINT "COTTONSEED MEAL (%)";TAE(24);G6*.9;TAB( 38);F6*..9TA B50);"H. $";C.
1420 PRINT "UREA %7)";TAB(27);G7*1;TAB(41);F7*1;TAB(50);"I. $";C7













1430 PRINT "MINERAL MIX (%)";TAB(25);G8*1;TAB(40);F8*1;TAB(50);"J. $";CB
1440 PRINT "BIOF i:S (%) ;TAB(27);G9*1 ;TAB(41 ) ;F91;TAB(50);"K. $";C9: GOTO 1570
1450 PRINT "COF MEAL (%)";TAB(24);G5*.9;TAB(39);F5* 9;TAB(50);"G. $";C5
1460 PRINT "CO TONSEED MEAL (%)";TAB(24);G6*.9;TAB(39);F6*.9;TAB(50);"H. $";C6
1470 PRINT "UREA (%)";TAB(25);G7*1;TAB(40);F7*1;TAB(50);"I. $";C7
1480 PRINT "MINERAL MIX (%)";TAB(25);G8*1;TAB(40);F8*1;TAB(50);"J. $";C8
1490 PRINT "EIOPHOS (%)";TAB(c26;G9*1;TAB(40) ;F9*1;TAB(50);"K. $";C9: GOTO 1570
1500 PRINT "CORN MEAL (%)";TAB(24);G5*.9;
1510 PRINT TAB(39); USING "##.#";F5*.9;
1520 PRINT TAB(50);"G. $":C5
1530 PRINT "COTTONSEED MEAL (%)";TAB(25);G6*.9;TAB(41);F6*.9;TAB(50);"H. $";C6
1540 PRINT "UREA (%)";TAB(25);G7*1;TAB(39);F7*1;TAB(50);"I. $";C7
1550 PRINT "MINERAL MIX (%)";TAB(25);G8*1;TAB(40);F8*1;TAB(50);"J. $";CB
1560 PRINT "BIOPHOS (%)";TAE(26);G9*1;TAB(40);F9*1;TAB(50);"K. $";C9
1570 PRINT "SALT (%)";TAB(26);GS*1;TAB(40);FS*1;TAB(50) ;"L $";CS
1580 PRINT "NET RETURN/ANIMAL ABOVE FEED COST $";RGF: PRINT TAB(34);STRING$(8,13
1)
1590 INPUT "LETTER TO CHANGE (A-L), R TO RERUN THE PROGRAM OR Z TO END ";C$
1600 IF C$="A" THEN INPUT "NEW PURCHASE PRICE ($/CWT) ";PP1
1610 IF C$="B" THEN INPUT "NEW SELLING PRICE ($/CWT) ";PS2
1620 IF C$="C" THEN INPUT "NEW COST OF SUGARCANE ($/GROSS TON) ";C1
1630 IF C$="D" THEN INPUT "NEW COST OF SHELLED CORN ($/BUSHEL) ";C2
1640 IF C$="E" THEN INPUT "NEW COST OF CITRUS PULP ($/TON) ";C3
1650 IF C$="F" THEN INPUT "NEW COST OF CANE MOLASSES ($/TON) ";C4
1660 IF CS="G" THEN INPUT "NEW COST OF CORN MEAL ($/TON) ";C5
1670 IF C$="H" THEN INPUT "NEW COST OF COTTONSEED MEAL ($/TON) ";C6
1680 IF C$="I" THEN INPUT "NEW COST OF UREA ($/TON) ";C7
1690 IF CS="J" THEN INPUT "NEW COST OF MINERAL MIX ($/TON) ";C8
1700 IF C$="K" THEN INPUT "NEW COST OF BIOPHOS ($/TON) ";C9
1710 IF CS="L" THEN INPUT "NEW COST OF SALT ($/FON) ";CS
1720 IF C$="R" THEN GOTO 330
1730 IF C$="Z" THEN GOTO 1750
1740 GOTO 1010
1750 PRINT
1760 PRINT "END OF PROGRAM"
1770 END
1780 CLS
1790 PRINT TAB(21); "OPTION: GROWING"
1800 PRINT "INGREDIENT (X DM) ";TAB(26) ; "1" ;TAB(34); "2" TAB(42);"3" ;TAE (50);"4"
1810 PRINT "CHOPPED SUGARCANE ";TAB(24);"20.30";TAE(32);"39.40";TAB(40) ;"58.40";
TAB(48);"77.30"
1820 PRINT "SHELLED CORN ";TAB(24);"45.70";TAB(32);"30.50";TAB(40);"15.20";TAB(4
9);"0.00"
1830 PRINT "DRIED CITRUS PULP ";TAB(24);"17,30" TAB(32) "11.50";TAE(41);"5.70";T
AB ( 4-)? ; "0. 00-"
1840 PRINT "COTTONSEED MEAL ";TAB(24);"12.20";TAB(32);"15.10";TAB(40);"18.00";TA
B(48);"21.90"
1850 PRINT "CANE MOLASSES ";TAEB25';"3.80";TAB"33);"2.90";TAB(41);"2.00";TAB(49)
;"0,00"
1860 PRINT "MINERAL MIX ";TAB 25);"0.50";TAB(33);"0.50";TAB(41);"0.50";TAB(49);"
0.50"
1870 PRINT "SALT ";TAB(25);"0.20";TAB(33);"0.20";TAB(41);"0.20";TAB(49);"0.20"
1880 PRINT













1890 PRINT "INITIAL. WEIGHT (LBS) ";TAE(26);"558";TAB(34);"570";TAB(42);"562";TAB
50) ; "564"
1900 PRINT "DM INTAKE (LES/DAY) ";TAB(24 ;" 19.42" ;TAB(32) ;"19 51" ;TABE 40) ;" 16.33
";TAB(48);"15.76"
1910 PRINT "AVG. DAILY GAIN (LBS) ";TAB(25);"2.87";TAB(33);"2.51";TAB(41 ;"1.82"
;TAB(49);"1.39"
1920 PRINT "FEEDING DAYS :(# ";TAF' 2=_ ;" 133" ;TAF(34 ; 133" ; TAE *42)" 133" ;TAE ~50)
;"133"
1030 PRINT
1940 INPUT "SELECT DIET t.I, 2, 3 OF 4) ";,
1950 IF S=l THEN GOTO 2000
1960 IF S=2 THEN GOTO 2010
1970 IF S=3 THEN GOTO 2020
1980 IF 3=4 THEN GOTO 2030
1990 REM DIET INGREDIENTS .ON A DM PASIS AND PERFORMANCE DATI
2000 QS=20.3: QC=45.7: !pP=17.3: QM=12.2: !L=3.9: (i X=0 .5: QT=0.2.: IL=558 DI=19.4
2: DG=2.87: FD=133: GOTO 1040
2010 0r =39.4: QC:=30..5: O:!P=11.5: OM=15. 1: qL=2. : <-=0.5: 01=0.2: 1=..-5 0 DI=19.5
1: DG=2.51: FD=133: GOTO 2040
2020 QS=58.4: C-.=15.2: P P=5 -: QM=18: :L=2: Q=e- 5: QT=0.2: IL=562: DI=1,.33: DG
=1.82: FD=133: GOTO 2040
2030 05=77.3: QC=0: QP=0: QM=21.9: QL=0: GX=0.5: OT=0.2: IL=564: DI=15.76: DG=1.
3=: FD=133: GO'TO 2040
2040 CLS
2050 PRINT "ENTER THE FOLLOWING INFORMATION':"
2060 PPINT:PRINT
2070 INPUT "COST OF CHOPPED SUGARCANE 0(/GPOS TON) ";CS
2080 INPUT COST OF SHELLED CORN ($/BUSHEL) ";CC
:"'00 INPUT "COST OF DRIED CITRUS PULP s.-TON) ;CP
2100 INPUT "COST OF COTTONSEED MEAL ($/TOM) "; CM
2110 INPUT "COST OF CANE MOLASSES ($/TON) ";CL
2120 INPUT "COST OF MINERAL MIX ($/TON) "I
2130' INPUT "COST OF SALT 21.40 INPUT "PURCHASE PRICE OF CATTLE ($/CWT' ";PP
2150 INPUT "SELLING PRICE OF CA TlL.E ($ .C.WT ";SP
2160 PRINT: INPUT "ARE THESE ENTRIES OK (: N- :O'
2170 IF 0$='"N" THEN GOTO 2040
2180 IF O$="Y" THEN GOTO :200
21:0 PRINT "ONLY V OP N WILL WORK. TRY AGAIN.":GOTO 2160
2200 CLS
2210 PRINT "NOTE THAT THE NET RETURN FIGURE ONLY REFLECTS
2220 PRINT "THE ANIMAL PERFORMANCE DATA ,:F THE PIrT YOU
2230 PPINT "SELECTED AND THE INGREDIENT COST THAT -OU
1240 PRINT "ENTEPED. .-THEP FI'ED5 AHO '.,ARIAPLE C ,TS ARE
2250 PRINT "ASiUMED TO EE EQUAL FTPF ".'L IETS ANhD HAVE NOT
2260 PRINT "BEEN DEDUCTED FPOM THE TOTAL RETURN FIGURE."
2270 PRINT: INPUT "PRESS ENTER TO SEE THE RESULT ";A$
2280 CLS
2290 REM CONVERTING INGREDIENTS TO AN AS FED BASIS
2300 QS='S/.' 27: QC=lC .9 : P=0F .". OM=TM/.9: -L=QL/. 8: 0:='-X/1: :T=:T 1
2310 CLS
2320 REM ADDING ALL INGREDIENTS ON THE DIET
2330 TI=QS+.C+OP+QM+QL+OX+QT
2340 REM CONVERTING CORN COST TO A PER TON BASIS









2350 -i=((((CC/56)*100)/.845)*.9*20)
2360 REM TOTAL COST OF DIET
2370 TCD=((gS/TI)CS):'+((QC/TI)*A1)+(( P/TI)*CP)+((GM/TI)*CM)+(( 5L/TI)*CL)+(( X/T
I)* x + ((.!T/TI)* >)
2380 REM % OF DP MATTER AS FED DIET
23~30 DFD=1 0/TT
2400 REM LES OF AS FED DIET INTAKE PER DAY
2410 LFD=DI/DFl
2420 REM FINAL WEIGHT ROUNDED TO NEAREST LB
2470 FW=IL+(DG*FD): FW=INT(FW+.5)
2440 RE1 TOTAL COST OF FEEDING
2450 TCF=(TCD: LFD/2000)*FD'
24603 EM NET REVENUE
2470 NR=((FW/100)*SP)-TCF*-( IL.100)*PP)
24?80 HR=INT(100*NR)/100
24'0 PR1NT TAB 21) "OPTION: GROWING"
2500 PRINT "INIT. WEIGHT";IL;TAB(40);"A. PUR. PRICE $";PP
2510 PRINT "FINAL WEIGHT";FW;TAB(40);"B. SEL. PRICE $";SP
2520 PRINT:PRINT "COMPOSITION OF DIET" TAB(22) "PERCENT" ;TAB(40); "COST PER UN'IT"
2530 PRINT "CHOPPED SUGARCANE";TAB(22);QS*.27;TAB(40);"C. $";CS
2540 IF S=1 OR S=2 THEN GOTO 2570
2550 IF S=3 THEN GOTO 2580
2560 IF S=4 THEN GOTO 2660
2570 PR INT "SHELLED CORN";TAB 22) ;QC*.*.9;TAB ( 40) "D. $" ;CC: GOTO 2700
25:0 PRINT "SHELLED CORN";TAE ;.22 );!C*.9;TABE(40) "D. $";CC
2590 PRINT "CITRUS PULP"iTAE(23) ;!P*.9;TA B40);"E. $"-CP
2600 PRINT "COTTONSEED MEAL";
::610 PRINT TA(23); USING "##-#";("M*.9;
2620 PRINT TAEB40);"F. $";CM
2630 PRINT "CANE MOLASSES";
2640 PRINT TAB,24); USING "#.#" ;OL*,8;
2650 PRINT TAB(40);"G. $";CL: GOTO 2730
2660 PRINT "SHELLED CORN" TAE 25);QC*.9;TAB(40 ;"D. $";CC
2o70 PRINT "CTTRUS PULP";TA :25 ';(]P*.9;TAB(40);"E, $";CP
2590 PRINT "COTTONSEED MEAL" ;TAB(22) ; M*. 9;TAB(40);"F. $";CM
:270 PR INT "CANE MOLASSES"; TAB (25);L*. 8 TAE 40);" G $";CL: GOTO 2730
2700 PRINT "CITRUS PULP";TAB,22);Q!P*.9;TAB(40);"E. $";CP
2710 PRINT "COTTONSEED MEAL" ;TAB(22);w M*.9;TAB (40) ;"F, $";CM
2720 FRINT "CANE MOLASSES" ;TE B23); QL *. .8TAP(40 ;"G, $";CL
2770 CRINT "MINERAL MIX";TAE 24 ;QX*1;TAP 40);"H. $";CX
2"40 PRINT "SALT";TAB(24); i'T*1;TAB(40) ;"I. $";CT
275.0 PRINT:PRINT "NET RETURNz ANIMAL AEOVE FEED COST $";NR: PRINT TA:B(3'0'4; STRING*
8, 131)
2760 INPUT "LETTER TO CHANGE cA--I) R TO RERUN THE PROGRAM OR Z TO END ";C$
2770 IF CS="A" THEN INPUT "NEW PURCHASE PRICE $/CWT)":PP
27S IF .$t="F" THEN INPUT "NEW SELLING PRI CE '$ CWT" ;SP
.790' IF 2$="C' THEN INPUT "NEW COST OF SUGARCA NE ($/GROSS TON)";CB
2. 0 TF C$="D" THEN INPUT NEW COST OF SHELLED CORN :$BUSHEL) CC
28103 F C$="E" THEN INPUT "flEW COST OFV CITRUS PULP $/ TON) ;CP
2820 IF C$="F" THEN INPUT "NEW COST OF COTTONSEED MEAL ($./TON)";CM
2830 IF C$="G" THEN INPUT "NE.W POST OF CANE MOLASSES ($/TON)", CL
28-0 IF C$="H" THEN INPUT "NEW COST OF MINERAL MIX ($/TON)";CX
2850 IF C$="I" THEN INPUT "NEW COST OF SALT ($/TON)";CT
2860 IF C$="R" THEN GOTO 330
2870 IF C$="Z" THEN GOTO 2890
2880 GOTO 2310
2890 PRINT
2900 PRINT "END OF PROGRAM"
2910 END






































































This public document was promulgated at a cost of $683.34, or $1.10 per copy, to provide information on evaluating
sugarcane diets for cattle with the use of a microcomputer. 10-625-84



COOPERATIVE EXTENSION SERVICE, UNIVERSITY OF FLORIDA, INSTITUTE OF FOOD AND AGRICULTURAL
SCIENCES, K. R. Tefertlller, director, In cooperation with the United States Department of Agriculture, publishes this Infor-
mation to further the purpose of the May I and June 30, 1914 Acts of Congress; and Is authorized to provide research, educa-
tional Information and other mrvices only to Individuals and Institutions that function without regard to race, color, sex or
national origin. Single copies of Extension publications (excluding 4-H and Youth publications) are available free to Florida
residents from County Extension Offices. Information on bulk rates or copies for out-of-state purchasers Is available from
C. M. HInton, Publications Distribution Center, IFAS Building 664, University of Florida, alnewlille, Florida 32611. Before publicizing this
publication, editors should contact this address to determine availability.




University of Florida Home Page
© 2004 - 2010 University of Florida George A. Smathers Libraries.
All rights reserved.

Acceptable Use, Copyright, and Disclaimer Statement
Last updated October 10, 2010 - - mvs