Post Reply 
when will be ready a program editor for the CAS MODE ?
01-27-2014, 05:55 PM (This post was last modified: 01-27-2014 05:57 PM by compsystems.)
Post: #9
RE: when will be ready a program editor for the CAS MODE ?
according to the manual poly2symb and symb2poly, the second argument is a variable, not a string

Code:
//convolution Version2
export convolution2(v1,v2,var)
begin 
  local p1,p2,c; 
  p1:=poly2symb(v1,var); 
  p2:=poly2symb(v2,var); 
  c:=symb2poly(simplify(p1*p2),var);
  return(c); 
end;

CAS MODE

convolution2([1,2,3,4],[5,6,7,8], "y" ); [enter] returns "Error: Bad Argument Value" // OK the second arg is a string

HOME MODE

convolution2([1,2,3,4],[5,6,7,8], "y" ); [enter] returns warning evalution ... =(
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: when will be ready a program editor for the CAS MODE ? - compsystems - 01-27-2014 05:55 PM



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