I have written some page turning software simulating a magazine. Currently the speed of the page turning is linear, and I want to make it more realistic with acceleration and deceleration.
At the start of the animation it should be slow, half way through it should have reached max speed, then it returns to a slow speed by the end of th...
I'm new to Java programming, I am programming Java 1.6 with Android.
I have a simple function that makes a number go up and down between 0 and 200. I would like to put this into a Sine function but keep getting errors with what I've been trying.
I want my program to update an int (Number1) via a sine wave y axis.
Any ideas change the...
Can I use the sine function within MDX? I would like to know the sine of a measure.
...
I want to plot 3D points in real time that lie upon the surface of a unit sphere (r = 1).
There are two spin vectors at work here. One vector rotates around the Y axis, it's X and Z values are calculated using the cos() and sin() of a circle that lies completely on the X/Z plane with all Y values being equal to 0. The other rotates ...
I've been running som eprofile tests of a slow area of code. This is with Visual Studio 2008 and .NET 2 (fully patched). About 32% of my computation is used by the Haversine formula. This requires two sines, two cosines, a square root, and an arc sine - all using the standard .NET Math library (ie. Math.Sin, Math.Asin, Math.Sqrt). I've b...