## 8 Badges

6 years, 208 days

## I guess i will have to double check my r...

Setting Digits:=20 is sufficient hopefully.

## Update, it seems that Maple 2018 may or...

Maple int(int(int ( ) ) ) versus int( ) . The latter evaluates the outermost bounds, the former does not.

## Good reason to upgrade....

@Kitonum Thanks.

I was able to integrate it with cylindrical and spherical

## Thanks, i changed the code...

@Fabio92 I changed the code so we don't evaluate a non-integer subscript. How is this?

medianmean:= proc(x) local a,b,c,d,g;
a:=sort(x);
b:=nops(x);
c:=nops(x)/2;
d:=(nops(x)+1)/2;
g:=add(a)/b;
if (b mod 2 = 0) then
evalf([a,(a[c]+a[c+1])/2,g]) ;
else
evalf([a,a[d],g]);
end if;
end proc:

Alternatively i can put the m inside the 'if then' body.

medianmean:= proc(x) local a,b,c,d,g,m;
a:=sort(x);
b:=nops(x);
c:=nops(x)/2;
d:=(nops(x)+1)/2;
g:=add(a)/b;
if (b mod 2 = 0) then
m:=  (a[c]+a[c+1])/2;
evalf([a,m,g]) ;
else
evalf([a,a[d],g]);
end if;
end proc:

## Thanks for the reply. C...

Thanks for the reply. So by setting y(x) = y in your subs statement, that tells maple to treat y(x) like a regular variable.

Question. When you say ' the explicit dependence of  y(x)  is unknown ' you mean maple doesn't know in what way y depends on x. For example y(x) could equal to x^2

Your help is very much appreciated.

## Thanks for the reply....

Hi. I am a little confused by your command. I would never have thought of using it.

soln:= {solve({seq(gr)}, {V[]})};

Interesting i never used [ ] after an expression. It looks like V[ ]  returns just the arguments of the list V.

seq(eval([H,HD], s), s in soln)

I'm not sure how the s works here, since there is no s in H or HD.

## That worked! Thanks....

@vv The fsolve did the trick, and the ceil adds a nice touch.

Maple just hangs if i enter

solve(1/(n+1)!* exp(0.1)=0.00001)

I think I see why, if we enter a smaller decimal. Maybe there is an option to assume it is an integer.

solve(1/(n+1)!=0.001)
16.02145932 + 36.80027439 I, 17.40551912 + 41.39124994 I,

16.48933165 + 38.34437280 I, 16.95055079 + 39.87440201 I,

18.29811880 + 44.38849109 I, 17.85459913 + 42.89570920 I,

18.73637598 + 45.87023709 I, 19.16964217 + 47.34152827 I,

19.59816570 + 48.80289315 I, 20.02217437 + 50.25481425 I,

20.85746941 + 53.13205768 I, 20.44187781 + 51.69773365 I,

21.26912810 + 54.55816094 I, 17.40551912 - 41.39124994 I,

16.02145932 - 36.80027439 I, 16.95055079 - 39.87440201 I,

16.48933165 - 38.34437280 I, 18.29811880 - 44.38849109 I,

17.85459913 - 42.89570920 I, 19.16964217 - 47.34152827 I,

-1.999000576, 5.174176717, 33.68275763 + 99.71946905 I

## Question...

Is it possible to translate your worksheets into English. They look very useful.

## Thanks!...

@acer Thanks! I will try that.

## Thanks...

@rlopez Thanks for replying. Interesting fact about the variation of parameters and integrals.

## Thanks for the reply. I am curious thoug...

@ecterrab Thanks for the reply. Interesting I didn't realize there was a singular solution y(x)=0 to the original ODE. So the initial condition ODE is not well defined.

I saw the problem when i was searching for maple's slope field command. Notice that they didn't use any special command to find the general solution. That's why I got curious. Did Maple change their dsolve?

http://www.dartmouth.edu/~math3f98/csc_archive/CSC2part1/CSC216.html

This link as well

http://www.dartmouth.edu/~math3f98/csc_archive/CSC2part1/CSC217.html

Also that fraction in your worksheet seems strange.

"64399999998466401481/4000000000000000000 "

It evaluates correctly when I use evalf, just seems a bit out of place to use so many digits for a fraction.

## Thanks!...

@vv Thanks, I will try the combine option. Maple has so many layers of options.

## Thanks!...

@rlopez I see. I will try that, thanks :D

## Alternative command...

@pagan Alternatively the command interface(rtablesize=infinity) always displays the rtable.

## Thankyou :)Will this code work too? It&#...

Thankyou :)
Will this code work too? It's a bit shorter.

orthocenter2.mw

Update

Nevermind my program throws an error with

orthocenter(-3,3,1,3,-3,0)

Your program works. So it looks like we can't condense it this way. Thanks again

 1 2 3 4 5 Page 2 of 5
﻿