Question: Write a veript as a wet-defined function with the function name of ENGOSI, which enables to convert the pound (lb) to kilogram (kg) AND feet
Write a veript as a wet-defined function with the function name of "ENGOSI", which enables to convert the pound (lb) to kilogram (kg) AND feet (ft) to the meter (m) by receiving two inputs such as feet and meter. The conversion formules are given as ke 0.45 lb and m - 0.3018-ft . NOTE: you need to save this seript as "ENGSI.m" in the current working directory to be recognized as an executable function by Octave (or Matlab). Fill in the blanks given template to successfully develop a user-defined function ENGtOSI.m below. function tkom) = ENGLOBI Soutput (a kilogram, ka output2 meter, Sinput bpound. It mutat feet, -0.45-10: Et end To calculate kinetic energy of mass 2 kg and velocity = 1 ms by calling the user-defined function "ENCOS", you can this function by typing in the command windows >>m- ING 0512,3) kg 09 69144
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
