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