Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline yuriy1996  
#1 Posted : 18 May 2018 16:05:41(UTC)
yuriy1996


Rank: Member

Groups: Registered
Joined: 17/05/2018(UTC)
Posts: 11
Ukraine
Location: Львов

I have one formula where it is necessary to make a sum in a way that takes into account 5 coefficients of a polynomial. In the sum he is marked as ak and I need that instead of ak there was a1..a2..a3 ... a4 ... a5. Also, for each polynomial account, the power K automatically changes from the index of the polynomial 1..2..3..4..5. How to implement it in this program? Also, I have several layers of reinforcement in the equation that should also be instead of Asi to As1...As2...As3...Asn and Sigma_si to Sigma_s1...Sigma_s2...Sigma_s3...Sigma_sn . Sorry for bad English.
Screenshot_1.png
Screenshot_2.png
Arkush1.sm (12kb) downloaded 14 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline PompelmoTell  
#2 Posted : 18 May 2018 16:32:44(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
You made the following error: you used "a.k" instead of "a[k". This way you did not create vectors to use in the summation with the counter. You need to do to define and then use As and Sigmas.

sergio
thanks 1 user thanked PompelmoTell for this useful post.
on 18/05/2018(UTC)
Offline yuriy1996  
#3 Posted : 18 May 2018 16:38:06(UTC)
yuriy1996


Rank: Member

Groups: Registered
Joined: 17/05/2018(UTC)
Posts: 11
Ukraine
Location: Львов

I corrected a.k for a[k but how do I set 5 values for one variable a[k?
Offline PompelmoTell  
#4 Posted : 18 May 2018 16:55:32(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
for example a[1:=2.5 a[2:=3.21 a[3:=-7.1
so "a" is a vector
in the sum a[k

sergio
thanks 1 user thanked PompelmoTell for this useful post.
on 18/05/2018(UTC)
Offline yuriy1996  
#5 Posted : 18 May 2018 17:13:48(UTC)
yuriy1996


Rank: Member

Groups: Registered
Joined: 17/05/2018(UTC)
Posts: 11
Ukraine
Location: Львов

Unable to determine the value of an element since the item with the specified index does not exist -error
Offline yuriy1996  
#6 Posted : 18 May 2018 17:16:25(UTC)
yuriy1996


Rank: Member

Groups: Registered
Joined: 17/05/2018(UTC)
Posts: 11
Ukraine
Location: Львов

Arkush1.sm (15kb) downloaded 14 time(s).
Offline CBG  
#7 Posted : 18 May 2018 17:46:35(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
Solution

Solution_Formula.png


Arkush1_CBG.sm (16kb) downloaded 20 time(s).



Best Regards


Carlos
thanks 1 user thanked CBG for this useful post.
on 18/05/2018(UTC)
Offline Jean Giraud  
#8 Posted : 18 May 2018 18:29:55(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... you may clean/recast a bit.

Arkush1_CBG.sm (14kb) downloaded 18 time(s).

Offline Jean Giraud  
#9 Posted : 18 May 2018 19:18:18(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
... you may clean/recast a bit.


You have 11 sets of 'a'
Easy to tabulate, is it what you want ?
Offline ndtma  
#10 Posted : 18 May 2018 19:51:50(UTC)
ndtma


Rank: Advanced Member

Groups: Registered
Joined: 05/06/2014(UTC)
Posts: 348
Man
Sri Lanka
Location: Colombo

Was thanked: 124 time(s) in 82 post(s)
Pl look at this. Error may have occurred when entering the formula???? Difficult to trace.
Unable to select individual components of the erroneous formula.

Formula Format.jpg

Arkush1_ndtma.sm (17kb) downloaded 15 time(s).

Edited by user 18 May 2018 20:09:30(UTC)  | Reason: Not specified

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Jean Giraud  
#11 Posted : 18 May 2018 20:53:49(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
You have 11 sets of 'a'
Easy to tabulate, is it what you want ?


Arkush1_CBG [data].sm (137kb) downloaded 22 time(s).

Offline Jean Giraud  
#12 Posted : 19 May 2018 03:34:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: ndtma Go to Quoted Post
Pl look at this. Error may have occurred when entering the formula???? Difficult to trace.
Unable to select individual components of the erroneous formula.

There it seems the formula is ill posed wrt [4.1].
It shows bfcd as something not defined but the originator
has defined b, and defined fcd ... b*fcd.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.