MAT 581 HW 2(2.3.3)

MAT 581 HW 2(2.3.3) - Enter value of delta: 0.1 >>...

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

View Full Document Right Arrow Icon
P2.3.3 >> a=input('Enter value of a: '); Enter value of a: 3 >> L=input('Enter value of L: '); Enter value of L: -3 >> R=input('Enter value of R(R>L): '); Enter value of R(R>L): 2 >> delta=input('Enter value of delta: ');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Enter value of delta: 0.1 >> x=0; >> for n=50:-1:1 p=sum(((n*(n-1)/(a^n))<=(0.1*4)/((R-L)*exp(a*R)))); x=x+p; end >> n=50-x+1 n = 12...
View Full Document

This document was uploaded on 02/18/2011.

Ask a homework question - tutors are online