Help! Having problems with solve function

Help! Having problems with solve function - Messages

#1 Posted: 11/23/2014 12:49:08 AM
critzker

critzker

0 likes in 1 posts.

Group: User

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
#2 Posted: 11/23/2014 1:51:32 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Use 3*t, not 3t
С уважением, Михаил Каганский
#3 Posted: 11/23/2014 6:46:27 AM
brotjob

brotjob

7 likes in 71 posts.

Group: User

Wrote

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.
Solve-01.png
#4 Posted: 11/23/2014 7:18:47 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Wrote

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
С уважением, Михаил Каганский
#5 Posted: 11/23/2014 4:57:52 PM
brotjob

brotjob

7 likes in 71 posts.

Group: User

sorry I missed the square three which makes everything much easier.
#6 Posted: 11/23/2014 9:06:55 PM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Wrote


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).
С уважением, Михаил Каганский
#7 Posted: 11/24/2014 4:41:10 AM
brotjob

brotjob

7 likes in 71 posts.

Group: User

You should definitely use Maxima since the Smath solver misses the complex solutions.
solve_square3.png
  • New Posts New Posts
  • No New Posts No New Posts