Loading [MathJax]/extensions/Safe.js


Post Reply 
Proposal for the next firmware update HP Prime
12-10-2017, 05:14 PM (This post was last modified: 12-10-2017 05:20 PM by Rudi.)
Post: #1
Proposal for the next firmware update HP Prime
Dear all

I think, it`s a beneficial option to implement this function in the
next HP Prime Firmware-Update.

//CAS-View only!!
//Here is an example
restart //clear all used variables --Alternative command purge(List of all used variables)
x1:=36-4*p1;// Demand Product 1
x2:=24-2*p2;// Demand Product 2
x3:=21-3*p3;// Demand Product 3
k:=x1^2+x2^2+x3^2;//cost function
f:=p1*x1+p2*x2+p3*x3-k;//profit function
f:=simplify(f);
g:=grad(f,lname(f));
s:=solve({g = 0},lname(g));
t:=transpose(lname(f));

//it's useful
[[p1],[p2],[p3]]:=transpose(solve(g,lname(g)));

//it`s a good idea for the next Firmware-Update of HP Prime
transpose(lname(f)):=transpose(solve(g,lname(g)));

//or it`s a better opportunity for the next Firmware-Update of HP Prime

//*******************************
lname(f):=solve(g,lname(g)); //*
//*******************************
   
   

best regards,
Rudi Steeger
Find all posts by this user
Quote this message in a reply
Post Reply 




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