How to solve this equation which contains the complementary error function?
Mostra commenti meno recenti
% clear all;clc
format long;
syms G d t h a N positive;
G=((1-2*d*t/h^2)*exp(d*t/h^2)*erfc(sqrt(d*t/h^2))+2*sqrt(t*d/(pi*h^2)))/(1+4*d*t/a^2);
Gd=diff(G,d,1);
Gdtao=diff(Gd,t,1);
tGdtao=solve(Gdtao,t);
The code is showed above and its run result is "Warning: Explicit solution could not be found. > In solve at 169" The vesion of Matlab is R2012b.
The following is the equation:
(4*(erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1) - (2*d^(1/2)*t^(1/2))/(pi^(1/2)*h)))/(a^2*((4*d*t)/a^2 + 1)^2) - ((2*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2))/h^2 + (erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1))/h^2 - 1/(2*pi^(1/2)*d^(1/2)*h*t^(1/2)) - (4*d^(1/2)*t^(1/2))/(pi^(1/2)*h^3) + (4*d*t*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2))/h^4 - ((2*d*t)/h^2 - 1)/(2*pi^(1/2)*d^(1/2)*h*t^(1/2)) - (d^(1/2)*t^(1/2)*((2*d*t)/h^2 - 1))/(pi^(1/2)*h^3) + (d*t*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1))/h^4)/((4*d*t)/a^2 + 1) + (4*t*((2*d*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2))/h^2 - d^(1/2)/(pi^(1/2)*h*t^(1/2)) + (d*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1))/h^2 - (d^(1/2)*((2*d*t)/h^2 - 1))/(pi^(1/2)*h*t^(1/2))))/(a^2*((4*d*t)/a^2 + 1)^2) + (4*d*((2*t*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2))/h^2 - t^(1/2)/(pi^(1/2)*d^(1/2)*h) + (t*erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1))/h^2 - (t^(1/2)*((2*d*t)/h^2 - 1))/(pi^(1/2)*d^(1/2)*h)))/(a^2*((4*d*t)/a^2 + 1)^2) - (32*d*t*(erfc((d^(1/2)*t^(1/2))/h)*exp((d*t)/h^2)*((2*d*t)/h^2 - 1) - (2*d^(1/2)*t^(1/2))/(pi^(1/2)*h)))/(a^4*((4*d*t)/a^2 + 1)^3)=0
I also tried to solve it by Maple 16 and failed, too. Looking forward to any kind help. Thanks!
Risposta accettata
Più risposte (1)
Walter Roberson
il 18 Ago 2013
0 voti
I don't think there is any analytic closed-form solution.
When I experiment with some [a, d, h] values, I get quite different curve shapes depending on what I choose.
even just solving p = erfc(q) for q does not appear to have a closed form solution.
1 Commento
Henry Liu
il 19 Ago 2013
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!