Examples of sin()


Examples of calculator.sci.SciCalculatorService.sin()

        System.out.println("\n\tInvoking JavaScript Implementation  ... ");
        System.out.println((new StringBuilder()).append("\tSquare Root of 81 = ").append(sciCalculator
            .sqrt(81D)).toString());
        System.out.println("\tInvoking Java Implementation configured for Property  ... ");
        System.out.println((new StringBuilder()).append("\tSine 90 Degrees = ")
            .append(sciCalculator.sin(90D)).toString());
        System.out.println((new StringBuilder()).append("\tCos 90 Degrees = ").append(sciCalculator.cos(90D))
            .toString());
        System.out.println((new StringBuilder()).append("\tTan 90 Degrees = ").append(sciCalculator.tan(90D))
            .toString());
        System.out.println("\nExiting...");
View Full Code Here

Examples of org.apache.commons.math3.complex.Complex.sin()

        } else if (token.equals("neg")) {
          stackAnswer.push(complexFormat.format(a.negate()));
        } else if (token.equals("real")) {
          stackAnswer.push(complexFormat.format(a.getReal()));
        } else if (token.equals("sin")) {
          stackAnswer.push(complexFormat.format(a.sin()));
        } else if (token.equals("sinh")) {
          stackAnswer.push(complexFormat.format(a.sinh()));
        } else if (token.equals("sqrt")) {
          stackAnswer.push(complexFormat.format(a.sqrt()));
        } else if (token.equals("tan")) {
View Full Code Here

Examples of org.zkoss.zss.engine.Complex.sin()

   * @param ctx the function context.
   * @return the sine of a complex number.
   */
  public static Object engineerImsin(Object[] args, XelContext ctx) {
    Complex complex = UtilFns.validateComplex(args[0].toString());
    return UtilFns.cToComplex(complex.sin(), complex.getSuffix());
  }
 
  /**
   * Returns the square root of a complex number.
   * This function implements the IMSQRT(arg0) spreadsheet function.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.