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, 2009, 03:44 PM
Regular Joe Regular Joe is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 17 Regular Joe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 30 sec
Reputation Power: 0
Geometric properties program

I am trying to make a heometric properties program, as i am on that unit in school. I have a pythagorean theorum program, i want to know if there are other properties that I can make a code for.

Pythagorean Theorum Code:
:Input "SIDE A LENGTH?",A
:Input "SIDE B LENGTH?",B
:A^2+B^2
;Disp *square root of*(Ans

This code works well, any other properties i could make a code for?

Reply With Quote
  Trader Rating: 0 · #2  
Old November 17th, 2009, 08:11 PM
ficus0 ficus0 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 7 ficus0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 32 m 40 sec
Reputation Power: 0
maybe surface area and/or volume

Reply With Quote
  Trader Rating: 0 · #3  
Old November 18th, 2009, 02:49 PM
Regular Joe Regular Joe is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 17 Regular Joe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 30 sec
Reputation Power: 0
Quote:
Originally Posted by ficus0
maybe surface area and/or volume

Thanks, ill try to figure out the equation for that to put into a calculator.

Reply With Quote
  Trader Rating: 0 · #4  
Old November 18th, 2009, 03:00 PM
Regular Joe Regular Joe is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 17 Regular Joe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 30 sec
Reputation Power: 0
And btw-

Heres my Surface/volume area code

:Input "HEIGHT:_",A
:Input "DEPTH:_",B
:Input "LENGTH:_",C
;Disp "SURFACE AREA",(2AB)+(2AC)+(2BC)
;Disp "VOLUME",ABC

Simple 5 lines of code for a simple program. Hope this helps somebody.

Reply With Quote
  Trader Rating: 0 · #5  
Old January 30th, 2010, 01:05 AM
navyfalcon's Avatar
navyfalcon navyfalcon is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Los Angeles County, California
Posts: 73 navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 47 m 42 sec
Reputation Power: 6
Quote:
Originally Posted by Regular Joe
And btw-

Heres my Surface/volume area code

:Input "HEIGHT:_",A
:Input "DEPTH:_",B
:Input "LENGTH:_",C
;Disp "SURFACE AREA",(2AB)+(2AC)+(2BC)
;Disp "VOLUME",ABC

Simple 5 lines of code for a simple program. Hope this helps somebody.

-
how about 2(AB+AC+BC)
falcon
__________________
many free tutorials at
http://freetutorials.name

Reply With Quote
  Trader Rating: 0 · #6  
Old January 30th, 2010, 09:33 AM
ficus0 ficus0 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 7 ficus0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 32 m 40 sec
Reputation Power: 0
You could also make a program that allows you to solve for A, B, or C by using a menu. (I haven't tested this. let me know if it has errors)

Code:
:clrHome
:delVar abcd
:lbl 1
:Menu(Solve For,A,a,B,b,C,c)
:lbl A
:input "B= ",b
:input "C= ",c
:sqrt((-b**+c**))->d   

            //DO NOT TYPE!

            //The ** is a symbol for squared. REPLACE with the 
            // squared sign on the calculator
 
            //The -> means sto (used for storing variables)  
            //which is at the bottom-left of the calculator 

            //delVar at the top deletes variables a,b,c, and d

:display d
:pause
:GOTO 1
:lbl b
:input "A= ",a
:input "C= ",c
:sqrt((-a**+C**))->d
:display d
:pause
:GOTO 1
:lbl c
:input "A= ",a
:input "B= ",b
:sqrt((a**+b**))->d
:display d
:pause
:GOTO 1

Reply With Quote
  Trader Rating: 0 · #7  
Old January 30th, 2010, 02:25 PM
MufinMcFlufin's Avatar
MufinMcFlufin MufinMcFlufin is offline
The Muffinator
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Location: South Eastern USA
Posts: 205 MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level)MufinMcFlufin User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 59 m 58 sec
Reputation Power: 95
Quote:
Originally Posted by ficus0
You could also make a program that allows you to solve for A, B, or C by using a menu. (I haven't tested this. let me know if it has errors)

Code:
:clrHome
:delVar abcd
:lbl 1
:Menu(Solve For,A,a,B,b,C,c)
:lbl A
:input "B= ",b
:input "C= ",c
:sqrt((-b**+c**))->d   

            //DO NOT TYPE!

            //The ** is a symbol for squared. REPLACE with the 
            // squared sign on the calculator
 
            //The -> means sto (used for storing variables)  
            //which is at the bottom-left of the calculator 

            //delVar at the top deletes variables a,b,c, and d

:display d
:pause
:GOTO 1
:lbl b
:input "A= ",a
:input "C= ",c
:sqrt((-a**+C**))->d
:display d
:pause
:GOTO 1
:lbl c
:input "A= ",a
:input "B= ",b
:sqrt((a**+b**))->d
:display d
:pause
:GOTO 1

Sorry to rain on your parade, but you have many errors in this code, and many things don't work as you wish they did. Going down the line of code, here are the errors and mistakes you have:
Code:
:DelVar ABCD   -    This does not delete the values of variables B, C, or D. It will only delete the value of the variable A, then multiply B by C by D, because DelVar is the only command that doesn't require you to put a colon after it to make it a new line. When you do DelVar AClrHome, it will read DelVar A, do that, then act like ClrHome is on a new line of it's own. So here, you only cleared the value of variable A, and did nothing else.

...


:Menu(Solve For,A,a,B,b,C,c)    -    Alright, here you have the syntax for command Menu(, solve(, and For( all wrong. I don't even know what the calculator is trying to interpret this as, considering you have 3 commands for very different uses all together in one line. Here's where you can find more detailed information on the Menu( command, the solve( command, and  the For( command.

...


:sqrt((-b**+c**))->d    -   And also the others like this. There isn't much of a problem here, but you are wasting memory with the unnecessary pair of parenthesis inside the √( command.

...

most everything else is fine, could use improvement, but still works as it should.


Now, on the otherhand, if you meant by ":Menu(Solve For,A,a,B,b,C,c" that the title of the menu was going to be "Solve For", then you should really remember to put quotation marks around Solve For, because otherwise you'll find people are going to get some errors, and think your code doesn't work.
__________________
日本のクールだ
Ich liebe Deutsch!

TI BASIC Tutor

Reply With Quote
  Trader Rating: 0 · #8  
Old January 30th, 2010, 09:11 PM
navyfalcon's Avatar
navyfalcon navyfalcon is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Los Angeles County, California
Posts: 73 navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 47 m 42 sec
Reputation Power: 6
Quote:
Originally Posted by Regular Joe
I am trying to make a heometric properties program, as i am on that unit in school. I have a pythagorean theorum program, i want to know if there are other properties that I can make a code for.

Pythagorean Theorum Code:
:Input "SIDE A LENGTH?",A
:Input "SIDE B LENGTH?",B
:A^2+B^2
;Disp *square root of*(Ans

This code works well, any other properties i could make a code for?

-
Try perimeter and area for: square, rectangle, circle, triangle, parallelogram, trapezoid
and surface area and volume for: cube, box, sphere, hemisphere, cone, pyramid, topless cone, topless pyramid, tori
Hint, use strings where you can to reduce memory.
- combine perimeter and area (input the values once and get both outputs) - also surface area and volume.
Most people have problem with height and slant height and their conversions.
-
hope this helps
falcon

Reply With Quote
  Trader Rating: 0 · #9  
Old February 1st, 2010, 10:05 PM
ficus0 ficus0 is offline
n00b DevH'er
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 7 ficus0 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 32 m 40 sec
Reputation Power: 0
Quote:
Originally Posted by MufinMcFlufin
most everything else is fine, could use improvement, but still works as it should.


Well there was no parade to rain on but...

The menu was a clear mistake and i was falling asleep as i typed it.

Also i was playing around with the DelVar command and realized that (no surprise) it multiplied the variables, rather than actually deleting them.

Reply With Quote
  Trader Rating: 0 · #10  
Old February 1st, 2010, 11:35 PM
navyfalcon's Avatar
navyfalcon navyfalcon is offline
Contributing User
Dev Hardware Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Los Angeles County, California
Posts: 73 navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level)navyfalcon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 47 m 42 sec
Reputation Power: 6
Quote:
Originally Posted by Regular Joe
I am trying to make a heometric properties program, as i am on that unit in school. I have a pythagorean theorum program, i want to know if there are other properties that I can make a code for.

Pythagorean Theorum Code:
:Input "SIDE A LENGTH?",A
:Input "SIDE B LENGTH?",B
:A^2+B^2
;Disp *square root of*(Ans

This code works well, any other properties i could make a code for?

-
One of the best "Algebra" programs for the TI-83/84 that I have seen had the main program a menu and the rest were sub programs called by the main program or menu (this makes the program modular). When you add more sub programs just add them to the menu. Easier to maintain.
Example: Geographic Figures - add more figures.
-
hope this helps
falcon

Reply With Quote
Reply

Viewing: Dev Hardware ForumsSOFTWARETI 83/84 > Geometric properties program


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




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

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




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 10 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek