what is the error ?

1 view (last 30 days)
shamsa khalid
shamsa khalid on 8 Mar 2021
Commented: shamsa khalid on 9 Mar 2021
  4 Comments
shamsa khalid
shamsa khalid on 9 Mar 2021
syms t
f=@(t)t^2
g=@(t)5*t-1
h=@(t)2*t^3-t
r=[f(t) g(t) h(t)]
dr = diff(r,t);
T=dr/norm(dr);
dT=diff(T,t);
k=norm(dT)/norm(dr);
k=subs(k,1);
disp('Curvature at t=1;'),disp(k)
disp('Or,approximately;'),disp(double(k))

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!