clear, clc, close all %function program does not need this however maind program does

%Making user built functions

%Notes:
%calling my main program "main.m" <= "main_for_sqrt"
%calling my function program "Function_formain.m" <= "Sqr_Root"
%Both the user built function and its main program must be in the same folder path

%initializations/or user input
x = 32;
y = input('Enter a value to take the square root of:\n=> ')
z = [x,y]
sqrt(z) %not to name user built function after functions that are built in
[sqr_root] = Sqr_Root(x,y) %Passing a value means to give input to your user-built function
                       %My function is called Sqr_Root
                       % Sqr_Root(x) = SQRT
[sqr_root3] = Sqr_Root2(z)
                       


