Saturday, August 24, 2013

The Soko La Wakulima (Farm market)

Hello everyone out there. This year's ASK(Agricultural Show of Kenya) theme is "ENHANCING TECHNOLOGY IN AGRICULTURE AND INDUSTRY FOR FOOD SECURITY AND NATIONAL GROWTH."
 My friend and I have implemented the project below as per the theme.Check it out :


INTRODUCTION
Soko la Wakulima is an android app that links farmers from all over the country on the basis of marketing. It enables people to buy and sell broad variety of agricultural goods online. It is destined to be a competitive virtual market for farmers. Generally, any agricultural based product can be auctioned on Soko la Wakulima as long as it is legal and confirms to Soko la Wakulima terms and conditions.
WORKING

Users are first required to download the app to their phones. The app allows users to browse through various categories of agriculture like vegetables, Fruits, Poultry, Farm equipment among others and also search for any particular item. Sellers of a product are required to register first before posting so as to enable any interested buyer to easily identify themselves.
FEATURES

·         It has an RSS reader that enables the user to read agricultural news and know the current trends in the agricultural market.
·         Supports Image uploads for further description of products clearly showing their state.
·         Offers comprehensive information on sellers contact information in terms of location, phone number etc.

            Usage of this technology assists in elimination disparity between buyers and sellers due to geographical location, statistics from bids give the state of the market and can be used for planning, sellers are able to sell their commodities at the best price, promotion of trade as there are always goods to buy and sell plus perishable items are sold in time saving losses.

Thursday, August 1, 2013

The Sieve Calc 1.0



            I have had a very great time this semester even as I was learning and enjoying my units in Pure Mathematics. Number Theory has been real fun –all those theories on primes, Diophantines, modulo arithmetic etc. I found the Eratosthenes sieve of determining all primes less than a given number n very creative. I`ve done a Java application (Sieve Calc 1.0) based on GUI that implements the sieve. Check out these screen shots as you follow the code at my Github repository at https://github.com/HARRIEKIM.

Main UI

About Sieve Calc

Help

Working

Friday, June 7, 2013

Hello friends,

I have been away for a while but am now back. In the period of my silence i learnt some few interesting things here and there. I just had a very hard time selecting between Pure and Applied Mathematics. Before i tell you which option i am in, i will explain why in the first place i had a dilemma. I  love the topic of cryptography very much and can never stop thinking of security algorithms. I have also been thinking of how i could come up with this file compression algorithm that simply compresses your files when you storage space goes low--imagine instead of "Delete" you would ,yah you guessed right "Compress it". Among the great Mathematicians i really admire in history is Femat- and all his theories of course. Now those are enough reasons for me to have taken Pure Maths...but wait. I love simulation and modelling much and Calculus was a lot of fun. Fluid mechanics produces some nice results that they occupy me the whole night. I always wondered if the current differential system in automobiles is the best plus i wouldn't mind to work with the air force....and #confusion!!. Finally,i am addicted to coding-if one can be, i took Pure Maths. As i anticipated, i am proving lots of theorem which the "Maths anonymous" would call just boring stuff and am enjoying it. Now there is this idea that just crossed my mind, since i got a lot of time back here i wanna make an application for new pure Mathematicians out there. I  will implement all (ok most of em) the proofs and algorithms  in this Java application. Backed by a heavy user interface that goes kinda--"You wanna learn Euclid's gcd algorithm ?" and its like "First you should check out the division algorithm.." and there you go. You will be able to:
Learn algorithms and proofs.
See implementation in Java language.
All this in a GUI.
For now, there is the Safaricom Appwiz which i want to attend to present my Android app. I will be taking of it soon. Thank you pals.

Wednesday, February 27, 2013

THE POWER OF THE MICROSOFT MATHEMATICS APPLICATION


                This app was installed by my dad in his laptop when I was back in high school. Since it was installed together with Encarta kids 2009, I thought this application could also serve kids better. When I was joining university, my dad bought me a laptop running on Windows seven. In a bit to make it more loaded with programs, he also installed Microsoft Mathematics - I take   B.Sc. Mathematics and Computer Science.
                I never came to realize the power of this application until it was time for Calculus II. After trying a really complex problem on series and hitting a dead end on every trial, I decided to launch the application. WOW! There went the functions I had wished they always included in my Casio FX- 991ES calculator. The sigma notation with the infinite symbol, both define and indefinite integrals, permutations and combinations, handwriting input and above all, step by step solution.
                Graphing in 2D and 3D is another very cool feature of this application. Solving for unknowns in equations of varied forms is also supported. Plus much more features….
                Now, as a pure mathematics student, I still find the application very important. I do not have to work with both my laptop (for reference documents) and my calculator. This application is free for your windows machine.
           
     Why won’t you download it now please?

Monday, February 25, 2013

JAVA CODES

Hello !here are two java codes from my OOP assingments.
1.Converts temparature from Fareinheit scale to celcius scale
2.Calculates the magnitude of a vector


/**A program that converts temparature
 * from degrees fahreinheit
 * to degrees celcius
 */
import javax.swing.JOptionPane;

public class FareinheitToCelsiusGUI
{
    public static void main(String args[])
    {
        float temp_fahrt;
        double temp_cels;
        String x=JOptionPane.showInputDialog(null,"ENTER THE DEGREE IN FAHREINHET","INPUT TEMPARATURE",JOptionPane.INFORMATION_MESSAGE);
        temp_fahrt=Float.parseFloat(x);
     
        temp_cels=(5.0/9.0)*(temp_fahrt-32.0);//formula to convert degrees
     
        JOptionPane.showMessageDialog(null,+temp_cels+" Celcius","TEMPARATURE CONVERSION RESULT",JOptionPane.ERROR_MESSAGE);// the result is displayed here
    }
}


Program 2

import javax.swing.JOptionPane;
public class VextorLenght{
 public static void main(String []args)
 {

 
 
       JOptionPane.showMessageDialog(null,"A VECTOR IS THE FORM\n r=ai+bj+ck\nENTER THE VALUES OF a b and c","INSTRUCTIONS",JOptionPane.INFORMATION_MESSAGE);
        String T=JOptionPane.showInputDialog(null,"ENTER THE VALUE OF a","COEFFICIENT OF COMPONENT i",JOptionPane.INFORMATION_MESSAGE);
       int i=Integer.parseInt(T);
     
        String R=JOptionPane.showInputDialog(null,"ENTER THE VALUE OF b","COEFFICIENT OF COMPONENT j",JOptionPane.INFORMATION_MESSAGE);
       int j=Integer.parseInt(R);
     
        String S=JOptionPane.showInputDialog(null,"ENTER THE VALUE OF c","COEFFICIENT OF COMPONENT k",JOptionPane.INFORMATION_MESSAGE);
      int k=Integer.parseInt(S);
     
       double magnitude=Math.sqrt((i*i)+(j*j)+(k*k));
     
        JOptionPane.showMessageDialog(null,+magnitude+" units","RESULT",JOptionPane.WARNING_MESSAGE);
    }
}
More on java programming