{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

comparison - else fprintf'x and y are not equal x-y =%e\n...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 function comparison theta = pi/6 x = tan(theta) y = sin(theta)/cos(theta) if x == y fprintf('x and y are equal\n')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: else fprintf('x and y are not equal: x-y = %e\n', x-y) end...
View Full Document

{[ snackBarMessage ]}