SMath Studio Forum
»
SMath Studio
»
Questions
»
Help! Having problems with solve function
Rank: Newbie
Groups: Registered
Joined: 23/11/2014(UTC) Posts: 1
|
I'm trying to solve this equation: 3t^3-2t+5=0 using the solve function solve(3t^3-2t+5=0,t) but when I type t= to solve it, it doesnt give me an answer, just t= the black box And yes, I am using the Boolean in the equation and in solve so I honestly don't know what's wrong? It won't give me the answers for any solve questions! Please help ASAP! Thanks in advance
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
|
Best regards, Mike Kaganski |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 18/09/2014(UTC) Posts: 71 Was thanked: 7 time(s) in 7 post(s)
|
Originally Posted by: mikekaganski Use 3*t, not 3t You are not familiar with Smath. The * is inserted automatically when typing. You (critzker) should use the Maxima plugin, which is part of the portable version. See example below. brotjob attached the following image(s):
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: brotjob You are not familiar with Smath. The * is inserted automatically when typing. Are you sure? Just try to paste the OP code to SMath, and see that 3t is inserted as is, not like "3*t". The thing you mention only applies to interactive typing. OP hasn't specified the method he used in the first place. If used properly, everything works without maxima: solve((3*t)^3-2*t+5≡0,t)=-0.6132 |
Best regards, Mike Kaganski |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 18/09/2014(UTC) Posts: 71 Was thanked: 7 time(s) in 7 post(s)
|
sorry I missed the square three which makes everything much easier.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: critzker solve(3t^3-2t+5=0,t) but when I type t= to solve it, it doesnt give me an answer, just t= the black box
I'm afraid I didn't understand your problem the first time. I suppose you do the following: type "solve(3t^3-2t+5=0,t)" go to new line type "t=" and wait for the answer. That's not correct. solve is not a procedure that modifies its argument t; it is a function that returns a number, ant that number may (or may not) be assigned to a variable. You need to have the following: "t:=solve(3*t^3-2*t+5=0,t)" then your "t=" will give you the answer (in this form, it will be 2.743). |
Best regards, Mike Kaganski |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 18/09/2014(UTC) Posts: 71 Was thanked: 7 time(s) in 7 post(s)
|
You should definitely use Maxima since the Smath solver misses the complex solutions. brotjob attached the following image(s):
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Help! Having problems with solve function
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.