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 critzker  
#1 Posted : 23 November 2014 06:49:08(UTC)
critzker

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 Sad

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

Offline mikekaganski  
#2 Posted : 23 November 2014 07:51:32(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
Use 3*t, not 3t
Best regards,
Mike Kaganski
Offline brotjob  
#3 Posted : 23 November 2014 12:46:27(UTC)
brotjob


Rank: Advanced Member

Groups: Registered
Joined: 18/09/2014(UTC)
Posts: 71
Switzerland

Was thanked: 7 time(s) in 7 post(s)
Originally Posted by: mikekaganski Go to Quoted Post
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):
Solve-01.png
Offline mikekaganski  
#4 Posted : 23 November 2014 13:18:47(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
Originally Posted by: brotjob Go to Quoted Post
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
Offline brotjob  
#5 Posted : 23 November 2014 22:57:52(UTC)
brotjob


Rank: Advanced Member

Groups: Registered
Joined: 18/09/2014(UTC)
Posts: 71
Switzerland

Was thanked: 7 time(s) in 7 post(s)
sorry I missed the square three which makes everything much easier.
Offline mikekaganski  
#6 Posted : 24 November 2014 03:06:55(UTC)
mikekaganski


Rank: Advanced Member

Groups: Registered
Joined: 17/01/2013(UTC)
Posts: 296
Man
Russian Federation
Location: Khabarovsk, Russia

Was thanked: 151 time(s) in 107 post(s)
Originally Posted by: critzker Go to Quoted Post

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
Offline brotjob  
#7 Posted : 24 November 2014 10:41:10(UTC)
brotjob


Rank: Advanced Member

Groups: Registered
Joined: 18/09/2014(UTC)
Posts: 71
Switzerland

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):
solve_square3.png
Users browsing this topic
Guest
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.