Random thoughts about using computers to do things. Presently using an Alienware Aurora Desktop (Windows 10) , a Dell XPS 13 developer edition (Ubuntu 19.04) a Dell Precision M2800 laptop (Windows 10), a Mac Mini, an Apple iPhone 7, an Apple iPad 6, a Samsung Galaxy S8, a Samsung Tab A (2018), an iPod Classic 160GB plus CD's, DVD's, USB keys, and zip disks everywhere. Enjoy learning computing with me.
Saturday, September 11, 2004
Thursday, September 09, 2004
Tuesday, September 07, 2004
Saturday, September 04, 2004
Thursday, September 02, 2004
I got a tripod both for my web cam a simple small globe D-Link web cam and this tripod will also help me with my Canon SureShot 100.
I have watched one demo on MATHLAB at the mathworks web site and should be using this software at school this fall.
Saturday, August 28, 2004
I am getting 5000 sheets of recycled paper for my printers. I am also getting a few ink cartridges for my Mac Epson Colour Stylus Photo 820 printer. Also I am getting some photo paper and some more filing supplies and crates. All these supplies are going to be ordered on-line from Staples.
Friday, August 27, 2004
Tuesday, August 24, 2004
//
// A C++ program for integrating a continuous random variable (1-x^2)^(3/2) between 0-1 and finding its expected value or mean.//
#include <iostream>
int Kvalue;
float Svalue;
int Seed;
float x;
int countK;
float Expected;
int main()
{
std::cout << "Enter integer for random seed: ";
std::cin >> Seed;
void srand(unsigned int Seed);
std::cout << "Enter integer for length of Simulation: ";
std::cin >> Kvalue;
countK=0;
Svalue = 0;
while (Kvalue >= countK){
x= (float) ( rand() / (RAND_MAX + 1 ) );
Svalue= Svalue + pow((1-x*x),(3/2));
countK++;
}
Expected= Svalue/Kvalue;
std::cout << "Expected Value = ";
std::cout << Expected;
std::cout << "Svalue = ";
std::cout << Svalue;
std::cout << "Kvalue = ";
std::cout << Kvalue;
return 0;
}
Monday, August 23, 2004
Sunday, August 22, 2004
//
// A C++ program For integrating a continous random variable exp(exp(X)) between 0-1 and finding its expected value or mean.//
#include
int Kvalue;
float Svalue;
int Seed;
float U;
int countK;
float Expected;
int main()
{
std::cout << "Enter integer for random seed: ";
std::cin >> Seed;
void srand(unsigned int Seed);
std::cout << "Enter integer for length of Simulation: ";
std::cin >> Kvalue;
countK=0;
Svalue = 0;
while (Kvalue >= countK)
{
U= (float) ( rand() / (RAND_MAX + 1 ) );
Svalue= Svalue + exp(exp(U));
countK++;
}
Expected= Svalue/Kvalue;
std::cout << "Expected Value = ";
std::cout << Expected;
std::cout << "Svalue = ";
std::cout << Svalue;
std::cout << "Kvalue = ";
std::cout << Kvalue;
return 0;
}
Saturday, August 21, 2004
Wednesday, August 18, 2004
I was able to download a copy of Windows XP professional with SP1 because the mathematics and statistics department has an agreement with the MSDN Academic Alliance. I needed this because the WinXP laptop I have did not come with a WinXP CD. I can now maybe try to make this laptop dual boot. The WinXP CD will be for a system recovery if the installation fails. I am now going to burn the ISO image.
Tuesday, August 17, 2004
//
// A C++ program For Integrating a random variable (X^2) and finding its expected value or mean.//
#include
int Kvalue;
int Svalue;
int Seed;
int U;
int countK;
float Expected;
int main()
{
std::cout << "Enter integer for random seed: ";
std::cin >> Seed;
void srand(unsigned int Seed);
std::cout << "Enter integer for length of Integral: ";
std::cin >> Kvalue;
countK=0;
Svalue = 0;
while (Kvalue >= countK)
{
U= 1 + (int) ( 10.0 * rand() / (RAND_MAX + 1.0) );
Svalue= Svalue + U * U;
countK++;
}
Expected= Svalue/Kvalue;
std::cout << "Expected Value = ";
std::cout << Expected;
std::cout << "Svalue = ";
std::cout << Svalue;
std::cout << "Kvalue = ";
std::cout << Kvalue;
return 0;
}