vshyam

10 Reputation

5 Badges

11 years, 204 days

MaplePrimes Activity


These are questions asked by vshyam

Is there an in-built function in maple that gives the Nodes and weights for a Gauss-Hermite numerical integration procedure? I was not able to find one in my initial search.

 

Thank you!

Dear All, 

I am doing a simple optimization and I am getting an answer at the end. I want the output of the optimization problem to be assigned to a number instead of a list. Could anyone please suggest a resolution for this?

Following is the code

with(Statistics);

dummy1 := sqrt(1/(1+y*e));

R := RandomVariable(Normal(y*e*z/(1+y*e), dummy1));

 y := 1; b := .3; a := 1.25;  z := 1; e := .2:

with(Optimization):

I am trying to solve a problem using fsolve. Where the fsolve is inside the integral. I keep getting the following message. Here is what I am trying to do 

 

int(fsolve(int(k*r*PDF(R,r),r=-infinity..x)=0,x)*PDF(Q,z),z=-1..1);

where Q is a normal distribution and R is also normally distributed with its parameter conditional on Q. Following is the error message that I get.

"Error, (in fsolve) z is in the equation, and is not solved for"

Page 1 of 1