leafgreen

40 Reputation

5 Badges

8 years, 197 days

MaplePrimes Activity


These are questions asked by leafgreen

This is what I did:

It seems like it's working. But is there a way to make the time spit out time smaller than seconds? And to automatically generate how much time it took rather than me looking at it and saying "well 43 seconds minus 41 seconds is 2 seconds"? I suspect there might be.

The rest of the sheet is pretty long. NN is a uniform distribution, which worked fine.

I suspect the issue is the Pi. How can I make it give me a histogram with a numerical solution instead?

I can't get Simpson's Rule to work properly in Maple for f(x)=cos(e^-x)

According to Wolfram Alpha, I should be getting something like -0.5. Clearly that's not what I'm getting. Please help?

> f := proc (x) options operator, arrow; cos(6*exp(-x)) end proc;
x -> cos(6 exp(-x))

S := evalf(int(f(x), x = 0 .. 1));
                         -0.4411788573
S1 := evalf((1/6)*(1+0)*(f(0)+4*f(1)+f(2)));
                         -0.1215440391
S2 := evalf((1/12)*(1+0)*(f(0)+4*f(1)+2*f(2)+4*f(3)+f(4)));
                          0.3979663797
S-S1;
                         -0.3196348182
100*(S-S1)/S;
                          72.45016685
S-S2;
                         -0.8391452370
100*(S-S2)/S;
                          190.2052247

 

I didn't even know the erf function existed until doing this problem. I looked up how to use it, so I tried plugging in the explicity form into Maple, hoping it'd solve it, but it just spit back out the erf function.

I am trying to get a number answer.  A decimal. Because this is calculating a probability. How do I get Maple to give me a number here? Thanks!

I'm trying to solve a Quantum Mechanics problem that requires me to normalize a wavefunction before I proceed. I have the book solutions to these problems (I'm just trying to practice solving using Maple) so I know what the answers are SUPPOSED to be. But I'm not getting the answers I expected when dumping it into Maple.

What I put into Maple:

What I was SUPPOSED to get:

I assume this is a radical simplication I need to make. But in highlighting the expression, right clicking, and trying the different simplification options, nothing worked.

Thanks!

1 2 3 4 5 Page 4 of 5