Hello guys, I am new to maple software and I am stuck on solving a simple transcendental equation:
sin(x)=x/2 over the range x=-3,...,3.
I know how to solve this equation for individual intervals, for example:
> fsolve(sin(x) = (1/2)*x, x = -3 .. -1);
>...
Homework Statement
Hello I wanted clarification on freeman's law and the Tully fisher relationship.
Am i correct to say that the tully fisher relationship that states
L=kv^4 where L=luminosity of galaxy and v= max rotational speed of galaxy.
only applies to edge-on spiral galaxies...
Homework Statement
I would like to know what the cohesive energy of the crystal is.
Homework Equations
The Attempt at a Solution
Is it the energy required to break the atoms free from a crystal (ie into free atoms with no potential)?
So would it be the minimum energy of a...
I am quite new to programming, i am using linux server connected to our campus. It has glut installed etc.
Also math library is included right above main() (beginning of the whole code)
Counter is just a single function in the whole code.
scrap my first post, please read the second one and by the way when counter is called, the c variable is 80.62782 (changes depending on other parts of program).
thanks changed that to %d but its still no use, basically my for function is scanning a grid in integer steps and grid function must take integer values as arguments
actually that above statement is not true. The following works perfectly:
void counter (double c) {
FILE *fp;
char...
Hi guys, i am using the C language and have created the following function:
void counter (double c) {
FILE *fp;
char output[]="output.xls";
int n,p=0;
int r=0;
int i,j;
float x=0;
fp=fopen(output,"w");
fprintf(fp,"rmax\tnumber of particles within rmax\r\r\n");
for(n=1;n<=10;n++)...
Looking at the squarewave function expression I see my function will be a sum of heaviside step functions? and i can change the period according to what i need.
Many thanks
Homework Statement
I have that a oscillating mass undergoes shm. It is accelerated (forced oscillation) by 1ms^-2, for time pi/2 as it goes through the origin and then accelerated by -1ms^-2 for another time pi/2, then it is at the origin after the second acceleration.
I need to determine...