Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rthprog

Pages: [1]
1
Miscellaneous / College Decision Help
« on: March 29, 2010, 08:12:53 pm »
As a high school senior, my life is pretty much revolving around where I plan to go for college.  I've narrowed it down to two schools, and was wondering if you guys (and girl) could help.

Option 1) AMAZING computer science school, in a nice city, that's the perfect distance away from home (like a 3 hour drive).  They're offering a healthy amount of scholarship money, but it'll still cost me a hefty $40K a year... and I'm planning on being financially independent.

Option 2) Strong, local school in my hometown that's basically huge. They're giving me a full ride, but both my parents work there (in the same department in which I would be taking classes), and plus, I would really like to explore the world outside of Ohio.

For a computer science major, do you think it's worth taking up that much debt just to go to a (significantly) better school?

2
TI-BASIC / an alternative to the "solve(" command
« on: March 12, 2010, 12:19:34 pm »
The "solve(" command is a pretty efficient way to find the root of an unknown equation. Unfortunately, it only works if you have a good guess; otherwise, you'll be plagued by "Bad guess" errors which may cause your program to crash. To guarantee that your user doesn't encounter such an error, create a routine that uses Newton's method to perform the same function as the "solve(" command, except with safeguards for bad guesses.

Here's a routine that, given an equation (in terms of X) stored to Y1, and a guess stored to "G", will solve for "X" when the equation in Y1 = 0. Essentially, it does the same thing as "solve(Y1,X,G"

   
Code: [Select]
:DelVar R
    :G
    :Repeat Ans=X and R
    :Ans→X
    :R+1→R
    :nDeriv(Y1,X,X
    :If Ans
    :X-Y1/Ans
    :If R>50
    :X
    :End
    :Ans→X
    :If not(Y1
    :X

http://rthprogcode.blogspot.com/2010/03/tibasic-alternative-to-solve-command.html

3
Introduce Yourself! / Finally made an account...
« on: February 25, 2010, 08:59:27 pm »
I'm rthprog (www.twitter.com/rthprog), and I've spent the last few years of my life coding in TI-Basic on my TI84+SE and TI83+.  I usually spend my time on Cemetech, but the relative lack of activity in the TIBasic subforums drew me here...

A big project that I'm currently working on is DarkFire, a multitasking shell.


Otherwise, I'm dabbling with Python, Javascript, XUL, (elementary) web design, and other geeky things.  w00t.

Pages: [1]