Giter Site home page Giter Site logo

basic_math_function's Introduction

Welcome

Math Function Homework

level

  • Basic
  • Beginner
  • Intermediate
  • Mixed
  • Advanced

Automated grading of homework assignments and tests

  • fork this repository
  • solve the task
  • commit with proper message
  • just push and check answer

Problems

math_func01

Given the square area, find its side and return.

Example 1:

Input: num=16
Output: 4.0

Constraints:

  • 0<=num<=108

math_func02

Given the radius of the circle, find its length (L=2Rฯ€).

Example 1:

Input: R=5
Output: 31.4159

Constraints:

  • 0<=num<=108

math_func03

The square of a number. Use pow function.

Example 1:

Input: x=4
Output: 16

Constraints:

  • 0<=num<=108

math_func04

Multiply one number by the sine of another number.

Example 1:

Input: x=8 y=pi/6
Output: 4

Constraints:

  • 0<=num<=103

math_func05

Multiply one number by the cosine of another number.

Example 1:

Input: x=8 y=pi/3
Output: 4

Constraints:

  • 0<=num<=103

math_func06

Raise cosine of x and the sine of y to the second power Round the result before returning the sum of the raised values

Example 1:

Input: x=pi/3 y=pi/3
Output: 1.0

Constraints:

  • 0<=num<=103

Warning

  • don't copy other solutions or any solution
  • don't remove comments

basic_math_function's People

Contributors

alishernorxojayev avatar olimjonsn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.