Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

super busy sad with annoying shizzle like matlab -_-...eg (what im doing at this very second)

%  x^2*sin(x)
clear all

m=input('Enter the arbitary constant, m:  ');
N=input('Enter the number of iterations, N:  ');
fun=input('Enter your fucntion, f(x)=  ','s');
fprintf('\n');
f=inline(fun,'x');

z(1)=m*((2*(-1)/(N-1))-1);
x(1)=asin(z(1));
for j=2:(N+2)
   
    a=j-1;
    %a=j;
z(j) = m*((2*(a-1)/(N-1))-1);
x(j) = asin(z(j));
end

delz=z(j)-z(j-1);

for j=2:(N+1)
    %z(j) = m*((2*(j-1)/(N-1))-1);
    %x(j) = asin(z(j));
   
    %f1(j)=f(x(j+1));
    %f2(j)=f(x(j-1));
    %f3(j)=f(x(j+2));
    %f4(j)=f(x(j));
    %f5(j)=f(x(j-2));
    gdot(j)=cos(x(j));
   
    if (j>2) || (j<(N+1))
        f2(j)=f(x(j-1));
        f1(j)=f(x(j+1));
        dfdz(j) = (f1(j)-f2(j))/(2*delz);
        dfdx(j)=(gdot(j))*(dfdz(j));
        end
       
 
        if j == 2
        f1(j)=f(x(j+1));
        f3(j)=f(x(j+2));
        f4(j)=f(x(j));
        dfdz(j)=(4*f1(j)-f3(j)-3*f4(j))/(2*delz);
        dfdx(j)=(gdot(j))*(dfdz(j));
        end
       
       
       if j == (N+1)
        f1(j)=real(f(x(j-1)));
        f5(j)=f(x(j-2));
        f4(j)=f(x(j));
        dfdz(j)=(f5(j)-4*f1(j)+3*f4(j))/(2*delz);
        dfdx(j)=(gdot(j))*(dfdz(j));
        end
end


for i=1:N
    y(i)=x(i+1);
    df(i)=dfdx(i+1);
end

plot(y,df);

table(:,1)=1:N;
table(:,2)=y;
table(:,3)=df;
fprintf('\tj\t\t x(j)\t\t df/dx\t\t \n');
for i=1:N       %shows the values of the column one row at a time
fprintf('%6.2f\t\t %6.2f\t\t %6.2f\t\n',table(i,1),table(i,2),table(i,3));
end;

Pixies My pokemon brings all the nerds to the yard, and they're like you wanna trade cards?

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

that is all gibberish pixies. give up wink

and alena sorry i didn't reply to your message about the info. been busy last few days. and as for me attacking, i will be trying to prove myself this round smile so watch out wink

728 (edited by [DoN] Barbossa [FbO] 06-Mar-2009 12:39:07)

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Maxatron, where the hell have you been[this round]?

Leader of 9048 in the first ever Imperial Challenge
18.Fam with the most honour: Winner: 9048

2003-12-20 Graduated from Virgo with flying colors!

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Pixies the answer to that problem is 2.

Destiny is only for those too own to make their fate weak.

~ Geese

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Ty for the PvC, very good one.

I survived the Test? of 12-4-03, anyone remember that?

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

barbo he's in 17 tongue

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

and nice one alena smile

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

nice pvc wink

And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers.
And you will know my name is the Lord when I lay my vengeance upon thee.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

any one has news about awexome?

retired.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

i finished that above script along with 5/6 others :0! Nice pvc btw. Real ass licking of 16 though tongue!

Pixies My pokemon brings all the nerds to the yard, and they're like you wanna trade cards?

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

march 7, my birthday! 30 years! big_smile yay! lol

retired.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Eh, AweXome got on today. He read some pvc. He is very pleased at the concern and support he is receiving from the IC community.

Please understand, I do not know the details of his illness, and I wont ask, and he does not want it public in any case. That is a private matter, not subject to public posting, in any event.

My fam misses him, the IC community misses him. I think we all wish him the best possible outcome. He was our main strat and tact.  He did A.S.S. He was our ldr. It is damned hard to try to fill his position, but I will try.

I am posting his last msg to me. But please do not accuse me of pride or hubris.

75% of all players in IC have hemorroids,

the other 25% are perfect assholes.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Week 24, 6
youre a good man sir -- give my thanks to those that have given their best in uni news -- i was able to read a page or two today

things arent going to well on my end here but spirits are high especially with the nicer weather

smile

Signed, Give it to me of Horny AweXomE (1716)

75% of all players in IC have hemorroids,

the other 25% are perfect assholes.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Get well soon Awexome, nicer weather in the UK? I doubt it tongue

Also Happy Birthday link! With luck, you'll still be here for your 40th wink

Destiny is only for those too own to make their fate weak.

~ Geese

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

link you old man tongue

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

happy birthday bud x

Pixies My pokemon brings all the nerds to the yard, and they're like you wanna trade cards?

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

ah ricking. your still the grandad of IC wink

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

big_smile thanks all

retired.

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

happy birthday wink

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

Happy Birthday linky poo big_smile

~ Cloud

"I Cannot Awake From This Nightmare As Long As You Exist..."

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

grats

747

Re: ~ Pretenders Vs. Contenders Pinwheel Round 48 ~

> RedLink wrote:

> march 7, my birthday! 30 years! big_smile yay! lol


Liar!! X(


You have way much more