Question: Write a program consisting of a script (file name should be main.m) and a function (file name should be p2N.m) The script (main.m) does the

Write a program consisting of a script (file name should be main.m) and a function (file name should be p2N.m) The script (main.m) does the following: 1. Asks for a weight (that is, force) in pounds (lb) to be entered from the Matlab screen. 2. Calls a function p2N to convert this number to Newtons. Note that 1 [lb) = 4.448 (N). 3. Prints the result. Please upload your script (main.m) to Question 14, and upload your function (p2N.m) to the next Question 15 I will check whether or not your files work in Matlab. Upload Choose a File Question 15 O pts Upload your function (p2N.m) written in the above Question 14. Upload Choose a File
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
