Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

my title says pretty much everything heres what I'm entering. NumericQ returns a false value but it was true before. Im loosing my patience because this is so infuriating and makes no sense.

Manipulate[
 1.054*10^-34/(2 .063*9.11*10^-31) (NIntegrate[
     kz^2 kp (kz^2 (Vz) + kp^2 (Vp))^(-1/
         2)*(1/(kz^2 + 
          kp^2))*((Exp[-1/
              8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) - 
                  kz Vd + 1.88*10^11)^2/(kz^2 + kp^2))] + 
           Exp[-1/8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) +
                   kz Vd + 1.88*10^11)^2/(kz^2 + kp^2))]) (Coth[
            1/2] + 1) + (Exp[-1/
              8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) - 
                  kz Vd - 1.88*10^11)^2/(kz^2 + kp^2))] + 
           Exp[-1/8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) +
                   kz Vd - 1.88*10^11)^2/(kz^2 + kp^2))]) (Coth[
            1/2] - 1)), {kp, 0, 2792.530}, {kz, 0, 
      2792.530}])/(NIntegrate[
     kz^2 kp (kz^2 (Vz) + kp^2 (Vp))^(-3/
         2)*(1/(kz^2 + 
          kp^2))*(((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) - 
              kz Vd + 
              1.88*10^11) Exp[-1/
               8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) - 
                   kz Vd + 1.88*10^11)^2/(kz^2 + 
                  kp^2))] + (1.054*10^-34 (kp^2 + 
                  kz^2)/(2 .063*9.11*10^-31) + kz Vd + 
              1.88*10^11) Exp[-1/

                8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) + 
                   kz Vd + 1.88*10^11)^2/(kz^2 + kp^2))]) (Coth[
            1/2] + 1) + ((1.054*10^-34 (kp^2 + 
                  kz^2)/(2 .063*9.11*10^-31) - kz Vd - 
              1.88*10^11) Exp[-1/
               8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) - 
                   kz Vd - 1.88*10^11)^2/(kz^2 + 
                  kp^2))] + (1.054*10^-34 (kp^2 + 
                  kz^2)/(2 .063*9.11*10^-31) + kz Vd - 
              1.88*10^11) Exp[-1/
               8 ((1.054*10^-34 (kp^2 + kz^2)/(2 .063*9.11*10^-31) + 
                   kz Vd - 1.88*10^11)^2/(kz^2 + kp^2))]) (Coth[
            1/2] - 1)), {kp, 0, 2792.530}, {kz, 0, 
      2792.530}]), {Vz, .00360, .0750}, {Vp, .00360, .0750}, {Vd, 0, 
  4}]

Also I should add my computer died before it stopped working but I did save. This really makes no sense I cannot understand why it was working fine and now it isn't. I saved it also after I knew it was working well.

share|improve this question
2  
Have you tried restarting the kernel ? –  Sektor Apr 20 at 17:39
    
what does that mean? –  James Apr 20 at 17:43
1  
Exiting and re-running Mathematica and then re-evaluating the expressions. –  Sektor Apr 20 at 17:56
1  
I get Underflow. Try increasing the WorkingPrecision. See also SetPrecision or Quiet to control the message about the integrand not having enough precision. I had to set the Manipulate option SynchronousUpdating -> False, too, because the integrals took too long. –  Michael E2 Apr 20 at 18:00
    
This is extremely strange, yesterday all i did was put in the integral and it worked..... with the expected values of the experiment too! Its still running, I did put in synchronous updating. where should i place synchronous updating, perhaps its in the wrong place? –  James Apr 20 at 20:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.