home *** CD-ROM | disk | FTP | other *** search
- From: rrd@hpfcso.FC.HP.COM (Ray Depew)
- Date: Fri, 11 Dec 1992 16:08:12 GMT
- Subject: Re: UNIT VECTOR PROGRAM
- Message-ID: <107200021@hpfcso.FC.HP.COM>
- Organization: Hewlett-Packard, Fort Collins, CO, USA
- Path: sparky!uunet!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpfcso!rrd
- Newsgroups: comp.sys.hp48
- References: <Dec09.000541.28769@yuma.ACNS.ColoState.EDU>
- Lines: 50
-
- In comp.sys.hp48, ms312860@longs.lance.colostate.edu (Mark Christopher Schwartz) writes:
-
- > I am trying to write a program to calculate unit vectors, and I am having
- > difficulty figuring out how to take three objects from the stack and write
- > them > into a 3-D vector. This is my first program that I am writing myself,
- > so if anyone else has written a similar program, I would be grateful for
- > a copy.
- >
- > send E-mail to: ms312860@longs.lance.colostate.edu
-
- Here's how to do it:
-
- 1) Turn to the index in the back of The Fine Manual.
-
- 2) Look in the index under "vectors."
-
- 3) Go down the list of entries under "vectors" until you find "unit vector."
-
- 4) Turn to the page indicated. This page gives you a list of the steps to
- follow in creating a unit vector.
-
- 5) Now, to turn it into a program, you need to Read part of The Fine Manual.
- a) If you have the 2-volume, spiral bound manual, then turn to
- Chapter 25, "Programming Fundamentals." Once you've worked through
- this chapter, you should be able to write your own program easily.
- b) If you have the 1-volume, book-style bound manual, then turn to
- the section called "Programming" in Chapter 1, "Trying Out the HP48."
- After reading two pages, you should be able to write your own program
- easily.
-
- > BTW can someone tell me how useful the programmers manual is? Being a
- > student low on $$$, I would hate to buy one and not find it useful (the
- > only programming language I know now is FORTRAN).
-
- Well, a poor college student who hasn't yet worked through the Owner's Manual
- has no need for the Programer's Reference Manual.
-
- The Programmer's Reference Manual is not meant to replace or substitute for
- the (Fine) Owner's Manual. It's a supplement to it, a reference work. You
- won't learn how to program the 48 by reading the PRM. Save your money for
- now. Read the Owner's Manual first, and then if you still need to know more
- about the 48, you can buy the PRM later.
-
-
- Regards
- Ray Depew
- Integrated Circuits Business Division
- Hewlett Packard Co, Fort Collins, Colorado
- rrd@hpfiqa.fc.hp.com
- Disclaimer: Did I really say that? Well, it's a good thing I edited it first!
-