Kitonum

14453 Reputation

24 Badges

11 years, 269 days

MaplePrimes Activity


These are answers submitted by Kitonum


This can be done in many ways. Here are 2 ones:

restart;
a1 := 5; b1 := 3; a2 := 3; b2 := 4; a3 := 3; b3 := 7;
eq1 := expand((y-2)^2/b1^2+(x-5)^2/a1^2 = 1):
eq2 := expand((y+2)^2/b2^2+(x+1)^2/a2^2 = 1):
Sys := {eq1, eq2};
Sol := [solve(Sys, explicit)]:
Sol1:=evalf(Sol);
L := remove(has, Sol1, I);

5

 

3

 

3

 

4

 

3

 

7

 

{(1/9)*y^2-(4/9)*y+13/9+(1/25)*x^2-(2/5)*x = 1, (1/16)*y^2+(1/4)*y+13/36+(1/9)*x^2+(2/9)*x = 1}

 

[{x = -5.904184041+4.979964478*I, y = 5.276003264+5.967296157*I}, {x = -5.904184041-4.979964478*I, y = 5.276003264-5.967296157*I}, {x = 0.15513671e-1, y = 1.763859011}, {x = 1.698810533, y = -.253169615}]

 

[{x = 0.15513671e-1, y = 1.763859011}, {x = 1.698810533, y = -.253169615}]

(1)

RealDomain:-solve(Sys);
evalf(%);

{x = RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 0.1551366944e-1), y = -(319/1800)*RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 0.1551366944e-1)^2-(161/180)*RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 0.1551366944e-1)+16/9}, {x = RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 1.698810530), y = -(319/1800)*RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 1.698810530)^2-(161/180)*RootOf(101761*_Z^4+1027180*_Z^3+4013700*_Z^2-10376000*_Z+160000, 1.698810530)+16/9}

 

{x = 0.1551366944e-1, y = 1.763859010}, {x = 1.698810530, y = -.253169614}

(2)

 


 

Download RealSol.mw

We can easily get the answer in a closed form if we use  rsolve  command. To remove the sign of the sum, it is necessary to split this sum into 3 terms:


 

restart;
u := unapply(simplify(value(rsolve({u(1) = 1, u(n+1) = a*u(n)+b[irem(n, 3)]}, u(n)))), n);
U := n->a^(n-1)+sum(a^(n-2-3*k), k = 0 .. floor((n-2)*(1/3)))*b[1]+sum(a^(n-3-3*k), k = 0 .. floor((n-3)*(1/3)))*b[2]+sum(a^(n-4-3*k), k = 0 .. floor((n-4)*(1/3)))*b[0];

 

proc (n) options operator, arrow; a^(n-1)+sum(a^(n-n0)*b[irem(n0-1, 3)], n0 = 2 .. n) end proc

 

proc (n) options operator, arrow; a^(n-1)+(sum(a^(n-2-3*k), k = 0 .. floor((1/3)*n-2/3)))*b[1]+(sum(a^(n-3-3*k), k = 0 .. floor((1/3)*n-1)))*b[2]+(sum(a^(n-4-3*k), k = 0 .. floor((1/3)*n-4/3)))*b[0] end proc

(1)

V:=normal~(U(n)); # The result in a closed form (without sum)

-(a^(n-4)*a^3*b[0]*(1/a^3)^(floor((1/3)*n+2/3)-1)+a^(n-2)*a^3*b[1]*(1/a^3)^floor((1/3)*n+1/3)+a^(n-3)*a^3*b[2]*(1/a^3)^floor((1/3)*n)-a^(n-4)*a^3*b[0]-a^(n-2)*a^3*b[1]-a^(n-3)*a^3*b[2]-a^(n-1)*a^3+a^(n-1))/(a^3-1)

(2)

# Examples:
seq(u(n), n = 1 .. 10);
seq(U(n), n = 1 .. 10);

eval(V,[a=5,n=100]);
 

1, a+b[1], a^2+a*b[1]+b[2], a^3+a^2*b[1]+a*b[2]+b[0], a^4+a^3*b[1]+a^2*b[2]+a*b[0]+b[1], a^5+a^4*b[1]+a^3*b[2]+a^2*b[0]+a*b[1]+b[2], a^6+a^5*b[1]+a^4*b[2]+a^3*b[0]+a^2*b[1]+a*b[2]+b[0], a^7+a^6*b[1]+a^5*b[2]+a^4*b[0]+a^3*b[1]+a^2*b[2]+a*b[0]+b[1], a^8+a^7*b[1]+a^6*b[2]+a^5*b[0]+a^4*b[1]+a^3*b[2]+a^2*b[0]+a*b[1]+b[2], a^9+a^8*b[1]+a^7*b[2]+a^6*b[0]+a^5*b[1]+a^4*b[2]+a^3*b[0]+a^2*b[1]+a*b[2]+b[0]

 

1, a+b[1], a^2+a*b[1]+b[2], a^3+a^2*b[1]+a*b[2]+b[0], a^4+(a^3+1)*b[1]+a^2*b[2]+a*b[0], a^5+(a^4+a)*b[1]+(a^3+1)*b[2]+a^2*b[0], a^6+(a^5+a^2)*b[1]+(a^4+a)*b[2]+(a^3+1)*b[0], a^7+(a^6+a^3+1)*b[1]+(a^5+a^2)*b[2]+(a^4+a)*b[0], a^8+(a^7+a^4+a)*b[1]+(a^6+a^3+1)*b[2]+(a^5+a^2)*b[0], a^9+(a^8+a^5+a^2)*b[1]+(a^7+a^4+a)*b[2]+(a^6+a^3+1)*b[0]

 

12723562987435674280834331698109455317309781211435854915649660172001*b[0]+318089074685891857020858292452736382932744530285896372891241504300025*b[1]+63617814937178371404171658490547276586548906057179274578248300860005*b[2]+1577721810442023610823457130565572459346412870218046009540557861328125

(3)

 


Edit.

Download seq1.mw

The output how OP wants:

P:=combinat:-partition(5):
for p in P[1..-2] do
lprint(sort(p,`>`)[]);
od:

  1, 1, 1, 1, 1
  2, 1, 1, 1
  2, 2, 1
  3, 1, 1
  3, 2
  4, 1
 

Edit.

Your system with the specified conditions has no solutions. Since the system does not contain derivatives with respect to  t , we can easily solve it with  dsolve  command, where arbitrary constants  _C1,...,_C4  are some functions of  t . But if we impose the condition you specified on the function  f4 , then as a result we get that the trigonometric function  cos(2*Pi*x)  is expressed as a linear combination exponential functions with real exponents, which is impossible.


 

restart;
sys:={diff(f1(x,t),x)=2*f3(x,t)+3*f1(x,t)-f2(x,t),
diff(f2(x,t),x)=-2*f4(x,t)-3.2*f1(x,t)+f2(x,t),
diff(f3(x,t),x)=-3*f3(x,t)+3.2*f4(x,t)-0.045*f1(x,t),
diff(f4(x,t),x)=f3(x,t)-f1(x,t)};

{diff(f1(x, t), x) = 2*f3(x, t)+3*f1(x, t)-f2(x, t), diff(f2(x, t), x) = -2*f4(x, t)-3.2*f1(x, t)+f2(x, t), diff(f3(x, t), x) = -3*f3(x, t)+3.2*f4(x, t)-0.45e-1*f1(x, t), diff(f4(x, t), x) = f3(x, t)-f1(x, t)}

(1)

sol:=dsolve(sys);

{f1(x, t) = Sum(exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4), f2(x, t) = -(34251/8420)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))-(100/421)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^2*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(105/421)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^3*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(2072/421)*(Sum(exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4)), f3(x, t) = -(50/421)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^2*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(105/842)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^3*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))-(25831/16840)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(809/842)*(Sum(exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4)), f4(x, t) = -(1631/842)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(5/842)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^2*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(15189/16840)*(Sum(exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))+(50/421)*(Sum(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)^3*exp(RootOf(100*_Z^4-100*_Z^3-1531*_Z^2+2051*_Z+33, index = _a)*x)*_C[_a], _a = 1 .. 4))}

(2)

Sol:=evalf(sol);

{((-0.5039281105e-1*exp(2.43231065*x)-3115115.174*exp(-3.01590117*x)+2.489875005*exp(1.008673509*x)-650180.6452*exp(-7.040475849*x)+0.2912437552e-1*exp(3.855947791*x)-0.2043682656e-3*exp(4.673215727*x)+0.2043682656e-3*exp(4.673215726*x)+0.5997212653e-3*exp(4.673215728*x)-0.3978527903e-4*exp(6.096852868*x)-.6188029874*exp(2.432310651*x)+0.7026909568e-5*exp(6.096852867*x)-262.6678838*exp(.648641048*x)-123.9419652*exp(.648641047*x)+1510020.191*exp(-3.015901169*x)+343721.8888*exp(-1.592264029*x))*cos(6.283185307*x)-0.5029634521e-6*exp(5.41640948*x-2.*t)-.8212273493*exp(-0.3180233972e-1*x-2.*t)+0.1729367661e-7*exp(6.840046622*x-2.*t)+0.1045624048e-9*exp(7.657314556*x-2.*t)+40.87934669*exp(-.391834802*x-2.*t)-498044.7000*exp(-4.056377018*x-2.*t)+529403.5743*exp(-4.056377019*x-2.*t)+127.5141799*exp(-.391834801*x-2.*t)-0.1978039762e-3*exp(3.632739878*x-2.*t)-282800.8806*exp(-2.632739878*x-2.*t)-0.2396238934e-1*exp(2.815471942*x-2.*t)-0.1308193918e-3*exp(3.632739877*x-2.*t)+.8077821732*exp(1.391834801*x-2.*t)+0.2747320054e-7*exp(6.840046621*x-2.*t)-0.1978039762e-3*exp(3.632739879*x-2.*t)+0.2160915781e-4*exp(5.056377019*x-2.*t)+0.3068397020e-9*exp(7.657314558*x-2.*t)-0.1676040004e-10*exp(9.080951698*x-2.*t)-0.1676040004e-10*exp(9.080951699*x-2.*t)+0.7191166739e-12*exp(10.50458884*x-2.*t)+0.1146142892e-5*exp(5.056377018*x-2.*t)-0.2116248203e-11*exp(9.080951697*x-2.*t)+.1618971255*exp(1.391834802*x-2.*t)-0.3166026206e-6*exp(5.416409481*x-2.*t)+.7725824844*exp(-0.3180233886e-1*x-2.*t))/((.7900900611*exp(1.407735971*x)-0.1906269683e-3*exp(3.648641048*x)+2.322460986*exp(-0.1590116986e-1*x)+1.000000000*exp(-4.040475849*x))*(-0.5462265782e-1*exp(5.44821182*x)+1.000000000*exp(4.02457468*x)-644649.2253)) = exp(1.407735971*x)*_C[1]+exp(3.648641048*x)*_C[2]+exp(-0.1590116986e-1*x)*_C[3]+exp(-4.040475849*x)*_C[4], -1185448773.*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+635718555.4*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-1865524157.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+0.3965969949e18*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) = -1.481810966*exp(1.407735971*x)*_C[1]-.3178592777*exp(3.648641048*x)*_C[2]+.9327620787*exp(-0.1590116986e-1*x)*_C[3]+.9914924873*exp(-4.040475849*x)*_C[4], -868798879.2*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+319508802.0*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-1970335983.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-0.1202440581e19*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) = -1.085998599*exp(1.407735971*x)*_C[1]-.159754401*exp(3.648641048*x)*_C[2]+.9851679917*exp(-0.1590116986e-1*x)*_C[3]-3.006101452*exp(-4.040475849*x)*_C[4], -463786536.5*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+1936299722.*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-9972474306.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+0.4113091756e18*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) = -.5797331706*exp(1.407735971*x)*_C[1]-.968149861*exp(3.648641048*x)*_C[2]+4.986237153*exp(-0.1590116986e-1*x)*_C[3]+1.028272939*exp(-4.040475849*x)*_C[4]}

(3)

f1, f2, f3, f4:=seq(unapply(rhs(Sol[i]),x,t), i=1..4);
exp(-3*x)*cos(2*Pi*x)=f4(x,0);
combine(%/exp(-3*x));
applyop(combine@expand,2,%); # This is impossible

