How To

Define variables

Define variables

Postby jcaldw737 » Tue Sep 20, 2011 6:03 pm
When I try to solve w1 + 2 = 5, Wolframalpha thinks w1 is an omega constant or such. Is there a way I can say that w1 is a variable? Thanks in advance.
jcaldw737
 
Posts: 3
Joined: Tue Sep 20, 2011 4:47 pm

Re: Define variables

Postby yos233 » Fri Sep 23, 2011 4:58 am
Remove the 1. W1 is equal to W since it is just one W. Or put the 1 in front, where it usually is. Or exchange W for X, the default variable in mathematics.

The cool thing about math is that there is always more than one way to solve a problem.
Eric Vander
yos233
 
Posts: 122
Joined: Tue Nov 16, 2010 2:48 pm

Re: Define variables

Postby jcaldw737 » Fri Sep 23, 2011 8:37 pm
Thank you very much, but I would like to have a w1 and a w2, and for that matter, an l1 and an l2 so I can easily remember what they mean.

Later, I might want d1, d2, d3 ...

thanks again.
jcaldw737
 
Posts: 3
Joined: Tue Sep 20, 2011 4:47 pm

Re: Define variables

Postby Nuclearman » Sat Sep 24, 2011 6:06 am
Your thinking of w subscript 1 (w sub 1), not w1, in which case you should probably use w_1.
-Nuclearman
Nuclearman
 
Posts: 343
Joined: Sun Sep 13, 2009 6:01 pm

Re: Define variables

Postby jcaldw737 » Sat Sep 24, 2011 3:03 pm
THANKS!!! The underscore works wonderfully, but not pefectly -

x_1 is interpreted as x sub 1, and so on for x

but w_1 is still interpreted as "omega 1" constant.

I suppose I could try all the letters from a to z and see which ones work. But I am teaching WA to my Collega Algebra class and I'd like to have a way for them to use any letter they wanted.

But, thanks so much for getting me x_2 and such.
jcaldw737
 
Posts: 3
Joined: Tue Sep 20, 2011 4:47 pm

Re: Define variables

Postby sloppyjoes7 » Thu Oct 20, 2011 10:57 pm
The subscript trick is awesome. I never knew you could have multiple "x" variables by doing "x_1" and so on.

But with WolframAlpha, is it possible to flatly define a variable?

Like "w" or "T" or "θ" or "β" or "ab" or "AO" or "car2" or "rain"??
sloppyjoes7
 
Posts: 1
Joined: Thu Oct 20, 2011 10:54 pm

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests