lastcomm

37 Reputation

2 Badges

19 years, 77 days

MaplePrimes Activity


These are questions asked by lastcomm

Good morning and evening! I got a procedure f1, which takes two numbers and outputs one. Just a numeric computation. NLPSolve(f1, -1..2, -2..2); Warning, no iterations performed as initial point satisfies first-order conditions but plotting a 3D graph shows me a good, smooth minimum. Setting starting point does not help. It seems that NLPSolve thinks that gradient is equal to zero, but why?
I have to create a n-dimensional interpolation to get function to use it in a numerically solved differential equation. T:=(x,y)->ArrayInterpolation(Ranges,Img,[[x],[y]],method=linear)[1][1]: T(3.3,4.1); 1.30999999999999983 int(T(3.3,x),x=0.0..1); Error, (in CurveFitting:-ArrayInterpolation) invalid input: coordinates of xvalues must be of type numeric
Page 1 of 1