proc (x, t) options operator, arrow; table( [( x, t ) = ((-0.5039281105e-1*exp(2.43231065*x)-3115115.174*exp(-3.01590117*x)+2.489875005*exp(1.008673509*x)-650180.6452*exp(-7.040475849*x)+0.2912437552e-1*exp(3.855947791*x)-0.2043682656e-3*exp(4.673215727*x)+0.2043682656e-3*exp(4.673215726*x)+0.5997212653e-3*exp(4.673215728*x)-0.3978527903e-4*exp(6.096852868*x)-.6188029874*exp(2.432310651*x)+0.7026909568e-5*exp(6.096852867*x)-262.6678838*exp(.648641048*x)-123.9419652*exp(.648641047*x)+1510020.191*exp(-3.015901169*x)+343721.8888*exp(-1.592264029*x))*cos(6.283185307*x)-0.5029634521e-6*exp(5.41640948*x-2.*t)-.8212273493*exp(-0.3180233972e-1*x-2.*t)+0.1729367661e-7*exp(6.840046622*x-2.*t)+0.1045624048e-9*exp(7.657314556*x-2.*t)+40.87934669*exp(-.391834802*x-2.*t)-498044.7000*exp(-4.056377018*x-2.*t)+529403.5743*exp(-4.056377019*x-2.*t)+127.5141799*exp(-.391834801*x-2.*t)-0.1978039762e-3*exp(3.632739878*x-2.*t)-282800.8806*exp(-2.632739878*x-2.*t)-0.2396238934e-1*exp(2.815471942*x-2.*t)-0.1308193918e-3*exp(3.632739877*x-2.*t)+.8077821732*exp(1.391834801*x-2.*t)+0.2747320054e-7*exp(6.840046621*x-2.*t)-0.1978039762e-3*exp(3.632739879*x-2.*t)+0.2160915781e-4*exp(5.056377019*x-2.*t)+0.3068397020e-9*exp(7.657314558*x-2.*t)-0.1676040004e-10*exp(9.080951698*x-2.*t)-0.1676040004e-10*exp(9.080951699*x-2.*t)+0.7191166739e-12*exp(10.50458884*x-2.*t)+0.1146142892e-5*exp(5.056377018*x-2.*t)-0.2116248203e-11*exp(9.080951697*x-2.*t)+.1618971255*exp(1.391834802*x-2.*t)-0.3166026206e-6*exp(5.416409481*x-2.*t)+.7725824844*exp(-0.3180233886e-1*x-2.*t))/((.7900900611*exp(1.407735971*x)-0.1906269683e-3*exp(3.648641048*x)+2.322460986*exp(-0.1590116986e-1*x)+1.000000000*exp(-4.040475849*x))*(-0.5462265782e-1*exp(5.44821182*x)+1.000000000*exp(4.02457468*x)-644649.2253)) ] ) exp(1.407735971*x)*_C[1]+exp(3.648641048*x)*_C[2]+exp(-0.1590116986e-1*x)*_C[3]+exp(-4.040475849*x)*_C[4] end proc, proc (x, t) options operator, arrow; table( [( x, t ) = -1185448773.*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+635718555.4*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-1865524157.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+0.3965969949e18*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) ] ) -1.481810966*exp(1.407735971*x)*_C[1]-.3178592777*exp(3.648641048*x)*_C[2]+.9327620787*exp(-0.1590116986e-1*x)*_C[3]+.9914924873*exp(-4.040475849*x)*_C[4] end proc, proc (x, t) options operator, arrow; table( [( x, t ) = -868798879.2*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+319508802.0*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-1970335983.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-0.1202440581e19*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) ] ) -1.085998599*exp(1.407735971*x)*_C[1]-.159754401*exp(3.648641048*x)*_C[2]+.9851679917*exp(-0.1590116986e-1*x)*_C[3]-3.006101452*exp(-4.040475849*x)*_C[4] end proc, proc (x, t) options operator, arrow; table( [( x, t ) = -463786536.5*exp(1.407735971*x)*(0.4079437690e28*exp(-2.*t)*exp(3.648641048*x)-0.3592430222e33*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.1995460577e39*exp(-4.040475849*x)*exp(-2.*t)-0.6050031418e39*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+1936299722.*exp(3.648641048*x)*(0.7607083925e28*exp(1.407735971*x)*exp(-2.*t)-0.1392660890e30*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.8977777638e35*exp(-4.040475849*x)*exp(-2.*t)-0.2721969634e36*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))-9972474306.*exp(-0.1590116986e-1*x)*(0.2282812571e33*exp(1.407735971*x)*exp(-2.*t)-0.4745799543e29*exp(-2.*t)*exp(3.648641048*x)+0.3727324735e39*exp(-4.040475849*x)*exp(-2.*t)-0.1130085682e40*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x))+0.4113091756e18*exp(-4.040475849*x)*(0.5964534079e30*exp(1.407735971*x)*exp(-2.*t)-0.1439077931e27*exp(-2.*t)*exp(3.648641048*x)+0.1753269547e31*exp(-0.1590116986e-1*x)*exp(-2.*t)+0.2288834567e31*exp(-3.*x)*cos(6.283185307*x))/(0.7172002320e48*exp(1.407735971*x)-0.1730406603e45*exp(3.648641048*x)+0.2108202140e49*exp(-0.1590116986e-1*x)+0.9077449111e48*exp(-4.040475849*x)) ] ) -.5797331706*exp(1.407735971*x)*_C[1]-.968149861*exp(3.648641048*x)*_C[2]+4.986237153*exp(-0.1590116986e-1*x)*_C[3]+1.028272939*exp(-4.040475849*x)*_C[4] end proc

 

