|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
tired programmer needs help with TI Basic
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Programmer
|
hey i wrote this prog in TI Basic for my high school Calc II class, whats wrong with it?
__________________it says "Argument error" and takes me to the line within *asterisks ok? here we go: (BTW im on a TI-89 that i overclocked to 20MHz thanks to a FAQ by someone on this site, "game") :Prgm :Prompt a,b,c,o :If c=x Then *Disp (a^2+b^2-(2abcos(o)))^.5* :ElseIf o=x Then Disp arccos((c^2-a^2-b^2)/(-2ab)) :EndIf :EndPrgm *** IS WRONG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 thanx
Last edited by amd_hardsoftware : 02-20-06 at 11:52 PM. Reason: ..typos |
|||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Programmer
|
......
__________________
|
|||||||||||||
|
|
|
|
|
#3 (permalink) | |||||||||||||
|
Clutch ModeliK
![]() |
Try replacing it with:
Disp (((a^2+b^2)-(2abcos(o)))^.5)
__________________
CS:S Server - GunGame 100tick Ping Boosted 32 Slot: overclock.nuclearfallout.net:27015 OC Settings: 3600mhz (400x9) 2:3, 1200mhz 5-5-5-15, 1.475vcore, 2.25vdimm, 58 C load @ 22C ambients, 650/2000 GPU.
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Programmer
|
same thing, same error, take me to same line.....
__________________
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
Programmer
|
im tired
__________________ i need help...please....
|
|||||||||||||
|
|
|
|
|
#6 (permalink) | |||||||||||||
|
Programmer
|
GOT IT.....instead of a^2 i used a*a and it worked
__________________thats really fuc*ed up
|
|||||||||||||
|
|
|
|
|
#7 (permalink) | ||||||||
|
Audiophile
|
It could be the overclock that messed up the whole thing... not sure though...
__________________
Les statistiques, c'est comme les minijupes, ca montre beaucoup de choses, mais, ça cache l'essentiel ! Statistics are like mini skirts, they show a lot of things, but hides the essential ! Didier Delcassé, ex Maths Teacher Aumotocnic "An unfortunate member of the overclock.net insomnia club"
|
||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|