trottaleonardo

5 Reputation

One Badge

12 years, 155 days

MaplePrimes Activity


These are answers submitted by trottaleonardo

Hi,first, thnx for your attention in all of my posts. I tried to reach my objetive by your way but I wasn't succeeded.At that post I was trying to create a file with "one term by line", I got sucess converting my expression to a vector than later using ExportVector to save to a .txt archive. Then I could ran my awk algorithm and everthing went ok. Now I have to transform this into an expression. I first have to "ImportVector" than convert to an expression again. Just don't know how to perform that.

I didn't forget your examples, unfortunately I couldn't get the things right yet.

 

I got now:

 

[> Error, unable to execute add
 
Your hints are helping me a lot, now I converted my vector into a list and did:
add(i, i = Z),  this command sums every term of my list. Sucess. Thnx a lot =]

Thnx a lot for your attention I just realize an easy way to fix this problem. I did:

 

E:=convert(Z,list):
F:=convert(E,Vector):
ExportVector("/home/demac/archive2.txt",F):
 
And done; Thank you a lot. =]

my terms separated by lines, like my example above.

Page 1 of 1