exp(-3*x)*cos(2*Pi*x) = -.5797331706*exp(1.407735971*x)*_C[1]-.968149861*exp(3.648641048*x)*_C[2]+4.986237153*exp(-0.1590116986e-1*x)*_C[3]+1.028272939*exp(-4.040475849*x)*_C[4]

 

cos(2*Pi*x) = exp(3*x)*(-.5797331706*exp(1.407735971*x)*_C[1]-.968149861*exp(3.648641048*x)*_C[2]+4.986237153*exp(-0.1590116986e-1*x)*_C[3]+1.028272939*exp(-4.040475849*x)*_C[4])

 

cos(2*Pi*x) = -.5797331706*_C[1]*exp(4.407735971*x)-.968149861*_C[2]*exp(6.648641048*x)+4.986237153*_C[3]*exp(2.984098830*x)+1.028272939*_C[4]*exp(-1.040475849*x)

(4)

 


 

Download system.mw

I guess these two pictures (a) and (b)  are probably made in Matlab? Of course, you can do something similar in Maple. In the example below, the first plot from your file was made in Maple 2018.2:

g11:=plot3d(UU(x,t),x=0..xbas,t=0..tbas,color="LightBlue",title='NumericalSolution', titlefont=[times,18]):
xz:=plot3d([x,1,z],x=0..1,z=0..1,style=line,color=blue,thickness=0,grid=[3,6]):
tz:=plot3d([0,t,z],t=0..1,z=0..1,style=line,color=blue,thickness=0,grid=[3,6]):
xt:=plot3d([x,t,0],x=0..1,t=0..1,style=line,color=blue,thickness=0,grid=[3,3]):
display(g11,xz,tz,xt,lightmodel=none,tickmarks=[3,3,6],labels=[x,t,"UU(x,t)"],labeldirections=[horizontal,horizontal,vertical], labelfont=[times,14],axes=frame, view=[0..1,0..1,0..1]);

                      

 

Total there are 4 solutions:

solve({(13/4)*m-(7/4)*n-3 = 0,
-(17/2)*n*2^n +34*m= 0});
allvalues(%);
evalf(%);

            {m = -0.1262032999, n = -1.948663272}, {m = 2., n = 2.}, {m = 1.551915566-4.737602358*I, n =     1.167843193-8.798404378*I}, {m = 1.551915566+4.737602358*I, n = 1.167843193+8.798404378*I}
                                             

On the plot we see the 2 real solutions .

It is easy to verify that your curve is the circle in space obtained by rotating the vector  <5, 0, 0>  around the vector  <1, 1, 1> . So we get simpler parametric equations of this circle. The example shows its coloring in 3 colors:

restart;
with(Student[LinearAlgebra]):
A:=RotationMatrix(t, <1,1,1>);
Curve:=convert(A.<5,0,0>,list);  # Parametric equations of the circle
plots:-spacecurve(Curve, t=0..2*Pi, thickness=5, colorscheme=[red,blue,green,red], axes=normal);

           

 

 

Your tangents intersect on the red curve, sol  are its parametric equations (m is the parameter). Besides a static plot for  m=2 , I also made the animation of all this.
 

restart;
with(plots):
_EnvHorizontalName := 'x'; _EnvVerticalName := 'y';
para := -2*p*x+y^2 = 0;
para1 := -2*p1*x+y^2 = 0;
t := y-m*x-p/(2*m) = 0;
t1 := y+x/m+(1/2)*p1*m = 0;
sol := op(solve([t, t1], [x, y]));
eliminate({rhs(sol[1]), rhs(sol[2])}, m);

  p := 1; p1 := -2;
