Re: odd mathematica blindspot
- To: mathgroup at smc.vnet.net
- Subject: [mg56473] Re: [mg56468] odd mathematica blindspot
- From: "Matthias Bode" <lvsaba at hotmail.com>
- Date: Tue, 26 Apr 2005 21:52:28 -0400 (EDT)
- References: <200504260533.BAA14442@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Ed,
res01 = Solve[(999999999999/10000000000000)^x == 0.5, x]
res01[[1,1,1]] - extracts 'x'.
res01[[1,1,2]] - extracts the number (which you probably wanted to extract).
Output:
{{x -> 0.3010299956638504}}
x
0.3010299956638504
Best regards,
MATTHIAS BODE
Torres Sofer III, depto. 9 A
Pedro Borda #1072
esq. Ismael Vásquez
COCHABAMBA/BOLIVIA
CEL: +591-70 71 56 64
TEL/FAX: +591-4-4 53 34 17
LVSABA at HOTMAIL.COM
Time indicated: UTC (=GMT).
----- Original Message -----
From: "Edward Peschko" <esp5 at pge.com>
To: mathgroup at smc.vnet.net
Subject: [mg56473] [mg56468] odd mathematica blindspot
> hey all,
>
> I was wondering why the following didn't output any solutions. I'd think
> it would be easy:
>
> Solve[(999999999999/10000000000000)^x == .5, x]
>
> It gives no solutions. What's really odd is when you say:
>
> Solve[(999/1000)^x==.5, x]
>
> which *does* give solutions, in the form:
>
> {{x -> 692.801... }}
>
> Also, just curious, but how do you extract 'x' from the above?
> Say I wanted to plug the above solution into another equation..
> In perl I'd say something like:
>
> y = Solve[(999/1000)^x == .5, x];
>
> 3 * y->{x} # replaces with 692.81
>
> etc. etc.
>
> but this doesn't seem to work. How do you access parts of a mathematica
> datastructure/hash?
>
> And finally, how do you set values with the tty? ie: suppose my backspace
> and
> delete key aren't working with math.exe (they aren't) and I want them to
> delete typos. In unix this would be stty erase ^H. In mathematica...?
>
> Thanks much for any help,
>
> Ed
>
>
- References:
- odd mathematica blindspot
- From: Edward Peschko <esp5@pge.com>
- odd mathematica blindspot