USE MATLAB
7. Friction The net horizontal force Frequired to get a stationary Coefficient of Static Friction u block on a rough horizontal surface to move is: Option # Materials u Frumg 1 Rubber/Concrete: 0.70 where (Greek "mu") is the coefficient of static 2 Metal/Wood 0.40 friction, mis mass, and g is the acceleration of gravity. 3 0.35 a. Write an m-file that computes and prints the force F Wood Wood (in newtons, N). 4 Metal/Metal 0.20 The file should ask the user for: • the mass of the object (in kg). Use the switch command for selecting u "mu"). • the materials that the block and rough surface Make sure the user knows how to use the program. are made of (to determine the coefficient of friction) - see the table at right for the FOUR options that you have b. Show your electronic file to the instructor for testing. Gravity g can be defined in the m-file c. Print your completed m-file. (g = 9.81 m/s), or you can include g as a user input. Note that the user does not need to enter u; only the material pair option (1, 2, 3 or 4). End.
USE MATLAB
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
USE MATLAB
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!