用mathematica计算点到线的距离

用mathematica计算点到线的距离
求点(1,1,4)到直线l:(x-3)/-1 =y/0=(z+1)/2的距离.麻烦给个完整代码,
pueearu 1年前 已收到1个回答 举报

-密码- 花朵

共回答了19个问题采纳率:89.5% 举报

f[t_] := (-t + 3 - 1)^2 + 1 + (2 t - 1 - 1)^2
Sqrt[f[t]/.Solve[f'[t]==0,t][[1]]

1年前

3
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.012 s. - webmaster@yulucn.com