ahmed sobhy
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by ahmed sobhy
-
-
it is c++ , can you help with the code ?
0 -
I am trying to generate a random number between i and j.
The code at the bottom always generates the same number which is 42.
How can I fix this ?
int RandInt (int i , int j)
{
return rand( ) % (j-i+1) + i ;
}
0 -
Lim x--> infinity (2x/x+1)^5
Can I get the limit into the brackets , apply l'hopital rule and the result ^5?
Then the answer is 2^5 ?
0 -
what is the limit of a^n as n reaches infinity if a <-1, and WHY ?
0 -
How to get the magnetic field in the centre of a squared wired of length L ?
0 -
studying for the final
0 -
Can u help with this problem?
A charged particle of mass 1.50 g is moving at a
speed of 1.50 3 104 m/s. Suddenly, a uniform magnetic
field of magnitude 0.150 mT in a direction perpendicular
to the particle's velocity is turned on and then turned off in
a time interval of 1.00 s. During this time interval, the magnitude
and direction of the velocity of the particle undergo a negligible change,
but the particle moves by a distance of 0.150 m in a direction perpendicular
r to the velocity. Find the charge on the particle.
I know that qvb=ma
The only unknown to get q is a. How to get it ?
Also I am confused, of how it is mentioned that change of velocity is negligible and there is acceleration ? shouldn't a be zero ?
0 -
Why is SF5 polar, while PF5 is non polar ?
0 -
What is the effect on a moving charge particle as the magnetic field become more intensified. The reason I am asking that I read in a book
that the magnetic field only have effect only on changing the direction of a moving charged particle and doesn't affect its speed.
0
Generating a random number
in Computer Science
Posted
no I didn't. How can I do it using the c++?