hey guys
i just wrote up this simple math program just for practice and gcc won't compile it. i really don't see where the problem is
what do you guys think
\\8x^3-6x-1=0\\4x^3-3x-\frac{1}{2}=0\\4x^3-3x=\frac{1}{2}\\$Let $ x $ be of the form $\cos \theta,\\$Hence, $ 4\cos^3\theta-3\cos \theta=\frac{1}{2}\\$But we are given that $\cos 3\theta=4\cos^3\theta-3\cos \theta\\\therefore \cos 3\theta=\frac{1}{2}\\3\theta=2 \pi...
2 egg and bacon sandwiches with toasted wholemeal slice bread + 600ml milk protein shake
4.5 chicken skewers + glass of OJ
post workout water protein shake
peant butter sandwich on wholemeal leb bread
this caramel bar thing
everythings done, thanks a lot everyone
downloaded putty and XMing. turns out that the putty terminal doesn't actually show the password as its typed so i assumed nothing was happening
downloaded Code::Blocks and its working fine
downloaded andLinux (dunno what to use it for tho)
one last...
i just downloaded Code::Blocks 8.02, seems to be working, thanks alot LordPc
i made the following program:
#include <stdio.h>
int main()
{
printf("This is output from my first program!\n");
return 0;
}
when i open the executable, the sentence comes up for like <1 second (a brief...
thanks guys
ive decided to go for the PuTTY + XMing installation since its the easiest
i'm having an issue tho, after i type my username, it doesn't let me enter a password. anyone else having this problem
i tried to download and install a C compiler (namely gcc) but it seems hard and laborious
is there an automated way of installing gcc?
OR
are there any compilers that you guys recommend?
never programmed before :o
he doesn't understand the notation etc
basically:
P(x)=anxn+an-1xn-1+...+a1x+a0
if P(x) has real and rational root z, then z can be expressed in the form p/q, where p is a divisor of a0 and q is a divisor of the leading co-efficient an
\\$Sum the expression, $\\\binom{n}{0}+\binom{n}{4}+\binom{n}{8}+...+\binom{n}{n}\\$by considering the binomial expansions of $ (1+i)^n, (1-i)^n,(1+1)^n $ and $(1-1)^n $ (note that $n$ is a multiple of 4)$\\
i got (by simply adding up all the expansions)...
i can get a 7th edition copy of Physics for Scientists and Engineerings with Modern Physics $80, whilst a 8th edition will cost me $169. is there THAT much of a difference (equivalent to an $89 price difference :p) between the editions?
Is the set S={0,1,2,3,4,5,6,7,8,9} closed under addition? Prove your answer.
my answer:
0+1=1 S
0+2=1 S
8+9=17 is not an element of S
.'. S is not closed under addition
does this count as a proof?
\\$If $a,b,c,d,e $ are in an arithmetic series then,$ \\b-a=c-b=d-c=e-d\\$Specifically,$\\b-a=e-d\Rightarrow b+d=a+e\\c-b=d-c\Rightarrow b+d=2c\\\therefore a+e=b+d=2c\\\\S_n=\frac{n}{2}[2a+(n-1)d]\\S_3=24\Rightarrow a+d=8 \ (*)\\S_6-S_3=51\Rightarrow 2a+5d=25 \...