hello professinals suggest me matlab code

1 view (last 30 days)
rjnt Kaur
rjnt Kaur on 14 Apr 2013
help me how to write or send me matlab code for e*dp-kp1*kp2(p-1)=1....if this equation then display e and kp2 where dp,kp1 and p are previously calculated...if possible tell me how to make loop for such equation to get the vaue of e and kp2

Answers (1)

Youssef  Khmou
Youssef Khmou on 14 Apr 2013
Edited: Youssef Khmou on 14 Apr 2013
hi,
you have one equation and two unknowns !
Example :suppose you only have one unknown e :
dp=2.5;
kp1=cos(10);
p=5.69;
kp2=4; % kp2 i known
F=@(e) e*dp-kp1*kp2*(p-1)-1
y=fslove(F,0)

Community Treasure Hunt

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

Start Hunting!