{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

untitled2 - y=10(x-5 1 elseif-1<=x<5 y=2 cos(pi*x end...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%%problem 2 x= input ('number for x '); if x<-1 y= exp(x+1); elseif x>=5;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y=10*(x-5)+1; elseif -1<=x<5; y=2+cos(pi*x); end y...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online