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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Torsten
Torsten am 4 Jul. 2016

0 Stimmen

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Jul. 2016

Kommentiert:

am 4 Jul. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by