how to build this code on matlab?

1.(15m x cos30 +2m-4m)x(120kn x sin60)+(4m+sin30)x(120kn x cos60) *m=meter(unit)

2 Comments

What do you mean by build? Matlab is a scripting language so you don't build the codes you have written.
doc cos
doc sin
Units have to be kept track of yourself in calculations in terms of what the end result is and what units you expect your inputs to be.

Sign in to comment.

 Accepted Answer

madhan ravi
madhan ravi on 14 Nov 2018
Edited: madhan ravi on 14 Nov 2018
Edited
(15*cosd(30)+2-4)*(120*sind(60))+(4+sind(30))*(120*cosd(60))

5 Comments

thanks! but, i mean that's just a mathematical formula. How do you put it in Matlap language?
thats how you put it!
it's dosen't work:/ i'd like to know which is about point A moment but i dont know how to put in the matlab language stuff @.@
KakaoTalk_Photo_2018-11-14-17-37-05.jpeg
madhan ravi
madhan ravi on 14 Nov 2018
Edited: madhan ravi on 14 Nov 2018
Ah man , I'm weak in mechanics but the formula should work and thats how you write it in matlab, see edited answer
okay i appreciate it man:)

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!