The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
WP 34S mini-challenge
01-21-2014, 02:02 AM (This post was last modified: 01-21-2014 02:09 AM by Gerson W. Barbosa.)
Post: #1
WP 34S mini-challenge
Consider the following HP-15C program:

[Image: Gauss_HP-15C_zpsec34727a.png]

(this listing courtesy of Torsten's HP-15C Simulator)

It computes the sum of the first n natural numbers using Gauss's formula. For instance,

100000 GSB A --> 5000050000

Write an equivalent WP 34S program using the same number of steps at most (5, if we don't count LBL and RTN) and preserving the stack (that is, Y, Z and T registers must not be affected by the program). The default settings must be kept unchanged at program termination.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 34S mini-challenge - Gerson W. Barbosa - 01-21-2014 02:02 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 07:29 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 07:59 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 08:26 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:34 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:20 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:51 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:24 PM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 11:08 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 08:24 AM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:29 AM
RE: WP 34S mini-challenge - nsg - 01-21-2014, 10:46 PM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 01:12 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:55 AM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 12:29 PM
RE: WP 34S mini-challenge - walter b - 01-21-2014, 01:20 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 11:48 AM
RE: WP 34S mini-challenge - Dieter - 01-21-2014, 08:43 PM
RE: WP 34S mini-challenge - Paul Dale - 01-21-2014, 10:13 PM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 05:15 AM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 05:47 AM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 07:04 AM
RE: WP 34S mini-challenge - walter b - 01-22-2014, 08:16 AM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 06:02 AM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 01:20 PM
RE: WP 34S mini-challenge - Thomas Klemm - 01-22-2014, 06:35 PM
RE: WP 34S mini-challenge - Dieter - 01-22-2014, 08:27 PM



User(s) browsing this thread: 1 Guest(s)