{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: change it was concluded that the function had converged. The first line entered in the command window was the function as an inline function followed by hold on. Then “n” was set to zero and the two repeated lines of code were entered. Below are the results in a compressed version to save paper. 30.1.1) >> f = inline('sin(t)*cos(x)','t','x'); >> hold on >> n = 0; >> n = n+10; >> [T Y]=myeuler(f,[0,12],.1,n); >> n = n+10; >> [T Y]=myeuler(f,[0,12],.1,...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online