AHSAN

40 Reputation

2 Badges

0 years, 315 days

MaplePrimes Activity


These are questions asked by AHSAN

I am trying to plot the contour plot between eta and x but getting complex value. can anyone help me to resolve it
 

restart

psi := -.5500000000*cosh(eta)/sinh(1.+.5000000000*x^2)-(0.5000000000e-1*(-9.+(10.*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.)))/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.)))))*sinh(eta)/cosh(1.+.5000000000*x^2)+(.5000000000*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.)))*eta/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.)))+(2.*(-.2750000000*exp(eta)-.2750000000*exp(-1.*eta)))*exp(1.+.5000000000*x^2)/(exp(x^2+2.)-1.)+.2032000000*eta/x^2+0.4000000000e-3*exp(-1.*eta)*(1125.*x^4*exp(2.*eta+1.+.5000000000*x^2)-508.*x^2*exp(2.*eta+1.+.5000000000*x^2)-1125.*x^4*exp(1.+.5000000000*x^2)+4500.*exp(eta)*eta*x^2+508.*x^2*exp(1.+.5000000000*x^2)-2032.*exp(eta)*eta)/(x^2*(x^2*exp(x^2+2.)+x^2+4.))

-.5500000000*cosh(eta)/sinh(1.+.5000000000*x^2)-0.5000000000e-1*(-9.+10.*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.))/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.))))*sinh(eta)/cosh(1.+.5000000000*x^2)+.5000000000*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.))*eta/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.)))+2.*(-.2750000000*exp(eta)-.2750000000*exp(-1.*eta))*exp(1.+.5000000000*x^2)/(exp(x^2+2.)-1.)+.2032000000*eta/x^2+0.4000000000e-3*exp(-1.*eta)*(1125.*x^4*exp(2.*eta+1.+.5000000000*x^2)-508.*x^2*exp(2.*eta+1.+.5000000000*x^2)-1125.*x^4*exp(1.+.5000000000*x^2)+4500.*exp(eta)*eta*x^2+508.*x^2*exp(1.+.5000000000*x^2)-2032.*exp(eta)*eta)/(x^2*(x^2*exp(x^2+2.)+x^2+4.))

(1)

solve(-.5500000000*cosh(eta)/sinh(1.+.5000000000*x^2)-(0.5000000000e-1*(-9.+(10.*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.)))/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.)))))*sinh(eta)/cosh(1.+.5000000000*x^2)+(.5000000000*(4.412800000*cosh(1.+.5000000000*x^2)*sinh(1.+.5000000000*x^2)-.9000000000*exp(2.*x^2+4.)*exp(-1.*x^2-2.)+1.800000000*exp(x^2+2.)*exp(-1.*x^2-2.)-.9000000000*exp(-1.*x^2-2.)))*eta/(exp(-1.*x^2-2.)*((1.+.5000000000*x^2)*exp(2.*x^2+4.)-2.-.5000000000*x^2+2.*exp(x^2+2.)-1.*exp(2.*x^2+4.)))+(2.*(-.2750000000*exp(eta)-.2750000000*exp(-1.*eta)))*exp(1.+.5000000000*x^2)/(exp(x^2+2.)-1.)+.2032000000*eta/x^2+0.4000000000e-3*exp(-1.*eta)*(1125.*x^4*exp(2.*eta+1.+.5000000000*x^2)-508.*x^2*exp(2.*eta+1.+.5000000000*x^2)-1125.*x^4*exp(1.+.5000000000*x^2)+4500.*exp(eta)*eta*x^2+508.*x^2*exp(1.+.5000000000*x^2)-2032.*exp(eta)*eta)/(x^2*(x^2*exp(x^2+2.)+x^2+4.)) = 0, eta)

