I am keep getting a domain error that says "value entered is not allowed in the function or command Ex. RADIAN MODE tan(pi/2)"
Please Help

This is my program:
SourceCoder 3 (WINCH) wrote:
:ClrHome
:1->D
:1->F
:Disp "ELECTRIC WINCH EFFICIENCY CALCULATOR"
:Disp "DISTANCE (m)"
:Input M
:Disp "FORCE (N)"
:Input N
:Disp "VOLTAGE (V)"
:Input V
:Disp "AMPERAGE (A)"
:Input A
:Disp "TIME (sec)"
:Input S
:ClrHome
:M*N->J
:J/S->W
:int(W*100+.5)/100.0->W
:V*A->I
:(W/I)*100->E
:int(E*10+.5)/10.0->E
:Output(1,1,"W= d*F"
:Output(2,1,"W= m * N"
:Output(2,4,M
:Output(2,10,N
:Output(3,1,"W= J"
:Output(3,3,J
:Output(5,1,"P(in)= I*V"
:Output(6,1,"P(in)= A * V"
:Output(6,7,A
:Output(6,14,V
:Output(7,1,"P(in)= W"
:Output(7,7,I
:Output(9,1,"P(out)= Work/time"
:Output(10,1,"P(out)= J/ sec"
:Output(10,8,W
:Output(10,15,S
:Output(11,1,"P(out)= W"
:Output(11,8,W
:Output(13,1,"EFFICIENCY(%)= P(out)/P(in)*100"
:Output(14,1,"(%)= W/ W * 100"
:Output(14,5,W
:Output(14,15,I
:Output(15,1,"EFFICIENCY(%)= %"
:Pause
:Stop
When you choose 2: Goto on the DOMAIN error, where in the program does it take you to?
To the line :Output(11,1,"P(out)= W"
lahey11@yahoo.com wrote:
To the line :Output(11,1,"P(out)= W"
Did you make this program yourself? The homescreen on the TI-83 Plus/TI-84 Plus has only 8 rows, while the homescreen on the TI-84 Plus C Silver Edition has 10 rows. The arguments to Output are Output(row, column, text), so 11 is an invalid row. If you want to display more than 10 lines of text, you might consider having the program Pause after the first ten (or eight) lines, clear the screen, then display the rest.
Oh okay Ill try that thanks
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement