Given the following functions function a function 1 x y a

Given the following functions: function [a] = function 1 (x, y) a = squareroot (x)/(y^2) t| function [c] = function2 (b) c - b * sin (b);| function [f] - function3 (e) f = -e/(e^2 - 10); Write another function with one input, m, and one output, n, such that n = 2 Squareroot m + sin (m)/(-m/(m^2 - 10))^2 Using ONLY a function header and calls to the three functions above. You may create variables. You may not use any mathematical operations or built in functions.

Solution

clc;

clear all;

y=input(\'value of y\')

z=function2(y);

t=function3(y);

s=function1(z,t);

disp(s)

 Given the following functions: function [a] = function 1 (x, y) a = squareroot (x)/(y^2) t| function [c] = function2 (b) c - b * sin (b);| function [f] - funct

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site