Hi guys, this is my first post here.
I have this hydraulics program that was made for a TI-89 calculator, and since I'm new to the program calculators, I was wondering if you could help me out. I want to put it n my calculator and make it work.
thanks guys.
here's the program:
()
Prgm
Input "Slope",s
Input "Talud",m
Input "N Manning",n
Input "Width",b
Input "water",q
Input "inf lim",o
Input "sup lim",u
1-0.102*q^2*(b+2*m*y)*(b*y+m*y^2)^(-3)>>k
n^2*q^2*(b*y+m*y^2)^(10/3)>>f
[b+2*y*(1+m^2)^(1/2)]^(4/3)>>v
(integral)(k/(s-f*v),y,o,u)>>r
Disp r
EndPrgm
thanks
Hydraulics program from a TI-89
Started by
cevb
, Apr 06 2003 06:59 AM
8 replies to this topic
#1
Posted 06 April 2003 - 06:59 AM
#2
Posted 06 April 2003 - 07:43 AM
this is actually a caiso forum
Do you want to write in in a casio calculator?
But what is Y? It is not defined!
And im not sure with the intgral thing ...
Do you want to write in in a casio calculator?
"Slope"?->S "Talud"?->M "N Manning"?->N "Width"?->B "water"?->Q "inf lim"?->O "sup lim"->U 1-0.102*Q^2*(B+2*M*Y)*(B*Y+M*Y^2)^(-3)->K N^2*Q^2*(B*Y+M*Y^2)^(10/3)->F [b+2*y*(1+m^2)^(1/2)]^(4/3)>>v inte(K/(S-F*V),Y,O,U)>>R R [TRIANHLE]
But what is Y? It is not defined!
And im not sure with the intgral thing ...
#3
Posted 06 April 2003 - 03:22 PM
yeah, I mant to ask how to write it in a CFX-9850
sorry about that, lol
anyways, how exactly do I write the " thing?
and whats [TRIANHLE] ??
I need a lot of help as you can see
sorry about that, lol
anyways, how exactly do I write the " thing?
and whats [TRIANHLE] ??
I need a lot of help as you can see
#4
Posted 06 April 2003 - 05:47 PM
Ok you do the " by pressing Alpha' /> and then F2' />
The Triangle (not Trianhle, sorry!) displays the number before it. It
is located in Shift' /> then VARS' /> and F5' />
Make sure to type the program in PRGM Mode (B in Main Menu)
But it will not work the way you want because the Y is undefined.
Make sure if your code is right.
The Triangle (not Trianhle, sorry!) displays the number before it. It
is located in Shift' /> then VARS' /> and F5' />
Make sure to type the program in PRGM Mode (B in Main Menu)
But it will not work the way you want because the Y is undefined.
Make sure if your code is right.
#5
Posted 06 April 2003 - 06:18 PM
Yeah, I'm kind of figuring out right now..
hmm.. How can I define a variable, to make the program work?
the problem is that Y has already a definied value?? Because if I replace Y with X I get another result, but again, not the one I want.. so, how can I clear a variable?
hmm.. How can I define a variable, to make the program work?
the problem is that Y has already a definied value?? Because if I replace Y with X I get another result, but again, not the one I want.. so, how can I clear a variable?
#6
Posted 06 April 2003 - 06:40 PM
Could the INTEGRAL thingy be the same as Casios "Int" (e.i. throws away the decimals). Then again, it apparently needs four arguments!?)
About the Y, you have to know what it has to be to make the prog work. If it is 7.83 , then write this in the beginning of the code (or before it is needed):
If you want a "reset", use
But what precisely is the prog meant to do (and is the commas in the INTEGRAL meant to separate some inputs)
Hope I can help....
About the Y, you have to know what it has to be to make the prog work. If it is 7.83 , then write this in the beginning of the code (or before it is needed):
7.83->Y
If you want a "reset", use
0->Y
But what precisely is the prog meant to do (and is the commas in the INTEGRAL meant to separate some inputs)
Hope I can help....
#7
Posted 06 April 2003 - 07:26 PM
hi!
hmm, yeah, well, its just like when you want to integrate 2x and then evaluate it from 1 to 2.. the you would have x^2 as a result, and the evaluation would be (2)^2-(1)^2. So in the TI calculators this goes as follows: INTEGRAL(2x,x,1,2)
so, thats what the commas are for, to indicate the variable in which i want to integrate, then the values to evaluate it.
the program was made for a TI-89, however, most of us have Casio calculators. I still don't know how to make Y as a non-value variable, I mean, I don't want it to be zero, I want it to remain a vriable so the integral can work..
am I making any sense here??
hmm, yeah, well, its just like when you want to integrate 2x and then evaluate it from 1 to 2.. the you would have x^2 as a result, and the evaluation would be (2)^2-(1)^2. So in the TI calculators this goes as follows: INTEGRAL(2x,x,1,2)
so, thats what the commas are for, to indicate the variable in which i want to integrate, then the values to evaluate it.
the program was made for a TI-89, however, most of us have Casio calculators. I still don't know how to make Y as a non-value variable, I mean, I don't want it to be zero, I want it to remain a vriable so the integral can work..
am I making any sense here??
#8
Posted 07 April 2003 - 01:35 AM
hmm.. I got it to work...
I simply eliminated all the ecuations in the lower part of the program, and got it in as a one big integral ecuation.. and thats it
I got what I was s'poused to get
thanks all
I simply eliminated all the ecuations in the lower part of the program, and got it in as a one big integral ecuation.. and thats it
I got what I was s'poused to get
thanks all
#9
Posted 07 April 2003 - 12:37 PM
If you have the manual, read then to learn some things about the "CASIO basic language".......
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users