Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9154 > unrolled thread
| Started by | Nile <thrasher300@gmail.com> |
|---|---|
| First post | 2012-03-19 10:04 +0000 |
| Last post | 2012-03-20 07:25 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Different answers in mathematica and my calculator. Nile <thrasher300@gmail.com> - 2012-03-19 10:04 +0000
Re: Different answers in mathematica and my calculator. psycho_dad <s.nesseris@gmail.com> - 2012-03-20 07:24 +0000
Re: Different answers in mathematica and my calculator. Peter Pein <petsie@dordos.net> - 2012-03-20 07:25 +0000
| From | Nile <thrasher300@gmail.com> |
|---|---|
| Date | 2012-03-19 10:04 +0000 |
| Subject | Different answers in mathematica and my calculator. |
| Message-ID | <jk70c1$12t$1@smc.vnet.net> |
4/(3Power[2(-2)+3, (3)^-1]) I get -(4/3) (-1)^(2/3) in Mathematica but only -4/3 on my calculator. N[Sec[8/(8 Sqrt[2])]]/Degree to get Cos^-1 of 8/(8 Sqrt[2]) and it gives me 75 deg instead of 45... I'm not sure what I'm doing wrong, I tried in Wolfram Alpha and it gives me the same thing. Thank you. -Francis
[toc] | [next] | [standalone]
| From | psycho_dad <s.nesseris@gmail.com> |
|---|---|
| Date | 2012-03-20 07:24 +0000 |
| Message-ID | <jk9bai$bmq$1@smc.vnet.net> |
| In reply to | #9154 |
I'm afraid that Sec corresponds to 1/Cos in the sense of 2 and 1/2 respectively. The function you want is ArcCos (inverse cosine). As for the first question, mathematica is right, so you are either doing something wrong on the calculator or it doesn't support complex numbers, as Power[2(-2)+3, (3)^-1]=(-1)^(1/3) is complex.
[toc] | [prev] | [next] | [standalone]
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Date | 2012-03-20 07:25 +0000 |
| Message-ID | <jk9bcf$bnm$1@smc.vnet.net> |
| In reply to | #9154 |
Am 19.03.2012 11:04, schrieb Nile: > 4/(3Power[2(-2)+3, (3)^-1]) > > I get -(4/3) (-1)^(2/3) in Mathematica but only -4/3 on my calculator. > powers with non-integer exponents are not unique in the domain of complex numbers. Try Root[]: 4/(3 Root[#^3 - (2 (-2) + 3) &, 1]) > > N[Sec[8/(8 Sqrt[2])]]/Degree to get Cos^-1 of 8/(8 Sqrt[2]) and it gives me 75 deg instead of 45... > > I'm not sure what I'm doing wrong, I tried in Wolfram Alpha and it gives me the same thing. I am afraid, you mixed the inverse function cos^(-1)(x) with the reciprocal (cos(x))^(-1). Use ArcCos and FunctionExpand (the latter to convert Degree to Pi/180): ArcCos[8/(8 Sqrt[2])]/Degree // FunctionExpand > > Thank you. > > -Francis >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web