Error

 2 Pages12>
 Previous Topic Next Topic
 forziwka #1 Posted : 28 April 2021 22:47:54(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Hi, guysI need help for my graduation work, i need to use maximize function in Smath Studio, but i have no idea how to do it :'( :'( :'( :'( :'( :'( :'( :'( :'( .Is there a plugin for maximize / minimize functions in Smath Studio?Edited by moderator 30 April 2021 17:11:30(UTC)  | Reason: moved to QUESTIONS (not a bug)
 Wanna join the discussion?! Login to your SMath Studio Forum forum accountor Register a new forum account.
 overlord #2 Posted : 29 April 2021 04:58:15(UTC) Rank: Advanced MemberGroups: Registered Joined: 23/07/2013(UTC)Posts: 377Was thanked: 103 time(s) in 76 post(s) Originally Posted by: forziwka Hi, guysI need help for my graduation work, i need to use maximize function in Smath Studio, but i have no idea how to do it :'( :'( :'( :'( :'( :'( :'( :'( :'( .Is there a plugin for maximize / minimize functions in Smath Studio?You can write your own functions.maximize and minimize are peak points of slope.Take derivative of equation, solve it.Check the examples below.Regards maximize_minimize.sm (17kb) downloaded 16 time(s). maximize_minimize with different solvers.sm (29kb) downloaded 16 time(s).Edited by user 29 April 2021 05:02:37(UTC)  | Reason: Not specified 1 user thanked overlord for this useful post. on 29/04/2021(UTC)
 Razonar #4 Posted : 29 April 2021 15:22:32(UTC) Rank: Advanced MemberGroups: Registered Joined: 28/08/2014(UTC)Posts: 752Was thanked: 404 time(s) in 258 post(s) Originally Posted by: forziwka p.s If something is not clear, ask, I will try to answer.Hi, can you upload a pdf instead the mathcad xmcd file, please?Best regards.Alvaro.
 forziwka #5 Posted : 29 April 2021 15:56:41(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: Razonar Originally Posted by: forziwka p.s If something is not clear, ask, I will try to answer.Hi, can you upload a pdf instead the mathcad xmcd file, please?Best regards.Alvaro.everything is written in Russian, if you have any questions, I will explain. Mathcad - sbalansir. + organoleptika zefira - f-cii Ketle.pdf (246kb) downloaded 11 time(s).
 forziwka #6 Posted : 29 April 2021 16:18:43(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: overlord Originally Posted by: forziwka Hi, guysI need help for my graduation work, i need to use maximize function in Smath Studio, but i have no idea how to do it :'( :'( :'( :'( :'( :'( :'( :'( :'( .Is there a plugin for maximize / minimize functions in Smath Studio?You can write your own functions.maximize and minimize are peak points of slope.Take derivative of equation, solve it.Check the examples below.Regards maximize_minimize.sm (17kb) downloaded 16 time(s). maximize_minimize with different solvers.sm (29kb) downloaded 16 time(s).Unfortunately, this does not work with my function, because it is more complex than yours.
 gallyon1 #7 Posted : 29 April 2021 17:44:59(UTC) Rank: NewbieGroups: Registered Joined: 21/02/2021(UTC)Posts: 6 Why are denominators 0? B2j≠B1j. Am i wrong?
 overlord #8 Posted : 29 April 2021 18:16:06(UTC) Rank: Advanced MemberGroups: Registered Joined: 23/07/2013(UTC)Posts: 377Was thanked: 103 time(s) in 76 post(s) Originally Posted by: forziwka Unfortunately, this does not work with my function, because it is more complex than yours.Here is the first solution for your graphics. Rest are in the example.This is an ugly and fast solution compiled in a haste.I am pretty sure someone in the forum will come with a more classy method.Regards diplomnayaRabota_rev.sm (41kb) downloaded 9 time(s).Edited by user 29 April 2021 18:24:13(UTC)  | Reason: Not specified 1 user thanked overlord for this useful post. on 29/04/2021(UTC)
 forziwka #9 Posted : 29 April 2021 18:38:37(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: forziwka Originally Posted by: overlord Originally Posted by: forziwka Unfortunately, this does not work with my function, because it is more complex than yours.Here is the first solution for your graphics. Rest are in the example.This is an ugly and fast solution compiled in a haste.I am pretty sure someone in the forum will come with a more classy method.Regards diplomnayaRabota_rev.sm (41kb) downloaded 3 time(s).Thanks for your feedback , but I need to calculate maximize from the function K(x), not from y(j, x). Check this pdf Mathcad file: Mathcad - sbalansir. + organoleptika zefira - f-cii Ketle.pdf (246kb) downloaded 8 time(s).After the function K (x), the vector x is given as the initial approximationand after that the Given and Miximize functions are used for the K(x) function.I need to get vector X in Smath.p.s sorry for my bad eng
 forziwka #10 Posted : 30 April 2021 12:31:24(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: Jean Giraud Graphs are doctored and more, but can't sanity moreCheers ...Jean diplomnayaRabota.sm (46kb) downloaded 12 time(s).Thanks for your corrections , but the main question was how to get this vector X without the Given and Maximize functions, because it's obtained from these functions: "X: = Maximize (K, x) ?
 overlord #11 Posted : 30 April 2021 13:24:17(UTC) Rank: Advanced MemberGroups: Registered Joined: 23/07/2013(UTC)Posts: 377Was thanked: 103 time(s) in 76 post(s) Originally Posted by: forziwka Thanks for your corrections , but the main question was how to get this vector X without the Given and Maximize functions, because it's obtained from these functions: "X: = Maximize (K, x) ?That is a total different solver. Smath don't have it integrated.Maple software has it as Maximize() and Minimize() but plugin doesn't parse it under linux.At least I couldn't do it with maple plugin.Maxima can solve that kind of equations with maximize_lp() and minimize_lp().You have to load(simplex) before using this two functions.Maybe maxima plugin could work but I can't try it, need a windows user to try it.I use maxima under terminal, maxima plugin doesn't work with linux.Regards.
 forziwka #12 Posted : 30 April 2021 15:03:36(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: Jean Giraud Originally Posted by: forziwka but the main question was how to get this vector X without the Given and Maximize functions,because it's obtained from these functions: "X: = Maximize (K, x) ?The bloc solver Given ... Find, Minerr, Maximize, Minimize is Mathsoft proprietary specific to Mathcad. No such equivalent Smath.Given/Minerr for fitting model function to data set is done otherwisein Smath via Conjugate Gradient ... same or even better.If there is another way of doing in Smath, expect Designers to help.Sorry Collab, can't help directly on that ... Jean.:'( I tried to do this for a simple function through the "roots" function, and in the end I found the maximum, finding the maximum for a simple function.sm (13kb) downloaded 10 time(s). but there are no ideas how to do this for K (X), since it depends on 6 arguments of the vector x.Is it possible to somehow implement the same algorithm in my task?Edited by user 30 April 2021 15:36:54(UTC)  | Reason: Not specified
 forziwka #13 Posted : 01 May 2021 13:42:10(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: Jean Giraud Originally Posted by: forziwka Is it possible to somehow implement the same algorithm in my task ?The Ancestor of the savant solve is the TKsolve.The designers of TKsolve are the Founders of Mathsoft/Mathcad.No Mathcad gurus succeeded to crack the bloc, probably crypted deep.It's a pity that this method is not solved.
 Razonar #14 Posted : 01 May 2021 22:57:32(UTC) Rank: Advanced MemberGroups: Registered Joined: 28/08/2014(UTC)Posts: 752Was thanked: 404 time(s) in 258 post(s) Hi. There are no minimizers in SMath, with the probable exception of a library in Maxima that can be read and executed, as Overlod point.However, a kind of minimizer can be implemented as shown in the attached, and incidentally, obtain a solution (just a little bit) better than Mathcad's. diplomnayaRabota_nleqsol.sm (84kb) downloaded 24 time(s).Best regards.Alvaro. 1 user thanked Razonar for this useful post. on 02/05/2021(UTC)
 forziwka #15 Posted : 03 May 2021 14:00:05(UTC) Rank: MemberGroups: Registered Joined: 28/04/2021(UTC)Posts: 12Location: Krasnodar Originally Posted by: Razonar Hi. There are no minimizers in SMath, with the probable exception of a library in Maxima that can be read and executed, as Overlod point.However, a kind of minimizer can be implemented as shown in the attached, and incidentally, obtain a solution (just a little bit) better than Mathcad's. diplomnayaRabota_nleqsol.sm (84kb) downloaded 24 time(s).Best regards.Alvaro.Thank you so much for your work. I appreciate it.