- #1
IMK
- 63
- 0
Hello,
I am writing a simple programme and need a function for friction acting on a rolling sphere and I am not sure how to go about it so can you help please.
The environment will be a sphere rolling across a horizontal surface of friction f at a velocity of.v and I wish to compute the new v after a period of time t.
I guess v will be in m/s, t will be in seconds or a fraction of and f will be the friction factor where 0 is none and 1 what arrest the sphere instantly. Thus
Newv = FunctionForFriction( v , t , f )
Then if it does not make the function much more complex it would be nice if I could vary the inclination of the surface the sphere is rolling across. Where i is the inclination of the surface in degrees, thus 45 would be up hill and -45 would be down hill.
Newv = FunctionForFriction( v , t , f , i )
Also I assume that this will be in a vacuum and therefore air resistance need not be considered.
Many thanks in advance IMK
To be a part of the solution and not part of the problem
I am writing a simple programme and need a function for friction acting on a rolling sphere and I am not sure how to go about it so can you help please.
The environment will be a sphere rolling across a horizontal surface of friction f at a velocity of.v and I wish to compute the new v after a period of time t.
I guess v will be in m/s, t will be in seconds or a fraction of and f will be the friction factor where 0 is none and 1 what arrest the sphere instantly. Thus
Newv = FunctionForFriction( v , t , f )
Then if it does not make the function much more complex it would be nice if I could vary the inclination of the surface the sphere is rolling across. Where i is the inclination of the surface in degrees, thus 45 would be up hill and -45 would be down hill.
Newv = FunctionForFriction( v , t , f , i )
Also I assume that this will be in a vacuum and therefore air resistance need not be considered.
Many thanks in advance IMK
To be a part of the solution and not part of the problem