Best Calculator Programming

เสร็จสมบูรณ์ โพสต์แล้ว 2 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

Connect the UI to the script so that every time there is a change in the input field or to the Degree Mode checkbox, the calculation will trigger and either display an answer or an error message. Fortunately, I am not expecting you to build the best calculator ever(yet) so we don`t need to support all the possible math calculations in the world. Simple stuff such as 5+3, (3-1)*4-32+8*4, 3sin(97-51), and so on will do the trick for now. We will provide the rest of the required functionality later.

Task 1:

will require you to implement a calculator that is capable of correctly calculating the following mathematical functions.

Addition, subtraction, multiplication, division, sin, cos.

Task 2:

Since you are creating the best calculator in the world, of course, we need to support both Radian and Degree mode for trigonometric functions of Sin and Cos. By default, Degree mode will be unticked and hence we will be in Radian mode. As soon as Degree mode is ticked, we will switch to degree mode and the calculations of sin and cos will be done in degree mode.

*Radian to Degree conversion.

You can convert radians to degrees by multiplying the argument of trigonometric functions by 180/pi. For example,

sin(3) in radian mode is the same as sin(3*(180/pi)) in degree mode.

cos(3.11*pi) in radian mode is the same as cos(3.11*pi*(180/pi)) in degree mode.

Test Cases - TODO

5-6*4+(12/3) = -15

sin(32-cos(16)) = 0.999577...(Radian Mode)

cos(pi)/sin(11.5-pi) = -1.142266...(Radian Mode)

5(sin(3)-cos(pi*15))/4 = -0.785099...(Degree Mode)

JavaScript คณิตศาสตร์ การวิจัยทางวิทยาศาสตร์

หมายเลขโปรเจค: #32863879

เกี่ยวกับโปรเจกต์

6 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

Nightcrawler43

Hello, My name is Nicholas Cooley. I have over 8 years of programming experience in a variety of different languages. As well as a computer science degree from State Technical College of Missouri. I am extremely confid เพิ่มเติม

$50 USD ใน 3 วัน
(2 รีวิว)
1.4

freelancer 6 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $69

khanmaiprogram

⭐⭐⭐Hello, dear client⭐⭐⭐ It is my great honor to read your project requirement and place my bid. I am Matlab, Engineering, Mathematics, Algorithm, Python, C++, C#, C expert and have enough experience. I want to make a เพิ่มเติม

$55 USD ใน 2 วัน
(22 รีวิว)
4.7
Maslennikovprod

⭐⭐⭐Javascript Expert⭐⭐⭐ Dear sir. I have checked your project and it is very interesting. I have an experience of attending ICPC and familiar with javascript. Hope to meet and have a talk about your project in detail. เพิ่มเติม

$100 USD ใน 7 วัน
(8 รีวิว)
4.8
Gkiprop

Dear employer, I hold master's in statistics and continuing with Ph.D. in applied statistics making me suitable for this job. Am an experienced statistic writer for three years. Besides I am skilled; R programmers sps เพิ่มเติม

$85 USD ใน 7 วัน
(6 รีวิว)
2.9
body767

Hello, I have 14 years experience using Javascript and JQuery, Also i have 8 years of experience building Games for Android and Desktop so i know pretty much everything about mathematics and algorithms, I understand co เพิ่มเติม

$70 USD ใน 3 วัน
(5 รีวิว)
3.0
VovaLunev1

Hi, I've checked your project and it is very interesting. I'm an expert in javascript, calculate, ... ******************************************************************************************* I've worked on several เพิ่มเติม

$55 USD ใน 2 วัน
(0 รีวิว)
0.0