TI 83/84
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me



Go Back   Dev Hardware ForumsSOFTWARETI 83/84

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Hardware Forums Sponsor:
  Trader Rating: 0 · #1  
Old November 17th, 2012, 04:08 PM
physics83 physics83 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 physics83 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 19 sec
Reputation Power: 0
Question TI-83+ programming advice?

Hello,

I am attempting to write code for a somewhat complex Physics problem, and was wondering if someone could lend a few TI programming tips. I am a beginner at calc programming, so any advice is greatly appreciated. Thanks!

The problem involves a cart of a certain mass traveling at a certain velocity. In the cart, there are 20 blocks, each with an equal mass. The blocks are thrown off the front of the cart 1 at a time at 10 m/s in addition to the carts velocity. I am trying to make the program solve for the final velocity of the cart after each brick has been thrown off. (In this case, the final velocity would be much less.)

Here is what I have so far...

:Input "Mass of System",M
:Input "Initial Cart Velocity",V
:Input "Mass of 1 Block",B
:Input "Initial Block Velocity",I
:M*V→P
:B*I→D
:P-D→E
:M-B→G
:E/G→X

I realized that this problem requires a function that allows the equation to repeat itself for an additional 19 times, using the resulting velocity from each previous equation. Does such a function or set of functions exist?

Thanks in advance for all advice and tips!

Scott

Reply With Quote
  Trader Rating: 0 · #2  
Old November 19th, 2012, 01:11 PM
Weregoose's Avatar
Weregoose Weregoose is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 35 Weregoose User rank is Private First Class (20 - 50 Reputation Level)Weregoose User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 14 h 14 m 21 sec
Reputation Power: 2
An expression that stores to a variable while simultaneously adopting that variable as a component of the expression.

Using T for practice, if you initialize with zero then iterate 3√(T)+1→T, you'll get 1, 4, 7, …, eventually converging on 29√6. To let a program do this for you six times and display only the last value, you can write:

:0→T
:For(K,1,6)
:3√(T)+1→T
:End
:Disp T


Another option—probably more of what you're looking for—is playing with sequence variables, which are primarily reserved for recurrence equations. Select SEQ from the [MODE] screen then press [Y=]. Set nMin=0, u(n)=3√(u(n-1))+1, and u(nMin)={0}. Here, u(n-1) is better understood as the previous term in the sequence, or by interpreting what's inside the parentheses as subscripts.

You can then return to the home screen and type u(6) for the sixth value in that sequence, which should match the program's response.

If you need more help, keep asking.

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWARETI 83/84 > TI-83+ programming advice?


Developer Shed Affiliates

 


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
     
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap