edgar

669 Reputation

11 Badges

19 years, 282 days

MaplePrimes Activity


These are answers submitted by edgar

 


|\^/| Maple 15 (APPLE UNIVERSAL OSX)
._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2011
\ MAPLE / All rights reserved. Maple is a trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> (a+3)^17;
17
(a + 3)

> expand(%);
17 16 15 14 13 12 11
a + 51 a + 1224 a + 18360 a + 192780 a + 1503684 a + 9022104 a

10 9 8 7
+ 42532776 a + 159497910 a + 478493730 a + 1148384952 a

6 5 4 3
+ 2192371272 a + 3288556908 a + 3794488740 a + 3252418920 a

2
+ 1951451352 a + 731794257 a + 129140163

>
 

---

G A Edgar

see post here ... http://www.mapleprimes.com/posts/89752-JavaViewLib 

---

G A Edgar

Assumed variables get new names, using the old name beta doesn't change the new name I guess.

 

work-around:

assign(beta,1);

---

G A Edgar

Writing e^x for the exponential function is your error.  It is very common among beginners with Maple, and still is found occasionally among experienced users of Maple.

---

G A Edgar

Instead of all those "assumes" I prefer to do it more directly...

morley.mw

---

G A Edgar

p := x^4-4*x^3+2*x^2+3*x;
   p := x^4-4*x^3+2*x^2+3*x


solve(p,x);
   0, 3, 1/2+(1/2)*5^(1/2), 1/2-(1/2)*5^(1/2)


%[3];
   1/2+(1/2)*5^(1/2)

---

G A Edgar

Did you mean matrices as opposed to Matrices? As I recall, you can use evalm(A+B) if you don't want to look up the syntax --- G A Edgar
To see what is going on, start with something simpler and look at the answers. Say: k := n+p; j:=subs({p=mu/n},k); m1:=subs({n=-((sigma)^(2))/(p*(p-1))},j); v :=subs({n=-((sigma)^(2))/(p*(p-1))},k); m2 := subs({p=mu/n},v); --- G A Edgar
In your code, if there is a string 7777 then it counts as only one triple. That is one way to count them... But does it work right for 777555 or does it miss the second triple? --- G A Edgar
What he said. Look up "chain rule" in your calculus text. The required conditions should be spelled out. --- G A Edgar
Formulas: f := sqrt(x) and g := -sqrt(x+4)-18 What next? Can you plot just one? --- G A Edgar
For example (x-3)/(x-6)/(x+2) --- G A Edgar
This bug occurs in the MacOS version of Maple 13.02, too. (Or at least some bug: the dialog flashed on the screen too fast to read, so maybe it wasn't losing connection to kernel.) --- G A Edgar
The general solution of the Bessel equation is f(x) = A*BesselJ(v,x)+B*BesselY(v,x) where A and B are arbitrary constants. So perhaps the particular f you need has some additional information to let you determine A and B for your case. For example, if you know that f is continuous at 0, then B=0. (I assumed v is an integer.) --- G A Edgar
Perhaps with lprint() ? Of course it depends on what you want to get. --- G A Edgar
1 2 3 4 5 6 7 Page 2 of 9