home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp48 / 6273 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  2.5 KB

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