How to plot this complicated function 2-D
5 views (last 30 days)
Show older comments
Rouben Khosrovian
on 28 Mar 2019
Answered: Rouben Khosrovian
on 4 Apr 2019
Hello everyone.
Im trying yo plot a function which has only 1 variable but it is a complicated function. i know hot to plot y=sin(x) or y=x but for some reason i failed this time . please help.
cp(x) is funtion i want to plot.
x=((23.5*pi*50)/(52.7*V));
y=1/((1/x)-0.035);
cp(x)=0.9*(0.5176*((116/y)-5)*exp(21/y)+(0.0068*x))
but there is 1 more problem.
when i calculate cp(x) in the way described bellow, and plot it in geogebra (I know its not professional ) and also plot cp(x) original funtion by replacing x and y in cp, I get 2 different resaults which are really different. They have same shape though.
syms x;
y=1/((1/x)-0.035);
cp(x)=0.9*(0.5176*((116/y)-5)*exp(21/y)+(0.0068*x));
cp(x)
for this reason I dont want to first calculate cp(x) and then plot it. but if there is no other way then let's do it.
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Author Block Masks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!