(1250.*x^2*(exp(1.+.5000000000*x^2))^8+125.*x^2*(exp(1.+.5000000000*x^2))^6-254.*(exp(1.+.5000000000*x^2))^8+125.*x^2*exp(x^2+2.+2.*RootOf(-1250*x^2*(exp(1+(1/2)*x^2))^8-381*x^2*exp(3*x^2+_Z+6)+254*_Z*exp(3*x^2+_Z+6)-125*x^2*(exp(1+(1/2)*x^2))^6+254*(exp(1+(1/2)*x^2))^8-3375*x^2*exp(2*x^2+_Z+4)-762*exp(3*x^2+_Z+6)-125*x^2*exp(x^2+2*_Z+2)+2250*_Z*exp(2*x^2+_Z+4)-3004*(exp(1+(1/2)*x^2))^6+3756*x^2*exp(x^2+_Z+2)-6750*exp(2*x^2+_Z+4)-1250*x^2*(exp(_Z))^2-254*exp(x^2+2*_Z+2)-2504*_Z*exp(x^2+_Z+2)+7512*exp(x^2+_Z+2)-2496*(exp(_Z))^2))+3004.*(exp(1.+.5000000000*x^2))^6+1250.*x^2*(exp(RootOf(-1250*x^2*(exp(1+(1/2)*x^2))^8-381*x^2*exp(3*x^2+_Z+6)+254*_Z*exp(3*x^2+_Z+6)-125*x^2*(exp(1+(1/2)*x^2))^6+254*(exp(1+(1/2)*x^2))^8-3375*x^2*exp(2*x^2+_Z+4)-762*exp(3*x^2+_Z+6)-125*x^2*exp(x^2+2*_Z+2)+2250*_Z*exp(2*x^2+_Z+4)-3004*(exp(1+(1/2)*x^2))^6+3756*x^2*exp(x^2+_Z+2)-6750*exp(2*x^2+_Z+4)-1250*x^2*(exp(_Z))^2-254*exp(x^2+2*_Z+2)-2504*_Z*exp(x^2+_Z+2)+7512*exp(x^2+_Z+2)-2496*(exp(_Z))^2)))^2+254.*exp(x^2+2.+2.*RootOf(-1250*x^2*(exp(1+(1/2)*x^2))^8-381*x^2*exp(3*x^2+_Z+6)+254*_Z*exp(3*x^2+_Z+6)-125*x^2*(exp(1+(1/2)*x^2))^6+254*(exp(1+(1/2)*x^2))^8-3375*x^2*exp(2*x^2+_Z+4)-762*exp(3*x^2+_Z+6)-125*x^2*exp(x^2+2*_Z+2)+2250*_Z*exp(2*x^2+_Z+4)-3004*(exp(1+(1/2)*x^2))^6+3756*x^2*exp(x^2+_Z+2)-6750*exp(2*x^2+_Z+4)-1250*x^2*(exp(_Z))^2-254*exp(x^2+2*_Z+2)-2504*_Z*exp(x^2+_Z+2)+7512*exp(x^2+_Z+2)-2496*(exp(_Z))^2))+2496.*(exp(RootOf(-1250*x^2*(exp(1+(1/2)*x^2))^8-381*x^2*exp(3*x^2+_Z+6)+254*_Z*exp(3*x^2+_Z+6)-125*x^2*(exp(1+(1/2)*x^2))^6+254*(exp(1+(1/2)*x^2))^8-3375*x^2*exp(2*x^2+_Z+4)-762*exp(3*x^2+_Z+6)-125*x^2*exp(x^2+2*_Z+2)+2250*_Z*exp(2*x^2+_Z+4)-3004*(exp(1+(1/2)*x^2))^6+3756*x^2*exp(x^2+_Z+2)-6750*exp(2*x^2+_Z+4)-1250*x^2*(exp(_Z))^2-254*exp(x^2+2*_Z+2)-2504*_Z*exp(x^2+_Z+2)+7512*exp(x^2+_Z+2)-2496*(exp(_Z))^2)))^2)/((254.*(exp(1.+.5000000000*x^2))^6+2250.*(exp(1.+.5000000000*x^2))^4-2504.*(exp(1.+.5000000000*x^2))^2)*exp(RootOf(-1250*x^2*(exp(1+(1/2)*x^2))^8-381*x^2*exp(3*x^2+_Z+6)+254*_Z*exp(3*x^2+_Z+6)-125*x^2*(exp(1+(1/2)*x^2))^6+254*(exp(1+(1/2)*x^2))^8-3375*x^2*exp(2*x^2+_Z+4)-762*exp(3*x^2+_Z+6)-125*x^2*exp(x^2+2*_Z+2)+2250*_Z*exp(2*x^2+_Z+4)-3004*(exp(1+(1/2)*x^2))^6+3756*x^2*exp(x^2+_Z+2)-6750*exp(2*x^2+_Z+4)-1250*x^2*(exp(_Z))^2-254*exp(x^2+2*_Z+2)-2504*_Z*exp(x^2+_Z+2)+7512*exp(x^2+_Z+2)-2496*(exp(_Z))^2)))

