You can ignore the extra colons, they are just there for clarity, but if you leave them the code will still work because they function identically to newlines. Also note that your factoring algorithm can fail if A does not equal one. Consider dividing both B and C by A , and then outputting A as a constant factor. Another error with your code is that you have too many End statements, but fixing this would not fix the program, and it would still exit at the Stop.
An If without a Then does not need an End , but only one line will be run if the condition is true. For example:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Factoring program TI plus Ask Question. Asked 7 years, 8 months ago.
Remember to use the appropriate labels corresponding to each formula. It is also important to name each variable uniquely otherwise your program will not work. Your program should look like this:. Execute your program and test the first option, triangle. Use easy numerals so you know the answer is correct e. Reply 6 years ago on Introduction. By adossaji Follow.
About: A clever person solves a problem. A wise person avoids it. More About adossaji ». Introduction Programming is a process that leads from an original formulation of a problem to an executable-computing program.
Warnings Programs help users whom execute many of the same computations clerically. Materials and Equipment The only required equipment that is essential to completing these instructions is the Texas Instruments 84 Plus Graphing Calculator.
TI Plus Calculator. ON: The on button activates your calculator H. DEL: The delete button deletes the existing character I. PRGM: The program button brings you to the programming interface. Begin creating a program by pressing the ON button. This one is slighlty faster than A-Factor 2. Find All Divisors This useful program is only bytes, yet it will find every prime divisor of a number that you input. It will take up to 1 minute for numbers up to 8 digits, and about 10 seconds for numbers of 4 digits.
This program will output its results on List4, so be sure not to store anything important there before running. Also, this program may take a while to run. Have fun! With only bytes it tells you that is a prime in just a little more than two seconds, on an 83 Plus. It is really fast with smaller numbers, and a big prime like is confirmed in just 8 seconds!
You never risk running out of screen with this program. It uses two lists, LP and LQ, which you need to install. The later has numbers in it, and takes up more than bytes. A great advantage, since skipping those consumes a lot of memory.
It does so without skipping any END-commands. It is very fast compared to the ordinary program of this kind, since it is a converted prime factor program.
Only bytes. It is very small and very easy to run. I've tested it on both tests, and my prime number finder program is better than others because it is small and easy to run. So try it out today for that test. Prime Factor v1.
Cheater v3. Featuring an easy-to-use menu system, it packs dozens of extremely useful algebra, geometry, calculus, chemistry, and physics functions for middle school, high school and even college courses. Includes 18 different area, volume, and surface area solvers for geometry students, a list of essential trigonometric identities, and many intuitive calculators for many other topics, such as a complete triangle solver.
More general features include different unit conversions in an extremely simple scrollable graphical interface and many other essential features, such as chemical equation balancing and formula interpreting.
Check out the screenshots; you'll be amazed. This update only corrects typos in the documentation and additional information.
It is extremely fast compared with other programs of this kind. For example: 1 is handled in 5 seconds on an 83Plus, and only 2 seconds on an 84 or 83P SE! Compare this with your present program and you'll see why you rather want this program on your calc. It uses a list list N , that you must install on your calc. It is extremely fast since it does not divide with numbers that have a factor 2, 3, 5, or 7.
For example: , , 4. In case it's a decimal number, you get all the divisors of the numerator divided by the denominator. Look at the screenshots. It has a much bigger capacity than the above program. It uses strings for the larger rational numbers. Based upon a prime factor program, it divides with a list of eight numbers at the same time, so it is really fast. Yet very compact with only bytes. Two Divisor Programs These programs finds all the divisors of a positive integer, or as you would say: factors, wich is not a correct denomination.
There is also a text version of one of the programs in the file. They are converted prime factor programs, and as such extremely fast, compared with the ordinary programs of this type. At only 64 bytes it's a truly elegant program. The other programs don't even come close to matching it. Divis Enter a number, and it will tell you all the factors. If you enter 98 it will give you 1, 2, 7, 14, and If the number is prime it will say so.
ESFactor Factor any positive or negative interger and find Perfect Square factors -- very useful for polynomial factoring. Factator Just a simple little program where you input where you input a number and it finds all of it's factors 1 by 1.
It even tells you if it's prime. Factor Calculator This program calculates the integer factors of any number. Fast and reliable. This program also tells the user if the inputs are abundant numbers. A number is abundant if the sum of its proper divisors is greater than the number itself.
You enter the numbers separated with a comma. Factor thingy program. This program factors any positive integer and will also add up the factors and tell if the number is prime or perfect. A Super fast factoring program This is a really fast factoring program, Fixed bug over old vesion. Factor 4. Factor Factor is a small Bytes application that will factor both positive and negative integers in a fairly short time span.
It takes about 10 seconds to factor returning both positive and negative integers. Factorizer The coolest factorization program ever!
Works great with a ton of crash reducing features built in. Factor Program This is a small program that quickly finds all natural factors of any interger negative or postive. Auto Factor! Need to Factor a bunch of numbers fast? Look no further! This app is so easy to use it's like using a built in TI command. Did you know 9, has 47 different factors? FactorCalc A very simple program that shows you all of the factors of a number in a range that you specify.
Factor This program takes a given number and displays the factors of it. Factorer v1. Both programs are converted prime factor programs and uses the augment -command to find the correct number of combinations in between the prime factors they find. As a result they are extremely fast compared to the ordinary factoring programs that simply counts up to the square root of the number.
Press the [prgm] button on your calculator. A menu should then appear showing all of the programs on your calculator. Press enter again to run the program. The program will ask you what the highest exponent is.
It will then ask you to type the coefficient of each term.
0コメント