The Museum of HP Calculators

HP Forum Archive 21

 WP-34s: Speed benchmark Message #1 Posted by W. Bruce Maguire II on 27 Apr 2012, 6:49 p.m.Hi all, Today, I happened to stumble on a page of the MoHPC that I had never seen before: the Benchmark Results page (MoHPC Benchmark Results). Considering that it was a quick test, I just *had* to try-out the benchmark code on my WP-34s! 😉 I followed the rules, and stayed as close to the original/pseudo-code as possible (no recall arithmetic, no ‘back’). This is what I got:   ``` Math/overhead: 6911 /679*100 = 1018 Trigonometry: 240 /40*100 = 600 Speed/US\$: (2*1018+600)/75 = 3515 (assumes \$75 price)``` For comparison, the two best scores on the MoHPC page (through HP-49G+) for each test are: ``` Math/overhead: HP-9825A (977), HP-49G+ (643) Trigonometry: HP-49G+ (2535), HP-48G (1350) [SysRPL] Speed/US\$: HP-49G+ (2171), HP-48G (1276) [SysRPL]``` And based on a quote from the MoHPC Benchmark page: Quote: The trigonometric algorithms in the handhelds appeared to be more efficient than the those used in the desktops but the desktops calculated trig functions accurate to 12 digits vs. 9 for the early handhelds. On the HP-67/97 handheld accuracy improved to 10 digits and on the HP-41C and RPL calculators, handheld accuracy was comparable to the desktops. … The recent handhelds have plenty of horsepower as evidenced by the trigonometric test, but they also have more overhead with larger screens, multiple data types, unlimited stacks, etc. As a result the math results are not as impressive because they spend proportionately more time on overhead. I would observe: (1) the WP-34s’s Trig benchmark is not as impressive because it is computing the values to *much* higher accuracy, (2) the WP-34s screams in the Math/Overhead benchmark, and (3) the WP-34s is an *unmatched* powerhouse of speed and capability for a very, very small price! (I used \$75, but you could fairly use a price of \$21 + \$6 + 6\$ = \$33 for your HP-30b + cable + overlay!)I love my WP-34s! 😉 Have a good weekend, Bruce.
 Re: WP-34s: Speed benchmark Message #2 Posted by Paul Dale on 27 Apr 2012, 6:56 p.m., in response to message #1 by W. Bruce Maguire IIThe 34S is calculating the trig functions until convergence — 39 digits stable in the series expansion. This is a bit more than the fifteen used in the 12 digit devices 🙂 There is also a lot of space saving measures going on behind the scenes that are costing performance. Still, I think it is respectable. – Pauli
 Re: WP-34s: Speed benchmark Message #3 Posted by Tim Wessman on 28 Apr 2012, 3:27 a.m., in response to message #2 by Paul DaleDefinitely very respectable. 🙂 I’ll throw in my own OT score for the firmware running on the 39gII in front of me here (just can’t help myself), and a few more for some of the other speed tests. This is actually the first time I’d ever seen this particular speed test. Math: 82124/679*100 = 12095 Trig: 15062/40*100 = 37655 Sp/\$: (2*12095+37655)/80*100 = 77306 Two others – NQueens: 1.35s Addition loop: 680,000 or so I would observe: (1) ‘Tis my new baby 🙂 (move aside 10bII+) TW   Edited: 28 Apr 2012, 3:38 a.m.
 Re: WP-34s: Speed benchmark Message #4 Posted by Marcus von Cube, Germany on 28 Apr 2012, 4:04 a.m., in response to message #3 by Tim WessmanTim, impressive! I assume these figures are not too far from what an unmodified 30b will be capable of. It uses the same algorithms and should just fare similar if we take the differing operating frequencies into account. Someone willing to try it out?
 Re: WP-34s: Speed benchmark Message #5 Posted by Mark Scheuern on 28 Apr 2012, 8:47 a.m., in response to message #4 by Marcus von Cube, GermanyOn my 30b: Math: 5860/679*100 = 863 Trig: 10608/40*100 = 26520 Sp/\$: (2*5860+10608)/40*100 = 55820   Edited: 28 Apr 2012, 8:48 a.m.
 Re: WP-34s: Speed benchmark Message #6 Posted by Tim Wessman on 28 Apr 2012, 1:56 p.m., in response to message #4 by Marcus von Cube, GermanyThe speed on this processor isn’t controlled directly. Basically, you give it an allowable max upper limit and it tends to fluctuate up to that. The speed is approximately in the 70Mhz range most of the time from what we can tell. Any higher and the built in RAM in no longer synchronous. TW
 Re: WP-34s: Speed benchmark Message #7 Posted by Marcus von Cube, Germany on 28 Apr 2012, 3:40 p.m., in response to message #6 by Tim WessmanIt’s not easy to find the processor data sheet. Freescale seems to have discontinued the series and does not offer any in depth documentation on their site, at least not in an easy to find location. I just found a comparison sheet of the TSMP series.
 Re: WP-34s: Speed benchmark Message #8 Posted by Paul Dale on 28 Apr 2012, 4:05 a.m., in response to message #3 by Tim WessmanThat is very fast! Is this a different CPU??? Or aren’t you allowed to comment 🙁   – Pauli
 Re: WP-34s: Speed benchmark Message #9 Posted by Tim Wessman on 28 Apr 2012, 11:18 a.m., in response to message #8 by Paul DaleIt is the same one that has been in there since the launch of the 39gII – a STMP3770. TW
 Re: WP-34s: Speed benchmark Message #10 Posted by Gilles Carpentier on 28 Apr 2012, 5:50 a.m., in response to message #3 by Tim Wessman😀 It is very fast ! Much faster than a 50G with user RPL (66x for the n queens puzzle, 15 or 20x for others ) But what language did you use for your 39GII benchmark ? Could you give the sources of your programs ?
 [OT] Re: WP-34s: Speed benchmark Message #11 Posted by Tim Wessman on 28 Apr 2012, 1:43 p.m., in response to message #10 by Gilles CarpentierHmm… hopefully I didn’t screw anything up so I will look foolish. It was 1:30 am my time. 😐 I retested with the exact source I have below just to make it as consistent as possible. Timing was done using ‘Time()’ as the input where a time was required, and done using a check against the execution value where a manual stop was required. The programming language on the 39gII is definitely an algebraic style language, but there is definitely influences from other places. It should be very easy and readable for just about anyone. The NQueens was kept identical to the old “39gs” program basically as I wanted a comparison (~5m06s for those interested IIRC). I suspect it would go faster if modified to be a better structure.   ```EXPORT NQUEENS() BEGIN R:=8; L1:=MAKELIST(0,X,1,R,1); S:=0; X:=0; REPEAT X:=X+1; L1(X):=R; REPEAT S:=S+1; Y:=X; WHILE Y>1 DO Y:=Y-1; T:=L1(X)-L1(Y); IF T==0 OR X-Y==ABS(T) THEN Y:=0; L1(X):=L1(X)-1; WHILE L1(X)==0 DO X:=X-1; L1(X):=L1(X)-1; END; END; END; UNTIL Y==1 END; UNTIL X==R END; S; END;``` The addition loop can be done like this, (stopped at 1 min with ON/C).  ```EXPORT ADDLOOP() BEGIN A:=0; REPEAT A:=A+1; UNTIL 0; END;``` Math test and trig test have ‘wonderful’ algebraic nesting… 🙁   ```EXPORT MATHTEST(a) BEGIN T:=Ticks+1000*a; N:=0; A:=1012340; B:=2.345; REPEAT SQRT(((((A*B)-B)/A)*B)/3.5); N:N+1; UNTIL Ticks>T; N; END;``` EXPORT TRIGTEST(a) BEGIN T:=Ticks+1000*a; N:=0; REPEAT e^LN(ATAN(TAN(ACOS(COS(ASIN(SIN(56.26))))))); N:N+1; UNTIL Ticks>T; N; END; Also, I believe I was remembering the loop test value incorrectly last night. I am seeing around 640,000 right now after several runs. With these exact sources, I get these results after 5 runs averaged. I assumed radians mode. Degree mode loses about 100 or so over a minute.   ```Math: 85389/679*100 = 12576 Trig: 15198/40*100 = 37995 Sp/\$: (2*12576+37995)/80*100 = 78934``` Addition Loop Test: ~640,000 NQueens: 1.32s TW  Edited: 28 Apr 2012, 1:48 p.m.
 Re: [OT] Re: WP-34s: Speed benchmark Message #12 Posted by Xerxes on 28 Apr 2012, 6:06 p.m., in response to message #11 by Tim WessmanI’m impressed that the 39gii is even faster than the Nspire. Thank you for testing the 39gs and 39gii.
 Re: [OT] Re: WP-34s: Speed benchmark Message #13 Posted by Tim Wessman on 28 Apr 2012, 9:07 p.m., in response to message #12 by XerxesWell, I didn’t actually test the 39gs. That is the result from the 40gs in your chart, which is the same unit in my mind. There should be no difference between them in the programming execution speed. TW
 Re: [OT] Re: WP-34s: Speed benchmark Message #14 Posted by Gilles Carpentier on 29 Apr 2012, 12:16 a.m., in response to message #11 by Tim Wessman“The programming language on the 39gII is definitely an algebraic style language, but there is definitely influences from other places. It should be very easy and readable for just about anyone.” As a Pascal programmer,I like it. Very clear and readable (” there is definitely influences from other places” : Modula and Oberon ? ) I always loved Pascal, because it has a very logical syntax and can be compiled in one pass only. Those who have worked with big projects in C or Pascal (Delphi) can understand. Time compilation is much faster in Pascal (but i dont work in C since long time so perhaps compilers are now betters) EDIT 2 : The 39GII programs are (without variables declarations and MAKELIST) exactly like in Modula or Oberon. There are only an (unnecesary ?) END; after the UNTIL (copy mistake ?) And the == which is = in modula/oberon What are the N; or S; without command in the programs ? Just to “push” the results in the “history” (kind of stack)? EDIT 1 : here is an HP Pascal version wich need more BEGIN/END statement unlike Modula   `Program NQueens;` Uses SystemHP,MathsHP_49; VAR R,S,X,Y, T : Integer; L1 : Array [1..8] of Integer; BEGIN R:=8; S:=0; X:=0; REPEAT X:=X+1; L1[X]:=R; REPEAT S:=S+1; Y:=X; WHILE Y>1 DO BEGIN Y:=Y-1; T:=L1[X]-L1[Y]; IF T=0 OR X-Y=T OR Y-X=T THEN BEGIN Y:=0; L1[X]:=L1[X]-1; WHILE L1[X]=0 DO BEGIN X:=X-1; L1[X]:=L1[X]-1; END; END; END; UNTIL Y=1; UNTIL X=R; END. 0.895 sec 928 Bytes There is a bug in HPPASCAL with ABS on integer. compilation give :   ```function Abs (x: integer): integer; begin asm A=R1 D1=A D1=D1+ 5 A=DAT1 A D1=D1- 5 LC(5) #7FFFF ?A Instruction inconnue dans “?A

Go back to the main exhibit hall

C.F. Moller – Dormitory in Odense, Denmark »

In the current design, the three towers are arranged in a generally pinwheel fashion around a central space, which on most residential floors is occupied by a sprawling commons that includes kitchen, …

sources

Desktop Pop-up Reminder for Win XP, 7

You publicly recommended this as Pavel Nemec.
Your Iceland Photos — National Geographic »

See Iceland photos submitted to National Geographic by users like you.

Blog – »

Spring will soon be upon many of us – and for me, nothing evokes the spirit of the season more than a bee buzzing from flower to flower on a warm, sunny afternoon. But I never would have guessed that …

You publicly recommended this as Pavel Nemec.
TOP242 Constant Current Source for 10W LEDs »

In the case of a wall charger with a 500mA transformer I’ve built a source in commutation for powering 10W LEDs through a TOP242 power source integrated circuit.

EDN – Slideshow: Free online design, simulation, parts search tools | EDN »

Online engineering tools are only just beginning their rise, but browser-based tools such as those listed here illustrate the promise of cloud-based engineering.

http://twistedsifter.com/2013/02/cramped-hong-kong-apartments-from-above/

Founded in 1972, the Society for Community Organization (SoCO) in Hong Kong recently released this series of startling photographs that show the cramped living conditions of residents by shooting entire ‘apartments’ from above. While the use of a wide-angle lens certainly dramatizes the effect, there is no doubt that these are very small living quarters.

According to SoCO:

– There are approximately 100,000 people living in inadequate housing such as: cagehomes, bedspaces, cubicles, sub-divided units, cocklofts and roof-top huts (2010)
– There are approximately 200,000 registered applicants (which consists of 350,000+ people) on the waiting list for public rental housing (June 2012)
– There are approximately 93,500 ‘singletons’ applicants on the waiting list for public rental housing (HK gov. provided 2,000 units for singletons per year)

You can find a larger gallery of these apartments on the SoCO website that are not shot from directly above here. Scanning the QR code drafts an email petition to the Chief Executive of the Hong Kong SAR, Cy Leung. A similar series was done by Michael Wolf entitled 100 x 100 that showed 100 different Hong Kong ‘apartments’ that were 100 square feet in size.

You should also check out the Kowloon Walled City that was demolished in 1994. At a time the walled city contained 33,000 residents within a 6.5-acre (0.026 km2; 0.0102 sq mi) border.

[lense.fr via Reddit via MyModernMet]

## 1.

By

Photo by Paul Santiago / My Shot

Measuring sentiment has always been tricky for scientists. There’s no single metric to indicate whether someone will be happy or sad, and people’s desires can differ so dramatically that even something like, say, winning a million dollars, might not translate into actual happiness. The country of Bhutan has tried to aggregate its people’s happiness into a single number—based on the economy, environmental wellness and political stability—known as Gross National Happiness. Yet the model isn’t exactly conclusive, nor easily transferable to other countries.

### Sionyn Jones

Take a point called Z in the complex plane
Let Z1 be Z squared plus C
And Z2 is Z1 squared plus C
And Z3 is Z2 squared plus C and so on
If the series of Z’s should always stay
Close to Z and never trend away
That point is in the Mandelbrot Set

http://www.earth4energy.com/

DYI solar panels

http://www.maximintegrated.com/app-notes/index.mvp/id/5436

Maxim integrated

 TUTORIAL 5436

# Getting Started with a Radio Design

 By: Martin Stoehr, Principal Member of the Technical Staff, Applications
 Jan 31, 2013

Abstract: The process of designing a radio system can be complex and often involves many project tradeoffs. With a little insight, balancing these various characteristics can make the job of designing a radio system easier. This tutorial explores these tradeoffs and provides details to consider for various radio applications. With a focus on the industrial, scientific, medical (ISM) bands, the subjects of frequency selection, one-way versus two-way systems, modulation techniques, cost, antenna options, power-supply influences, effects on range, and protocol selection are explored.

A similar version of this article appeared on Electronic Design, December 21, 2012.

## Selecting the Right Frequency

Why would a designer want to operate in the 868MHz/915MHz band rather than the 433.92MHz part of the spectrum? In other words, how do you choose which frequency to use? The answer is affected by two primary considerations: either the application has a traditional and/or predefined band in which it operates, or the designer must balance the tradeoffs of each parameter in the design to make the best band selection (Figure 1).

http://twistedsifter.com/2013/02/detailed-photos-of-the-sun-by-backyard-astronomer-alan-friedman/

# Detailed Photos of the Sun by a Backyard Astronomer

By day, Alan Friedman makes greeting cards for Great Arrow Graphics. At night, Friedman pursues his passion for astronomy from his observatory, located in the backyard of his home in Buffalo, New York. While it’s not an ideal site, given the street lights, telephone wires and jet stream winds. He makes the most of it, focusing on the brighter objects in the sky like our sun, moon and nearby planets.

Alan Friedman: Website | Tumblr | Prints

## 1.

through

Go to EXCELENT tool – js emulator (thanks to F. Bellard)

http://bellard.org/jslinux/

DOS:

http://www.bttr-software.de/forum/mix_entry.php?id=11293

sw modem

https://github.com/ewiger/jsmodem

Help, tutorials …

http://www.linfo.org/newbies.html

http://www.linfo.org/index.html

http://linux.die.net/

vi:

Qemacs

http://bellard.org/qemacs/qe-doc.html

Commands

ls -al (list)

pwd

dmseg | more

qemacs

### Fun with Masked ROMs – Atmel MARC4

At Aperture Labs we have Code Monkeys and Chip Monkeys. Chip Monkeys do the dangerous stuff, while we Code Monkeys sit in our nice safe offices playing with bits and bytes and other things that can’t hurt us…

Now, you’re probably wondering what could possible be ‘dangerous’ in an IT Security business, and that’s a perfectly fair question. How about boiling nitric acid for a start? Or fiddling with circuits that are directly connected to mains electricity? Exactly. Dangerous!

So when head Chip Monkey Zac Franken says to me: “Here are some pretty pictures of chips that I’ve dissolved in some lovely boiling nitric acid”, I am quite happy to be a Code Monkey and to leave the nasty smelly dissolvy stuff to him… 🙂

You might ask why you would want to dissolve chips in the first place? Usually, it’s because you are trying to do something like reset a fuse to allow reading/writing of protected areas or probe a data track to observe data being processed by the chip, or even trying to figure out the actual logic of a proprietary chip by viewing and reverse engineering it’s construction.

In our case it’s a combination of things, but the primary target at this stage is the program code that is stored in Masked ROM. The chip itself is using a known architecture and a published assembly language, so the only reverse engineering required is to recover the actual instructions stored in the ROM. As we can see from the picture below, this should be relatively easy as ‘data’ is clearly discernible:

If we zoom in we can see what looks like blobs of solder connecting vias, and we can guess that the presence of a blob represents a ‘0’ or a ‘1’ and the absence vice-versa:

http://www.amazon.com/gp/sendtokindle
Reading your documents and web content on Kindle is now easier than ever. Use Send to Kindle applications to read on your Kindle devices and free reading apps on iPhone, iPad, iPod Touch and Android.

Send news articles, blogs posts and other web content to read them anytime, everywhere on Kindle devices or reading apps.

Send to Kindle for Apple Safari is coming soon.

Attach and send your documents to Kindle using the “Send-to-Kindle E-mail Address” to read them anytime, everywhere on Kindle devices and reading apps.

http://www.neng.usu.edu/cee/faculty/gurro/Classes/Classes_Spring2004/hp49g+/hp49g+exercises.htm

# hp 49g+ Tutorial course

Outline of exercises

Gilberto E. Urroz – ph. 435-797-3379 – gurro@cc.usu.edu – EC 214 – fax 435-797-1185

 Chapter 1 – Getting startedChapter 2 – Introducing the calculator Chapter 3 – Simple calculations with real numbers Chapter 4 – Calculations with complex numbers Chapter 5 – Algebraic and arithmetic operations Chapter 6 – Solution to single equations (examples) Chapter 7 – Solving multiple equations (examples) /Using the SOLVR: see Ch. 27 Chapter 8 – Operations with lists Chapter 9 – Vectors Chapter 10 – Creating and manipulating matrices Chapter 11 – Matrix Operations and Linear Algebra Chapter 12 – Graphics Chapter 13 – Calculus Applications Chapter 14 – Multi-variate Calculus ApplicationsChapter 15 – Vector Analysis Applications Chapter 16 – Differential Equations Chapter 17 – Probability Applications Chapter 18 – Statistical Applications Chapter 19 – Numbers in Different Bases Chapter 20 – Customizing menus and keyboard Chapter 21 – Programming in User RPL language Chapter 22 – Programs for graphics manipulation Chapter 23 – Character strings Chapter 24 – Calculator objects and flags Chapter 25 – Date and Time functions Chapter 26 – Managing memory

http://www.experimentalmath.info

## Experimental Mathematics Website http://www.experimentalmath.info

 <== This is a picture from the interactive geometry package Cinderella showing the behavior of 10,000 starting values in the rectangle [0,1]x[h-1,h+1], where h is the height of the horizontal line, after six iterations of the algorithm which reflects a point x in the sphere then reflects the outcome in the line and then averages the result y with x. It is an accessible prototype for a remarkable image reconstruction algorithm known variously as Douglas-Ratchford, Lion-Mercier, Fienup’s method, and “divide-and-concur.” Some related graphics can be generated and displayed at these URLs: Expansion Reflection (wait 30-60 seconds to see the display). Quote of the day (refresh browser to select another): We [Kaplansky and Halmos] share a philosophy about linear algebra: we think basis-free, we write basis-free, but when the chips are down we close the office door and compute with matrices like fury. — Irving Kaplansky (1917-2006), quoted in John H. Ewing and F.W. Gehring, ed., Paul Halmos: Celebrating 50 Years of Mathematics, Springer, 1991. The complete list of quotes is available here.

#### This website is a repository of information on experimental and computer-assisted mathematics. It is operated by

• David H. Bailey, Lawrence Berkeley Laboratory, Berkeley, California (DHB website)
• Jonathan M. Borwein, University of Newcastle, Newcastle, Australia (JMB website)

http://www.quietrevolution.com/landowners/who-we-are.htm

quietrevolution are a small scale wind turbine manufacturer, aiming to play a leading global role in the development of local energy production, through the promotion of wind energy solutions and the role they play in helping combat climate change. We offer a no-cost renewable energy solution for land owners, organisations and communities to gain free electrcitity.

Since 2005 our team has developed an innovative vertical axis wind turbine, the qr5. As a manufacturer, quietrevolution has the techical knowledge and experience, to evaulate the MCS Certified small-scale wind turbines available in the UK. We aim to select the most appropriate technology for your site, that utilises the available wind resources, and fits your surrounding environment.

small wind

contact & support

© Quiet Revolution Ltd 201223 B&C Berghem Mews, Blythe Road, London W14 0HN

http://www.popularmechanics.com/science/energy/solar-wind/4324331

# 10 Wind Turbines That Push the Limits of Design

## The American Wind Energy Association (AWEA) released their 20% Wind Report Card on July 8, following up on a study in which the Department of Energy proposed a goal where 20 percent of U.S. electricity comes from wind energy by 2030. The AWEA gave the overall U.S. push for wind power a “solid B”—high marks from an advocacy group that grades U.S. infrastructure. The highest letter in the report was an A- awarded for “Technology Development.” This is no big surprise—for years now, the government, alternative-energy researchers and entrepreneurs have been putting time and money into making better tech for cleaner, more efficient energy production. Here are 10 wind turbine designs that push the limits of the current design and may help the U.S. get back to being an A student by 2030.

http://user.mendelu.cz/marik/wiki/doku.php?id=start

### Uživatelské nástroje

Research

Výuka / Teaching

Doplňkové materiály

IT

vypocty
vypocty.txt · Poslední úprava: 2013/01/19 11:29 (upraveno mimo DokuWiki)

### Nástroje pro stránku

http://arxiv.org/