Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Ahmad
Posts:
20
Registered:
10/5/06


Re: Minitab help!
Posted:
Nov 7, 2006 2:37 PM


Dear LWn; there is mistake, i try to do something now thank you for intreset LWn wrote: > OK, > it was a major mistake ;) this time. > I didn't read your question all the way. > > You can use an exec, the old type of Minitab macro. > > step 1) > Use notepad or any text editor and save > the following as c:\xyz.mtb > > let k1 = k1 + 1 > let c2(k1) = 2*c2(k11) + c1(k1) > > step 2) > MTB > let k1=1 > MTB > let k2=count(c1)1 > MTB > let c2(1)=c1(1) > MTB > exec 'c:\xyz.mtb' k2 > > hoping for the best / LWn > > > "Ahmad" <adahamsheh@gmail.com> skrev i meddelandet > news:1162883106.919292.192720@h48g2000cwc.googlegroups.com... > > Dear sir > > i can handle the furmola but the results is not sum > > your function results > > 2 2 > > 5 9 > > 4 14 > > 7 15 > > 3 17 > > > > Ahmad wrote: > >> Dear sir; > >> Thank you for help, but > >> My programming language is limited, I cant use macro or command, how i > >> can making calculation using calculator in minitab > >> LWn wrote: > >> > Ahmad > >> > > >> > Here is one way to do it > >> > > >> > Let C2(1) = C1(1) > >> > Let C99 = LAG(C1) > >> > Let C2 = RSUM(C1;C99;C99) > >> > Erase C99 > >> > > >> > /LWn > >> > > >> > "Ahmad" <adahamsheh@gmail.com> skrev i meddelandet > >> > news:1162874717.737449.291690@i42g2000cwa.googlegroups.com... > >> > > Dear all, > >> > > I have a small problem with Minitab, i want to use function depends > >> > > in > >> > > the previous result > >> > > see my example > >> > > > >> > > > >> > > c1 c2 > >> > > 2.0 2.0 > >> > > 5.0 9.0 > >> > > 4.0 22.0 > >> > > 7.0 51.0 > >> > > 3.0 105.0 > >> > > > >> > > data input c1 > >> > > data output c2 > >> > > calculating method > >> > > the first row in c2 must equal the first row in c1 > >> > > the equation for the second, 3, 4, 5, ....... > >> > > c2 (row2)=2*c2(row1)+c1(row2) > >> > > c2 (row3)=2*c2(row2)+c1(row3) > >> > > c2 (row4)=2*c2(row3)+c1(row4) > >> > > . > >> > > . > >> > > . > >> > > . > >> > > thank you > >> > > > >