(2)

with(plots)

contourplot(eta, x = -1 .. 1)

Error, (in plots:-contourplot) invalid input: `plots/contplot` uses a 3rd argument, r2 (of type {range, name = range}), which is missing

 

``


 

Download Help_on_countour_plot.mw

Hi, I want to solve first order ode by using a numerical technique called shooting method, can anyone help me to write an algorithm for the
 

restart

sigma := x^2+1

x^2+1

(1)

M := .1

.1

(2)

N := .5

.5

(3)

``

diff(P(x), x) = -(3*(M-1))/(2*sigma^2)-3*N/sigma^3

diff(P(x), x) = 1.350000000/(x^2+1)^2-1.5/(x^2+1)^3

(4)

``

NULL

ics := P(-infinity) = 0

P(-infinity) = 0

(5)

``


 

Download Shooting_Help.mw
 

restart

sigma := x^2+1

x^2+1

(1)

M := .1

.1

(2)

N := .5

.5

(3)

``

diff(P(x), x) = -(3*(M-1))/(2*sigma^2)-3*N/sigma^3

diff(P(x), x) = 1.350000000/(x^2+1)^2-1.5/(x^2+1)^3

(4)

``

NULL

ics := P(-infinity) = 0

P(-infinity) = 0

(5)

``


 

Download Shooting_Help.mw

 

shooting method. please find attachment

Hello admins. Can you please guide me on what's going wrong with my post? I just posted and now my post has been deleted or vanished?

Hello experts,I need your help to obtain the solution of the mentioned equation in the attached picture by using the newton method by supposing the random value of involved constant like D  etc. I need an algorithm for the newton method for the mentioned equation. note h=1+x^2/2

Hello everyone, I want to the expression for Q after putting T=0, pls help me to solve it.pls have the attachment
 

restart

``

(1/12)*6^(1/2)*((n-1)*(-15*k^2*n+15*k^2-30*k*n+30*k-15*n+15+(1920*n*q*sigma^6-1920*q*sigma^6+225*k^4*n^2+5760*Q*n*sigma^3-450*k^4*n+900*k^3*n^2-5760*Q*sigma^3+225*k^4-1800*k^3*n+1350*k^2*n^2+900*k^3-2700*k^2*n+900*k*n^2+1350*k^2-1800*k*n+225*n^2+900*k-450*n+225)^(1/2)))^(1/2)/(sigma^2*(n-1)), -(1/12)*6^(1/2)*((n-1)*(-15*k^2*n+15*k^2-30*k*n+30*k-15*n+15+(1920*n*q*sigma^6-1920*q*sigma^6+225*k^4*n^2+5760*Q*n*sigma^3-450*k^4*n+900*k^3*n^2-5760*Q*sigma^3+225*k^4-1800*k^3*n+1350*k^2*n^2+900*k^3-2700*k^2*n+900*k*n^2+1350*k^2-1800*k*n+225*n^2+900*k-450*n+225)^(1/2)))^(1/2)/(sigma^2*(n-1)), (1/12)*(-6*(n-1)*(15*k^2*n-15*k^2+30*k*n+(1920*n*q*sigma^6-1920*q*sigma^6+225*k^4*n^2+5760*Q*n*sigma^3-450*k^4*n+900*k^3*n^2-5760*Q*sigma^3+225*k^4-1800*k^3*n+1350*k^2*n^2+900*k^3-2700*k^2*n+900*k*n^2+1350*k^2-1800*k*n+225*n^2+900*k-450*n+225)^(1/2)-30*k+15*n-15))^(1/2)/(sigma^2*(n-1)), -(1/12)*(-6*(n-1)*(15*k^2*n-15*k^2+30*k*n+(1920*n*q*sigma^6-1920*q*sigma^6+225*k^4*n^2+5760*Q*n*sigma^3-450*k^4*n+900*k^3*n^2-5760*Q*sigma^3+225*k^4-1800*k^3*n+1350*k^2*n^2+900*k^3-2700*k^2*n+900*k*n^2+1350*k^2-1800*k*n+225*n^2+900*k-450*n+225)^(1/2)-30*k+15*n-15))^(1/2)/(sigma^2*(n-1))

(1)

``


 

Download Help_C.mw

2 3 4 5 6 7 Page 4 of 7