[Scilab-users] Symbolic computation in Scilab

Pablo Fonovich pablo_f_7 at hotmail.com
Sun Aug 16 23:01:42 CEST 2015


Hi:
i think i finally solved your problem
 use this script

Syms n z ;
x1 =(0.33) ^( n )
X1 = %sym_sum (7* x1 *( z ^( - n ) ) ,n ,0 , %inf )
X1=ev(X1,'simpsum=true')
x2 =(0.5) ^( n )
X2 = %sym_sum (6* x2 *( z ^( - n ) ) ,n ,0 , %inf )
X2=ev(X2,'simpsum=true')
X = X1 - X2

i just added the ev instruction after calculating X1 and X2 to simplify the sum...

the result is

 X  =
 
                 7.0        6.0
              --------- - -------
                   33          1
              1 - -----   1 - ---
                  100 z       2 z

that is correct!

> Date: Sun, 16 Aug 2015 04:18:29 -0700
> From: doole93 at gmail.com
> To: users at lists.scilab.org
> Subject: Re: [Scilab-users] Symbolic computation in Scilab
> 
> I forgot, the scimax toolbox doesn't ask me to input any convergence
> conditions
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Symbolic-computation-in-Scilab-tp4032673p4032693.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150816/b5d2bd46/attachment.htm>


More information about the users mailing list