Share your repls and programming experiences

← Back to all posts
#WEEKLY 10 Calculator
h
Coder100 (6456)

Calculator

Hello, world! This is my calculator. It supports all 9 of the trig functions (waw) and it also contains a lot more stuff.

Features

  • Cursor position: More accurate and productive calculations
  • All 9 Trig functions: No need to substitute for cosecant, secant, and cotangent
  • x^2: More productive powering.
  • nth root: More productive roots.
  • Decimals: For more precise calculations.
  • Constants: Already defined are e and pi for better calculations.
  • History: More accurate calculations and better productivity
  • ARROWS: Used to move the cursor around.
  • Mobile-Friendly: Works on small screens and large screens.
  • ERRORS: Includes errors when you make mistakes.

Examples

To access the history, just click on the input bar.

Have a great day!

Calculator -- reimagined.

Commentshotnewtop
potatojs (757)

the calculator is great it has some bugs.. like why i can whrite an operator in the start of the line? why i can put multiple points in a single number? 'cause i think fixing those small problems isn't that hard right?

Coder100 (6456)

Hello! Those aren't bugs, those are features! This is based on my TI-84+CE. Anyways, putting operators at the start and putting multiple decimal places will throw an error, which is frankly what I want lol @potatojs

potatojs (757)

okayyyy if that is the case this project is

great lol

@Coder100

DannyIsCoding (657)

This calculator is beautiful!

oignons (299)

Nice! However, I wanted to tell you that the sin is inaccurate.
I did sin(90) and it outputted 0.89399...when it is really 1. Am I doing it wrong, or is it a bug?

Coder100 (6456)

Hi! I really like radians so I never bothered to implement degrees LOL instead, do sin(pi/2) @ipastrano

NoelB33 (314)

Awesome job! Though it does look a bit weird on an iPad.

Coder100 (6456)

LOL yeah idk why it does that. When tried on my emulator it appeared fine... @NoelB33

ZDev1 (474)

@Coder100 you can make it responsive

Coder100 (6456)

yeah it is pretty responsive @ZDev1

k9chelsea2 (593)

ngl for my weekly challenge as long as it woks I am happy xD

k9chelsea2 (593)

the thing is I an never be bothered to finish the weekly contest until the day before its judged lol

k9chelsea2 (593)

its actually quite irrititating because I am panicking after the code decides its a good idea not to work and then humiliate me by acting like its my fault as if i wrote the wrong code, smh

k9chelsea2 (593)

html coding amirite

LTI2 (62)


Can you prevent this?

Coder100 (6456)

well it just throws an error so idk
I can do that on my TI-84+CE so probably not going to fix @LTI2

ZDev1 (474)

nice!
But I recommend: when I refresh the page the history will clean
Also check out mine

my post

Coder100 (6456)

yeah, the history does clean when you refresh, but I don't think its too big of a deal @ZDev1

ZDev1 (474)

@Coder100 ok
that's your opinion

DynamicSquid (3229)

can't even do advanced calculus smh

DynamicSquid (3229)

also congrats on 3k cycles :)