Rank: Newbie
Groups: Registered
Joined: 15/05/2021(UTC) Posts: 8 Location: Warsaw
|
Hi, First of all hello to all I'am a new forum user as well as the SMath, too. So: I have a question-> please see the below input deck (I don't know how to input png file :/ ) m:=850kg G:=m*ge L:=2.4m LF:=1.3m LR:=L-LF solve(GFA*L=G*LR,GFA) off course ge is the gravity. The above input don't give me solution. Could you help me?? I hope that attachment file will be correctly attached test.sm (5kb) downloaded 7 time(s).best regards, Astroneus
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,126 Was thanked: 507 time(s) in 338 post(s)
|
Originally Posted by: Astroneus Hi, First of all hello to all I'am a new forum user as well as the SMath, too. So: I have a question-> please see the below input deck (I don't know how to input png file :/ ) m:=850kg G:=m*ge L:=2.4m LF:=1.3m LR:=L-LF solve(GFA*L=G*LR,GFA) off course ge is the gravity. The above input don't give me solution. Could you help me?? I hope that attachment file will be correctly attached test.sm (5kb) downloaded 7 time(s).best regards, Astroneus solve() calculates between -20/+20 unless different range is not specified. This was your wrong doing here, result is way over 20. A well guessed range gives the result. roots() must calculate without units like solve(), however you can fool functions by adding the unit of result. Findroot() can calculate with unit but you have to give a starting guess value. test_solve.sm (7kb) downloaded 6 time(s).
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 15/05/2021(UTC) Posts: 8 Location: Warsaw
|
Wonderful ! Thankyou for quick reply. Answering to your question: I didn't use simple way due to learning purpose This was just simply example. Btw. I installed the Maxima and I turn on the plugin in SMath. Could you tell me how to define the above equation for symbolic solution i.e. considering the GFa ??? Best regards, Astroneus
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,126 Was thanked: 507 time(s) in 338 post(s)
|
Originally Posted by: Astroneus Wonderful ! Thankyou for quick reply. Answering to your question: I didn't use simple way due to learning purpose This was just simply example. Btw. I installed the Maxima and I turn on the plugin in SMath. Could you tell me how to define the above equation for symbolic solution i.e. considering the GFa ??? Best regards, Astroneus I use linux, maxima plugin doesn't work for us. Can't show you as smath example. However I have maxima as cli and it can solve your function Maple plugin can solve as you asked too if optimization is set to symbolic. The idea is same, way of doing it and result shouldn't differ on maxima plugin. Regards
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: Astroneus ... Btw. I installed the Maxima and I turn on the plugin in SMath. Could you tell me how to define the above equation for symbolic solution i.e. considering the GFa ??? ... Mi Astroneus. If you have Maxima, you can use Solve(). For learn about it (and a lot of things about Maxima and SMath) you can download the "Interactive SMath Handbook" by M. Kraska. Under Tools menu choose the interactive books option. If you don't have it, try to change "Local storage" to "Online gallery". The you can open it. Solve it's under Mathematics / Solving Non-Linear Equations / Solve. Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,126 Was thanked: 507 time(s) in 338 post(s)
|
Originally Posted by: Razonar If you have Maxima, you can use Solve(). Alvaro is right (like always), I have totally forgot maxima plugins's Solve() function cause I am not using windows for daily basis in a looong time. There are also solvers like al_nleqsolve() or others in solving libraries/ plugins. You can find necessary informations for them in Reference Book, as Alvaro already mentioned.
|
1 user thanked overlord for this useful post.
|
|
|
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.