PARA := implicitplot(para, x = -3 .. 3, y = -3 .. 3, color = blue);
PARA1 := implicitplot(para1, x = -3 .. 3, y = -3 .. 3, color = green);
Tang := implicitplot(eval(t,m=2), x = -3 .. 3, y = -3 .. 3, color = brown);
Tang1 := implicitplot(eval(t1,m=2), x = -3 .. 3, y = -3 .. 3, color = aquamarine);

A:=display(eval([PARA, PARA1, Tang, Tang1],m=2), view = [-3 .. 3, -3 .. 3], scaling = constrained):
B:=plot([eval([x,y],sol)[], m=-3..4], color=red, discont):

display(A,B, size=[500,500], view=[-2.5..2.5,-2.5..2.5]);

A1:=display(PARA, PARA1, view = [-3 .. 3, -3 .. 3], scaling = constrained):

animate(implicitplot,[[t,t1],x = -3 .. 3, y = -3 .. 3, color = [brown,aquamarine]], m=-2.5..3.5, frames=90, background=display(B,A1), size=[500,500], view=[-2.5..2.5,-2.5..2.5]);

x

 

y

 

-2*p*x+y^2 = 0

 

-2*p1*x+y^2 = 0

 

y-m*x-(1/2)*p/m = 0

 

y+x/m+(1/2)*p1*m = 0

 

[x = -(1/2)*(m^2*p1+p)/(m^2+1), y = -(1/2)*(m^4*p1-p)/((m^2+1)*m)]

 

[{m = RootOf(_Z^2*p1+p)}, {p}]

 

1

 

-2

 

 

 

 

 

 

 

 


 

Download plots_and-animation.mw

For plotting, you can use Re, Im  and  abs  commands, which return respectively the real part, imaginary part and module of a complex number. Since you have a function of  2 variables, it is more natural to use  plot3d  command.


 

restart

with(plots, implicitplot)

ode := diff(y(w), w)+(sqrt((12*Pi)(y(w)^2+m^2*w^2))*y(w)+m^2*w)/y(w) = 0

diff(y(w), w)+(2*3^(1/2)*Pi(y(w)^2+m^2*w^2)^(1/2)*y(w)+m^2*w)/y(w) = 0

(1)

Ans := dsolve([ode])

[{ln(w)+(1/4)*ln(-m^4-2*m^2*y(w)^2/w^2-y(w)^4/w^4+12*y(w)^2*Pi/w^2)-(3/2)*arctan((1/4)*(-2*m^2-2*y(w)^2/w^2+12*Pi)/(3*Pi*m^2-9*Pi^2)^(1/2))*Pi/(3*Pi*m^2-9*Pi^2)^(1/2)+(1/4)*ln(2*Pi^(1/2)*3^(1/2)*y(w)/w-y(w)^2/w^2-m^2)-(3/2)*arctan((1/2)*(2*Pi^(1/2)*3^(1/2)-2*y(w)/w)/(m^2-3*Pi)^(1/2))/((3*m^2-9*Pi)/Pi)^(1/2)-(1/4)*ln(2*Pi^(1/2)*3^(1/2)*y(w)/w+m^2+y(w)^2/w^2)+(3/2)*arctan((1/2)*(2*y(w)/w+2*Pi^(1/2)*3^(1/2))/(m^2-3*Pi)^(1/2))/((3*m^2-9*Pi)/Pi)^(1/2)-_C1 = 0}]

(2)

P:=subs(y(w)=Y,eval(lhs(Ans[1, 1]), [_C1 = 0, m = 1]))

ln(w)+(1/4)*ln(-1-2*Y^2/w^2-Y^4/w^4+12*Y^2*Pi/w^2)-(3/2)*arctan((1/4)*(-2-2*Y^2/w^2+12*Pi)/(-9*Pi^2+3*Pi)^(1/2))*Pi/(-9*Pi^2+3*Pi)^(1/2)+(1/4)*ln(2*Pi^(1/2)*3^(1/2)*Y/w-Y^2/w^2-1)-(3/2)*arctan((1/2)*(2*Pi^(1/2)*3^(1/2)-2*Y/w)/(1-3*Pi)^(1/2))/((-9*Pi+3)/Pi)^(1/2)-(1/4)*ln(2*Pi^(1/2)*3^(1/2)*Y/w+1+Y^2/w^2)+(3/2)*arctan((1/2)*(2*Y/w+2*Pi^(1/2)*3^(1/2))/(1-3*Pi)^(1/2))/((-9*Pi+3)/Pi)^(1/2)

