MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Find fx from gx and f(gx)
find f(1/2) with gx=1-x^2 and f(gx)=(x^4+x^2)/(1+x^2)
a=input(' a= ');
g=input(' gx= ');
f=input(' fx = ');
...?????? I don't know...please help me ! Thanks a lot!
here is a start
gx = input('gx = ','s');
fx = input('f(gx) = ','s');
a = input('f(n) = ','s'); % 1/2 in your example
n = solve([gx '-' a],'x')
% f(1/2) = ? for you to complete
Direct link to this answer: