Creating row and column vector using force and work done formula
Objective: %A program to create a row and column vector clear all close all clc %Mass in kg m = [5 10 15 20 25]; %Acceleration in m/s^2 a = [2 4 6 8 10]; %Force calculated F = m.*a; %Distance in metre d = [1; 2; 3; 4; 5]; %Work done W = F.*d;