Function is not taking the knowing values, it is giving result symbolic

1 view (last 30 days)
Hello everyone.I have a problem with symbolic presentation. As u see below, i found values of d1 , d2 , d3, d4 by running codes. .d1=(1/125)*Pi^4 ,d2=-(2/5)*Pi^2 , d3=15 , dv=0.00005200000000.But when i want to calculate of d1*Y+d2*D2Y+d3*D4Y-dp=0 (d1, d2, d3, dv is known) , it is not taking the values of d1,d2,d3,dv. It is giving me symbolic solution. I need something depends on just y. Because my Y function depends on y. Where i am doing, may u please help me. Thanks for helping.
a =10; b =10; h =0.1; E =210*10^9; v =0.3; q=100; Dp = E*h^3/(12*(1-v^2)) %%%%------- syms x X1 = 1-cos(2*pi*x/a) p=X1
dXdxx=diff(p,x,2) dXdxxxx=diff(p,x,4) d1= int(p*dXdxxxx,0,a) d2= 2*(int(p*dXdxx,0,a)) d3=int(p*p,0,a) dv = int(p*(q/Dp),0,a)
syms y
sol=dsolve('d1*Y+d2*D2Y+d3*D4Y-dp=0','Y(0)=0','DY(0)=0','Y(10)=0','DY(10)=0','y)
  1 Comment
Ilke
Ilke on 11 Mar 2014
sol=1/d1*dp+1/2*(-4*d3^2*d1*exp(5/d3*2^(1/2)*(-d3*(d2+(d2^2-4*d3*d1)^(1/2)))^(1/2))+4*d3^2*exp(-5/d3*2^(1/2)*(d3*(-d2+(d2^2-4*d3*d1)^(1/2)))... it is a really long. But it is also including y terms. I need to see the values d1 , d2 , d3 , dp in sol equation.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!