JAVASCRIPT TASK SOLUTIONS

Click on the links to view the different JavaScript applications.
1. Lagrange interpolation
2. Complex numbers calculator
3. Root calculator for 2nd degree equations
4. Distance calculator for 3-D points
5. Week day calculator
6. Leap year calculator
7. Integer-binary converter
8. Using Google Chart Tools




1. Lagrange interpolation




2. Complex numbers calculator

Enter two complex numbers:

z1 = + i

z2 = + i





Result:




3. Root calculator for 2nd degree equations

For solving Ax^2+Bx+C=0, enter the coefficients:

A:

B:

C:


Result:




4. Distance calculator for 3-D points

Enter two points by their coordinates:

Point 1: x y z

Point 2: x y z


Distance:




5. Week day calculator

Enter a date:

Day Month Year


Result:




6. Leap year calculator

Enter a year:


Result:




7. Integer-binary converter

INTEGER TO BINARY BINARY TO INTEGER

INTEGER: BINARY:


Conversion result:




8. Using Google Chart Tools