Question

Task 3: [25 marks] Consider the force applied at the end of the lever. If you apply a force to the lever close to the pivot psolve this using matlab please

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: If you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

clc%clears screen
clear all%clears history
close all%closes all files
format long
Fx=input('Enter x component for force: ');
Fy=input('Enter y component for force: ');
Fz=input('Enter z component for force: ');
rx=input('Enter x component for position: ');
ry=input('Enter y component for position: ');
rz=input('Enter z component for position: ');
F=[Fx,Fy,Fz];
r=[rx,ry,rz];
M0=norm(calculateMoment(r,F))


function M=calculateMoment(r,F)
M=cross(r,F);
end

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
solve this using matlab please Task 3: [25 marks] Consider the force applied at the end...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT