33s - programming question Frank Rottgardt Member Posts: 115 Threads: 16 Joined: Jul 2007 05-15-2008, 04:22 PM Is there a simple way to get access to the content of the data registers holding the values for statistic calculation? (data you enter with Sigma +)I do not mean the six registers 28 - 32, but the list of values representing the population or sample. I need to calculate "Sigma x^3" and the default statistic functions only give me "Sigma x^2". Is it possible to program a loop starting at i=1 to i=n where I can read the list content value by value, raising it to 3 and STO+ in a variable representing "Sigma x^3" when the loop-routine reached its end? I know I could write an input-loop to enter the sample values not making use of "Sigma+" to get around the problem. But I would like to stick to the generic statistic input routine with the "Sigma+" which enables me to do further calculations with the "onboard" statistic functions. Frank Rottgardt Member Posts: 115 Threads: 16 Joined: Jul 2007 05-15-2008, 04:30 PM Maybe writing an own input-routine where I can enter the sample-value, making the x^3 and STO+ to get Sigma x^3 and in parallel add the entered sample-value x to the statistc-matrix with a programmed "Sigma+" ? Stefan Vorkoetter Member Posts: 217 Threads: 21 Joined: Aug 2007 05-15-2008, 04:52 PM Like virtually all calculators, the HP 33s doesn't actually store the entered data anywhere. All it does is accumulate the various sums in the statistics registers. Writing your own input routine, something like this, is probably the best way to go: ```LBL S ENTER 3 y^x STO +K RDN Sigma+ RTN ``` This is similar to what I do in my curve fitting program for the HP 35s, where I need to accumulate not only the normal six statistics values, but also: ```Sigma ln(x) Sigma ln(y) Sigma x ln(y) Sigma y ln(x) Sigma ln(x)^2 Sigma ln(y)^2 Sigma ln(x) ln(y) ``` Stefan Frank Rottgardt Member Posts: 115 Threads: 16 Joined: Jul 2007 05-15-2008, 05:00 PM Thanks, Stefan seems to be plain and simple. Don Shepherd Posting Freak Posts: 1,392 Threads: 142 Joined: Jun 2007 05-15-2008, 08:27 PM Quote: Like virtually all calculators, the HP 33s doesn't actually store the entered data anywhere. All it does is accumulate the various sums in the statistics registers. The 17bII+ acutally does store the data items in a SUM list, and the contents of the SUM list is accessible within a Solver equation. And it does offer the standard statistical calculations (although I have never used them). « Next Oldest | Next Newest »

 Possibly Related Threads... Thread Author Replies Views Last Post Simple? programming question [WP34S] Shawn Gibson 3 892 03-15-2013, 11:56 AM Last Post: Didier Lachieze WP-34S Programming Question Matt Agajanian 2 779 08-04-2012, 02:04 PM Last Post: Matt Agajanian WP 34S programming question Nigel J Dowrick 35 4,716 04-10-2012, 02:23 AM Last Post: Walter B 15C programming question Eric Zoob 7 1,290 03-28-2012, 03:14 PM Last Post: C.Ret Question about programming the HP-71B Namir 27 3,559 11-28-2010, 01:50 PM Last Post: Egan Ford question on 12c programming Don Shepherd 2 720 12-24-2008, 06:33 PM Last Post: Egan Ford 17bII programming question Dewdman42 28 3,838 10-07-2008, 11:33 PM Last Post: Dewdman42 U Watch programming question.. Geoff Quickfall 12 1,852 06-07-2008, 05:57 PM Last Post: Geoff Quickfall 50G Programming question Roger King 5 1,142 12-11-2007, 06:02 PM Last Post: James M. Prange (Michigan) RPL Programming question Namir 3 762 09-18-2007, 08:04 PM Last Post: Namir

Forum Jump: