Recent content by gaby287

  1. G

    Minimization of many-variable function

    Well I have a table of data (table1_np) and I want to use it to define a function, but the problem is, that I don't know if the definiton is correct, because what I need to do sum the elements of other table whit that function and after that minimize the result.
  2. G

    Minimization of many-variable function

    Hi, I'm learning python and I'm just trying to minimize a function of many variables, but I have some problems with my code. import numpy as np import scipy.optimize as op from scipy.optimize import minimize table1_np = np.genfromtxt('Data/tabla1.txt', usecols=0) #--------------------------...
  3. G

    Mathematica Plot 3D Mathematica - Graph Not Shown Complete Ubuntu 14.04

    Why if I create a Plot 3D using mathematica 8 the graph is not showed complete unless I hold the graph clicked with the mouse. I'm using Ubuntu 14.04 a weird fact is that in the same computer I have Windows 8 and If I run the program with Windows the graph is shown perfectly. May this question...
  4. G

    Solving Asymetric Probability Distribution w/68% Interval

    I have an asymetric probability distribution function (pdf), in this case we know that the concept of an error bar does not seem appropriate. Well I'm finding the shortest interval that enclosed the 68% of probability. My problem is that my pdf couldn't be integrated analytically and I'm using...
  5. G

    Mathematica Can You Integrate a Function of Two Variables in Mathematica?

    I Checked and I'm sure that it's all numerical.
  6. G

    Mathematica Can You Integrate a Function of Two Variables in Mathematica?

    I have my graphic and i know which is the region of interest but when i put this interest region i have the next problem: G[y_] :=NIntegrate[F[x, y], {x, 0.05, 25 }] Out: NIntegrate::inumr: The integrand 43.39404528 E^(1/2 (<<99>>+<<12>>)) has evaluated to non-numerical values for all sampling...
  7. G

    Mathematica Can You Integrate a Function of Two Variables in Mathematica?

    Tablev, Tablepc, Tableerr are tables of numbers.
  8. G

    Mathematica Can You Integrate a Function of Two Variables in Mathematica?

    Well, my function is something like: F[x_, y_] := Sum[(Tablev[[ i]] - Sqrt[(4 Pi*(43.040600502)*x* y^(3)/(Tablepc[[i ]]))*(-Tablepc[[i ]] / (Tablepc[[i ]] +y) + Log[((Tablepc[[ i ]] +y)/y)])])^2/(Tableerr[[ i]])^2, {i, 1, 61}] And I need minimize a function: G[y_] :=NIntegrate[F[x, y]...
  9. G

    Mathematica Can You Integrate a Function of Two Variables in Mathematica?

    I have a function of two variables F[x_,y_] and I Would like to integrate over one variable only and get a function G[x] for example and work with it. I want something like: G[x_]:=NIntegrate[F[x,y],{y,0,\infty}] But it doesn't work.
  10. G

    Mathematica Plot 3D in Mathematica: Getting Coordinates for Points

    I have a 3D Plot in Mathematica and I would like to get coordinates for points (all points) that were plotted.
  11. G

    What is causing the NMinimize error in my Mathematica calculation?

    Forget it¡ Something was wrong with my table. Thanks¡
  12. G

    What is causing the NMinimize error in my Mathematica calculation?

    They are tables of one column with numbers, like velocity, distance and errors.
  13. G

    What is causing the NMinimize error in my Mathematica calculation?

    What wrong with my calculation.the problem is from the attachment. It keeps saying: NMinimize::nnum: "The function value {10721.1} is not a number at {rs,x} = {1.91862,1.66351}. " My code: XDDO154[x_, rs_] := Sum[(DDO154vobs[[i]] - Sqrt[(4 Pi*(43.040600502)*x*...
Back
Top