What wrong with $\int_{0}^{\infty}x^{\frac{-9}{8}}*e^{-16*x^{\frac{-1}{8}}-\frac{2*x}{0.5^{9}}}dx$?

In Mathematica 9, I want to evaluate the following integral:

$ \int_{0}^{\infty}x^{\frac{-9}{8}}*e^{-16*x^{\frac{-1}{8}}-\frac{2*x}{0.5^{9}}}dx$

The result should be positive. However, Mathematica gives me -0.0824979 (a negative number).

This is the code from Mathematica in the InputForm:

Integrate[E^(-16/x^8^(-1) – (2*x)/0.5^9)/x^(9/8), {x, 0, Infinity}]

So I don’t think I typed a wrong formula.

Could someone help me answering why did Mathematica give me a wrong answer?

Thanks so much.

Wrong repositories in Ubuntu

I upgraded a while back to 16.04 (Xenial) LTS.

However, I don’t believe apt-get repositories have correctly updated – they appear to still be looking for 14.04 versions:

sudo apt-get update Hit http://security.ubuntu.com trusty-security InRelease Ign http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty InRelease
[…] Ign https://repos.sonar.digitalocean.com main/main Translation-en W: Failed to fetch http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu/dists/trusty/main/binary-i386/Packages 403 Forbidden

How do I go about resolving this?

Is the Moonbeam spell amazing, or are we doing it wrong?

The description of the moonbeam spell (PHB pg. 261) says:

When a creature enters the spell’s area for the first time on a turn or starts its turn there, it is engulfed in ghostly flames that cause searing pain…

On each of your turns after you cast this spell, you can use an action to move the beam 60 feet in any direction.

We read this to mean a creature takes damage from moonbeam when any of the following conditions are met:

  • It begins its turn inside the moonbeam
  • It enters the moonbeam on its turn
  • The creature finds itself inside the beam on another character’s turn, no matter how it got there

The creature will not take damage in the following instances:

  • A creature moves from one part of the beam to another (obviously it had to take damage, but it won’t take more damage)
  • A creature is in the beam after having been inside the beam already on that turn.

Following these assumptions, our druid cast a moonbeam and did damage to two enemies, Bob and Frank. On their turn, they took damage again, killing Bob. Frank left the beam. On the druid’s next turn, she moved the beam in a circular motion, not exceeding 60 total feet of movement, and in the process the beam came in contact with a dozen enemies and ended on Frank. All dozen enemies received damage, as they were inside the beam at some point during the turn. On Frank’s next turn, he again took damage for the fourth time and died. On each of the druid’s turns, she moved the moonbeam around like this until the fight ended (it did not exceed the time limit and she made all concentration checks).

Is this a legitimate use of moonbeam? It seems awfully powerful for a level 2 spell.

[ Psychology ] Open Question : I’m aroused by watching videos, images, reading and writing about unconscious women, having seizures or other medical problems. Is it wrong?

I’m a woman, I’m 20 and I’m bisexual. Ever since I was around 12, I’ve been aroused by videos of women being knocked unconcious, CPR, seizures and other medical issues. I’ve even started writing about celebrities that I have crushes on going through these problems. Recently, when I read about actress Emilia Clarke having an aneurysm, I wrote about my favorite actress, Gal Gadot having an aneurysm in the middle of a premiere. I also go on deviant art and search for images of unconscious and passed out women. I don’t ever want to hurt anyone or do anything without their consent, I just enjoy this on videos and literature. Is this weird?

Setting up DNS – What did I do wrong?

I attempted to test a name server I am trying to set-up but received the wrong IP Address for my DNS and error message: Host openbsd.server not found: 3(NXDOMAIN).

I was under the impression that I configured my IP for my VMs through zone file names and etcs but obviously not.

I read a similar post, Bind9 : Host dns.lan not found: 3(NXDOMAIN) and they suggested to point my resolv.conf to start with the IP I set in zone. Which was already set in resolv.conf. Am I misinterpreting what he said?

Please help!

Search by modified date shows wrong results

I have a strange issue: if I search for documents that have not been modified for 2 years, I will still find documents that have been modified in 2014. Obviously, this is unexpected and unwanted.

I’ve used advanced search for this, resulting in the following query: Write<=1-1-2012

Any ideas what may cause this behavior? Thank you for your help!

Edit: I’m using sharepoint 2010 by the way…

Is there something wrong with my listing on the DP marketplace?

I'm not trying to sell you guys anything. Just trying to figure out what's going on with the listing in my signature. For over a month I haven't made a single sale. I just brought the price down to $ 1 to see if it's simply bad luck and I'm still not making any sales which seems odd. Before I was making a sale every few days at that price. If you guys can click on the link in my signature and confirm everything looks right I would appreciate it.

Both R and Python provide wrong arithmetic with very large numbers

Background:

I was watching a video about the “Diophantine equation” on YouTube (click here). tl;dr – someone finally found the 3 numbers x, y, and z, where:

x^3 + y^3 + z^3 = 33  

The three numbers are:

x = 8866128975287528

y = -8778405442862239

z = -2736111468807040

However, both R and Python provide the wrong answers when I sum the cubes of these three numbers, while Unix’s bc calculator provides the right answer.

R output:

> x <- 8866128975287528 > y <- -8778405442862239 > z <- -2736111468807040 > (x^3 + y^3 + z^3) [1] -2535301200456458802993406410752 

Python output (in Jupyter notebook):

x = 8866128975287528 y = -8778405442862239 z = -2736111468807040  x^3 + y^3 + z^3 27885068152614 

bc (unix calculator) output:

x = 8866128975287528 y = -8778405442862239 z = -2736111468807040  x^3 + y^3 + z^3 33 

I was just doing this out of boredom at work, but this has me worried. Only the Unix calculator provides the right answer, and both of the wrong answers provided by R and Python are different from each other! Does this mean they are unreliable if/when I might need to use large numbers in a data science project?

Any help would be appreciated. Thank you!

Both R and Python provide wrong arithmetic with very large numbers

Background:

I was watching a video about the “Diophantine equation” on YouTube (click here). tl;dr – someone finally found the 3 numbers x, y, and z, where:

x^3 + y^3 + z^3 = 33  

The three numbers are:

x = 8866128975287528

y = -8778405442862239

z = -2736111468807040

However, both R and Python provide the wrong answers when I sum the cubes of these three numbers, while Unix’s bc calculator provides the right answer.

R output:

> x <- 8866128975287528 > y <- -8778405442862239 > z <- -2736111468807040 > (x^3 + y^3 + z^3) [1] -2535301200456458802993406410752 

Python output (in Jupyter notebook):

x = 8866128975287528 y = -8778405442862239 z = -2736111468807040  x^3 + y^3 + z^3 27885068152614 

bc (unix calculator) output:

x = 8866128975287528 y = -8778405442862239 z = -2736111468807040  x^3 + y^3 + z^3 33 

I was just doing this out of boredom at work, but this has me worried. Only the Unix calculator provides the right answer, and both of the wrong answers provided by R and Python are different from each other! Does this mean they are unreliable if/when I might need to use large numbers in a data science project?

Any help would be appreciated. Thank you!