Post Reply 
when will be ready a program editor for the CAS MODE ?
01-27-2014, 02:25 PM
Post: #4
RE: when will be ready a program editor for the CAS MODE ?
Tienes razón, pero no se si es un bug. Ejecuta esto:

Code:
export  convolution1(v1,v2)
begin 
  local p1,p2,c,xx:="xx"; 
  p1:=poly2symb(v1,xx); 
  p2:=poly2symb(v2,xx); 
  c:=symb2poly(simplify(p1*p2),xx);
  return(c); 
end;

En MATH, X sería interpretado antes entonces da el resultado "erroneo". Gracias a debug( ); puedes ver lo que sucede fácilmente, ejemplo:

Code:
export  convolution1(v1,v2)
begin 
  debug();
  local p1,p2,c,xx:="xx"; 
  p1:=poly2symb(v1,xx); 
  p2:=poly2symb(v2,xx); 
  c:=symb2poly(simplify(p1*p2),xx);
  return(c); 
end;

My website: erwin.ried.cl
Visit this user's website 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 ? - eried - 01-27-2014 02:25 PM



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