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 ndtma  
#1 Posted : 03 February 2017 11:34:27(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)
The attached image shows different results in symbolic optimization in using Vetorize Operator, and
consequently generates an error when using "FindRoot" function in the attached worksheet.

When Equations 1B & 2B are disabled and 1A & 2A enabled, "FindRoot" gives the result.

Vectorize error - Symbolic Optimization.sm (190kb) downloaded 25 time(s).

Vectorize Error-1.jpg
Vectorize Error-2.jpg

Edited by moderator 03 February 2017 13:34:26(UTC)  | Reason: Not specified

Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka

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

Offline PompelmoTell  
#2 Posted : 03 February 2017 12:07:35(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)
if you initialize the vector Q, then it works

Q:mat(el(Q,1),el(Q,2),el(Q,3),el(Q,4),4,1)

sergio
thanks 2 users thanked PompelmoTell for this useful post.
on 03/02/2017(UTC),  on 03/02/2017(UTC)
Offline ndtma  
#3 Posted : 03 February 2017 12:42:52(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)
Thank you! It works.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
Offline Jean Giraud  
#4 Posted : 03 February 2017 18:11:43(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)
Your red vectorise is just a display, i.e: not an assignment.
Unlike the "red vectorise", the "blue vectorise" ASSIGNS the
vector required by FindRoots, thus immaterial wrt Symbolic/Numeric/NONE

The suggestion to initialise is not technical to me [just a comment].
It simply confuses matters. There is a long route to explore/clarify
the Smath Vectorise operator
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.