Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick programming question
#3
[spoiler=].1((3(10^3))^-1M^2+3^-1M+.05I->Y
(10^-4)(3^-1M^2+3MQ+50I->Z

2(CD-D-C+2)H(AV(Y+Z))^-1->J

(Y-Z)^-1(Y-H(AVKD)^-1->E

(Y-Z)^-1(Y-H(AVK)^-1->F[/spoiler]
The above are the sections in question. I bolded the areas that I'm talking about.

According to Wikipedia, the language is unique to the calculator. It's called "TI-BASIC". I don't know what that means, but I know that each digit takes up 1 RAM.

My question is, would the program work faster, at the same speed, or slower if I write the above instead as the below:

[spoiler=].1(M^2/3000+M/3+.05I->Y
(10^-4)(M^2/3+3MQ+50I->Z

2(CD-D-C+2)H/(AV(Y+Z->J

(Y-H/(AVKD))/(Y-Z->E

(Y-H/(AVK))/(Y-Z->F[/spoiler]
Reply


Messages In This Thread
Quick programming question - by 2147483647 - 2010-08-15, 11:24 PM
Quick programming question - by Eos - 2010-08-15, 11:28 PM
Quick programming question - by 2147483647 - 2010-08-15, 11:36 PM
Quick programming question - by singularity - 2010-08-16, 05:42 AM
Quick programming question - by 2147483647 - 2010-08-16, 05:52 AM
Quick programming question - by singularity - 2010-08-16, 07:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)