Commit 8558ccb0 authored by Jennifer Modamio's avatar Jennifer Modamio
Browse files

new function

parent 3589f1c4
% Test file
addpath(genpath(pwd)) % add this folder and all subfolders to the path
c = addTwoNumbers_jenn(1, 1); % 1 + 1
d = multiplyTwoNumbers_jenn(c, c); % 2 * 2
% test my sqrt function
assert(sqrt_jenn(d) == sqrt(d))
function s = sqrt_jenn(a)
s = sqrt(a);
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment