I have to partial differenciate this formel :
Skript : ----------------------------------------------------
a0 = 0.0008; %Kerbtiefe
W = 4 *10^-3; %Höhe der Probe
Si = 2*10^-2; %innere Abstand Belastungsrollen
So = 4*10^-2; %äussere Abstans Belastungsrollen
a1 = 3.8*10^-3; %Kerblänge
Pmax = 50; %maximale Kraft
B = 3*10^-3; %Breite der Probe
% Formfaktor Y
Y = ((3.08 + 5.00*(a0/W)+8.33*(a0/W)^2)*(1+0.007*((Si*So)/W^2)^0.5)*((a1/W-a0/W)/(1-a0/W)));
%Formula
K1c = (((3.08 + 5.00*(a0/W)+8.33*(a0/W)^2)*(1+0.007*((Si*So)/W^2)^0.5)*((a1/W-a0/W)/(1-a0/W)))*((Pmax*(So-Si))/(B*W^(3/2)))) / (1*10^6);
---------------------------------------------------------------------------------------------------------- So now, I need to differenciate this formula like : diff(K1c, a0) diff(K1c, W) etc.
But it doesn't work ... :(

1 commentaire

This is the message I become:
"Error using diff
Difference order N must be a positive integer scalar."

Connectez-vous pour commenter.

 Réponse acceptée

Torsten
Torsten le 4 Juil 2016

0 votes

You will have to declare K1c,a0 and W as "syms" :
Best wishes
Torsten.

1 commentaire

Lise
Lise le 4 Juil 2016
Many Thanks ... I already tried it.. but i'll do it again :)
best regards Lise

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by