(3)

implicitplot(Re(P),w=-1..1,Y=-1..1, color=red, gridrefine=4);
implicitplot(Im(P),w=-1..1,Y=-1..1, color=blue, gridrefine=4);

 

 

plot3d(Re(P),w=-1..1,Y=-1..1, grid=[100,100]);
plot3d(Im(P),w=-1..1,Y=-1..1, grid=[100,100]);
plot3d(abs(P),w=-1..1,Y=-1..1, grid=[100,100]);

 

 

 

 


 

Download P2_new.mw

F:=int(sqrt(1+((k*Pi)/l*cos((Pi*x)/l))^2), x) assuming k>0,l>0 ;
F1:=simplify(%);
FR:=combine(eval(F1,x=b)-eval(F1,x=a)); # The final result

 

I can not confirm this behavior, in Maple 2018.2 everything works as expected. But you can radically solve the problem and not use this option at all. Just first find all the discontinuity points using  discont  or  fdiscont  commands, and then plot your function by cutting these points by small neighborhoods as in the example below.

restart;
discont(frac(x^2/3), x);
allvalues(%);
about(_Z1);
seq(plot(frac(x^2/3)*3, x=sqrt(3)*sqrt(n)+0.001..sqrt(3)*sqrt(n+1)-0.001), n=0..9):
plots:-display(%, scaling=constrained, size=[900,400]);

         

       

Or use the  map  command, which causes Maple to sequentially calculate the integral of each summand:

map(int, g, theta = 0 .. Pi)  assuming r>0;

                      


Axel's approach does not work in Maple 2018.

Edit. Of course, as acer showed in his comment, the  IntegrationTools:-Expand  command solves the problem.

I think this task is not too simple for a beginner, since there are many different objects in it. Here is a solution using  eval  and  diff  commands (the differentiation operator  D  does not seem to work for vector functions for Maple <=2018). A detailed commentary is provided for each line of code so that the beginner understands what it is doing. I gave different names for the parameters of the original curve  and the tangent line  s  (they are often confused but they are not related to each other). Ranges  t=0..1.4  and  s=-0.3..0.4  are chosen so that everything looks beautiful and informative.

restart;
f:=[t,t^2,t^3]; # The parametric equations of the original curve
t0:=1; # The value of the parameter at the tangency point
P:=eval(f,t=t0); # The coordinates of the tangency point  
df:=eval(diff(f,t), t=t0); # The coordinates of the tangent vector at t=t0
with(plots):
A:=spacecurve(f, t=0..1.4, color=red, thickness=2,labels=[x,y,z]): # The plot of the original curve
T:=map(p->s*p,df)+P; # The parametric equations of the tangent line 
B:=spacecurve(T, s=-0.3..0.4, color=blue, thickness=3): # The plot of the tangent line 
C:=pointplot3d(P,color=red,symbol=solidsphere,symbolsize=10): # The plot of the tangency point  
display(A,B,C, axes=normal, orientation=[-35,75], scaling=constrained); # All at once

          

 

 

Download ABC.mw

I significantly reduced the  stepsize  option, slightly increased  the ranges for  x  and  y , and removed unused lines of code.
 

with(DEtools)

with(plots)

with(LinearAlgebra)

p1 := phaseportrait([diff(x(t), t) = x(t)*(1-x(t)^2-y(t)^2)+y(t)*(y(t)^2+(x(t)^2-1)^2), diff(y(t), t) = y(t)*(1-x(t)^2-y(t)^2)-x(t)*(y(t)^2+(x(t)^2-1)^2)], [x(t), y(t)], t = 0 .. 50, [[x(0) = -3, y(0) = .5], [x(0) = 4, y(0) = 2]], x = -5 .. 5, y = -5 .. 5, dirgrid = [13, 13], stepsize = 0.1e-2, axes = BOXED); p1

 

p2 := pointplot([[1, 0], [-1, 0], [0, 0]], symbolsize = 20, symbol = solidcircle, color = black)

 

 

display(p1, p2, size = [500, 500])

 

solve({x*(-x^2-y^2+1)+y*(y^2+(x^2-1)^2), y*(-x^2-y^2+1)-x*(y^2+(x^2-1)^2)}, {x, y})

{x = 0, y = 0}, {x = RootOf(_Z^8-6*_Z^6+11*_Z^4-6*_Z^2+2), y = RootOf(_Z^8-6*_Z^6+11*_Z^4-6*_Z^2+2)^5-3*RootOf(_Z^8-6*_Z^6+11*_Z^4-6*_Z^2+2)^3+RootOf(_Z^8-6*_Z^6+11*_Z^4-6*_Z^2+2)}, {x = 1, y = 0}, {x = -1, y = 0}, {x = RootOf(_Z^2-2), y = RootOf(_Z^2+1)}

(1)

subs({x = .5, y = -.5}, x*(-x^2-y^2+1)+y*(y^2+(x^2-1)^2))

-.15625

(2)

sys := [x*(-x^2-y^2+1)+y*(y^2+(x^2-1)^2), y*(-x^2-y^2+1)-x*(y^2+(x^2-1)^2)]

[x*(-x^2-y^2+1)+y*(y^2+(x^2-1)^2), y*(-x^2-y^2+1)-x*(y^2+(x^2-1)^2)]

(3)

A := Jacobian(sys, [x, y])

Matrix(%id = 18446746360039790702)

(4)

latex(Matrix(2, 2, {(1, 1) = -2, (1, 2) = 0, (2, 1) = 0, (2, 2) = 0}))

 \left[ \begin {array}{cc} -2&0\\ \noalign{\medskip}0&0\end {array}
 \right]

 

A1 := subs([x = 1, y = 0], A)

Matrix(%id = 18446746360040191630)

(5)

A2 := subs([x = -1, y = 0], A)

Matrix(%id = 18446746360040194406)

(6)

A3 := subs([x = 0, y = 0], A)

Matrix(%id = 18446746360040197166)

(7)

r1, e1 := Eigenvectors(A1)

Vector[column](%id = 18446746360083677662), Matrix(%id = 18446746360083677782)

(8)

r2, e2 := Eigenvectors(A3)

Vector[column](%id = 18446746359967554606), Matrix(%id = 18446746359967554726)

(9)

NULL


 

Download as22a_new.mw

Here is the procedure that inserts a rational number with the lowest denominator (vv's assumption) between any 2 list items. If there are several such numbers, then the smallest number is inserted.

FindSamples:=proc(sourcesamples)
local N, P;
N:=nops(sourcesamples);
P:=proc(a,b)
local a1, b1, m1, n, m;
if a=b then error "Should be a<>b" fi;
a1,b1:=op(convert(sort([a,b],(x,y)->evalf(x)<evalf(y)),rational));
for n from 1 do
m1:=a1*n;
m:=`if`(type(m1,integer),m1+1,ceil(m1));
if is(m/n>a1) and is(m/n<b1) then return m/n fi;
od;
end proc:
[ceil(sourcesamples[1])-1, seq(op([sourcesamples[i],P(sourcesamples[i],sourcesamples[i+1])]), i=1..N-1),sourcesamples[N],floor(sourcesamples[N])+1];
end proc:

The usage for your example:
sourcesamples :=[evalf(-1-sqrt(7)), -2, 1, evalf(-1 + sqrt(7)), 2];
FindSamples(sourcesamples);
                    

The main role in this procedure is played by the subprocedure  P , which returns a rational number between   and   with the lowest denominator. Here is a specific example of the application of this procedure: Take 2 numbers 3.14 and 3.15 (these are approximations of the number  Pi  with 3 digits with a deficiency and an excess) and find the intermediate number with the lowest denominator:

P:=proc(a,b) 
local a1, b1, m1, n, m; 
if a=b then error "Should be a<>b" fi;
a1,b1:=op(convert(sort([a,b],(x,y)->evalf(x)<evalf(y)),rational)); 
for n from 1 do 
m1:=a1*n; 
m:=`if`(type(m1,integer),m1+1,ceil(m1)); 
if is(m/n>a1) and is(m/n<b1) then return m/n fi; 
od;
end proc:
P(3.14, 3.15);

                         
 
Edit. The procedure  P  has been improved. Now it works much faster.

4 5 6 7 8 9 10 Last Page 6 of 227