4 Finance Operations  HP Prime Free CAS variables

09062017, 10:44 AM
(This post was last modified: 09062017 10:45 AM by lschroeder1947.)
Post: #1




4 Finance Operations  HP Prime Free CAS variables
HP Prime Free programming. In thread Rectangular Coordinate Conversion, by using the Define key, I added functions R_to_P and P_to_R to HP Prime devices including the HP Prime Free. These two functions allow the CAS view to display exact values for the conversions. I recently used the Define key to add the function arsm, (N/2)*(F+L), to the HP Prime Free. For all the other HP Prime devices, I wrote a library of arithmetic series functions to find the nth term and sum of an arithmetic series.
Besides Define the other programming option for the HP Prime Free is to use CAS variables. I used notepad++ with prime plugin to first type the CAS variable. You could use any text editor. Then I use system copy and paste to enter it into the Windows HP Prime Free app. Since the HP Prime Fee has no Finance Application library, program editor, or HP connectivity kit I used CAS variables to add the sint, cpint, loan, and ira CAS variables to give us basic finance operations. Copy each of these functions to the CAS command line and press enter: sint(a,p,r,t):=solve(a=p*(1+r*t),x) cpint(fv,pv,r,m,t):=solve(fv=pv*(1+r/m)^(m*t),x) loan(pv,pmt,r,m,t):=solve(pv=pmt*((1(1+r/m)^(m*t))/(r/m)),x) ira(fv,pmt,r,m,t):=solve(fv=pmt*(((1+r/m)^(m*t)1)/(r/m)),x) Note: The Finance Application Library uses n in months where I use years, r in i% where I use decimals, and I use m for daily, months, quarterly, semiannually, and annually. 

« Next Oldest  Next Newest »

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