Most voted "calculus" questions
Specific method of certain branches of mathematics, used in solving arithmetic or algebraic problems.
Learn more…86 questions
Sort by count of
-
0
votes0
answers383
viewsCompare variable values and choose larger ones to calculate
I am developing a retirement calculator. Available at link http://www.utilizaweb.com.br/aposentadoria (code also available below). The program works with the insertion of several companies. I need…
-
0
votes1
answer120
viewsPercentage of Interest on Price
All right? I’m having trouble finding the interest rate of a plot (read funding), knowing some final values. Given the following formula: pmt = (PV.i) / (1 / (1 - (1+i)^n) ) This is standard Price…
-
0
votes1
answer902
viewsGenerate plot values and dates in a datatable c#
Hello, I have a form where is placed a Total Sale Value, the Number of Installments of Payment. Then I would like my Datatable that is located in the other Form to present the values and the due…
-
0
votes1
answer66
viewsI need help using the bigmoney.js plug.
Hello, I need to do calculations like the bigmoney.js plug, someone explain me with examples how to use.. make transactions in our "real" currency, need mainly for percentage, how to calculate…
-
0
votes1
answer118
viewsFunction returning Nan failing to perform the calculation
In a solar calculator, everything works, except the final value that returns Nan. Where is my error? function calcular(valorInformado) { ResultPotencia = parseFloat(valorInformado * 8.28 /…
-
0
votes1
answer437
viewsHow to create this expression in C#
At first, the program I made the calculation using the following expression: valorComDescontos = valorTotal - (valorTotal * percentual); Where the valorTotal is a value assigned by the user (a…
-
0
votes1
answer111
viewsHelp Solving Two Javascript Issues
Hello, I’m not able to solve these two issues, could help me. function dobroDoNumero (){ var dobroA = 4+4; var dobroB = 7+7; var dobroC = 8+-8; var resultado = dobroA+ ', ' +dobroB+ ', ' +dobroC…
-
0
votes0
answers19
viewsvalues calculated on oracle with differences
Good afternoon! Run the select: SELECT 5.297800000 * 251564.541760000 FROM dual Returns the value: 1332738.62933613 I run the same calculation in a package and get the value: 1332738.629336128 With…
-
0
votes1
answer921
viewsCalculator problem in android studio
I’m a beginner and I’m developing a simple calculator in android studio, but it only shows the result of two values, ex: 1+1=2. I would like to do several operations at the same time, e.g. 1+2*3/4…
-
0
votes1
answer231
viewsJavascript - Prevent select option smaller than other
Hello. I am making a system for scheduling by time. I have 2 select’s: start and end. I need a function to prevent the end time from being less than the start time + 3. Ex: start = 10, the end…
-
0
votes2
answers787
viewsI have to make a form in PHP that the cost and time of a car trip
I have to make a form in PHP that calculates the distance, speed and time that a person makes during a journey and tell how many liters were used, but I’m struggling to make sense of the form.…
-
0
votes1
answer1824
viewsTime calculation for PHP + Mysql point
I am creating a table for the calculation of working hours of employees, but I am not able to do the calculation to know if the correct amount of hours was worked in the day. In the database is that…
-
0
votes3
answers325
viewsWhy is this php calculator not working?
<body> <form role="form" action="pratica_fazer_calculadora.php" method="get"> <input type="number" placeholder="Digite um número" name="primeiro_numero"/> <select> <option…
-
0
votes1
answer463
viewsCalculate values for each column of an html table
I want to calculate values from a table. Each column has different values, at the end of the table, I would like to inform the total value. Below is my html. <table class="table table-striped…
-
0
votes1
answer27
viewsCalculation of dynamic tag values
You guys talk nice to each other? I’m messing with my system (read lab). I’ve basically created the whole Back-End, but at the front I’m getting beat up with some treatments. I am creating a budget…
-
0
votes1
answer1447
viewsCount the total of decimals in Delphi
I need to count the number of decimals in Delphi (10.1) in a string, I will use Edit, validating monetary values when typing, before inserting into Edit. I can validate if it is a valid Currency,…
-
0
votes1
answer74
viewsProblem with PHP Expense Calculation
I’m trying to calculate expenses in the system but I’m not succeeding. The system works as follows, the User makes an order involving 1 or more products, these orders are stored in a table. Each…
-
0
votes0
answers30
viewsCalculation of percentage in javascript
Hello! I’m with a question of those about a discount calculation code in javascript, below follows the code JS function ValorMensal () { var mensalidade, desconto, descontofinal, precofinal;…
-
0
votes1
answer44
viewsProvenance of calculation
I cannot understand why you are giving 0.00 for the calculation, and if I change the order of the calculation of the expected value, the calculation has only division and multiplication. import…
-
0
votes1
answer24
viewsCalculate each subtotal of the table lines and also the total Measured, being the dynamic lines, that is, same id
the goal is to get the subtotals in each row and the totalPedido. It’s happening partially. Two things I’m bothering: 1 - even showing the result in the subtotals, the log keeps displaying the…
-
0
votes1
answer111
viewsPython - Square root estimate
Good, I was here solving an exercise where the program asks the user for a positive number and calculates its square root using: +=(+ã/) / is an estimate for the square root of the number; + is the…
-
0
votes1
answer51
viewsHow do I get the sum of the values I add to the list?
I did this program to list items from a budget. It adds, a brief description of what was added and shows the value of the item. I want to sum up all the values and show a total that updates every…
-
0
votes1
answer30
viewsHow can I solve this equation in SQL? X = (A - (B+C+D+E))
I have a table with the following columns: COD_PRODUTO|PRODUTO|UNIDADE|FAMILIA|ORIGEM|ESTOQUE_ATUAL|COMPRAS_ENTRADAS|CONSUMO_PRODUCAO|ENTRADA_PRODUCAO|ESTOQUE_MIN|CMC|DIFERENÇA|PREÇO_REPOS I need to…
-
-1
votes1
answer66
viewsPerform external value calculations ($_GET)
Good afternoon, I’m new in php, and I’m doing some exercises, but I’m not able to do an exercise that ask to do sum, division, multiplication or subtraction depending on the values entered in $_GET,…
-
-1
votes1
answer73
viewsType error in return of a derivative function
I have the following C code, I am compiling it on linux using gcc and -lm (see below) What happens is the following: f(x+dx) - f(x) gives zero ( which is not! ) The functions f(x+dx) and f(x) are…
-
-1
votes1
answer45
viewsCalculate the chargeback in percentage of the final value C#
Good evening, the question is more about calculation than programming. The problem is this: if I sell something I must add 15% service charge. var total = 100; var acrescimoPercent = 15.00; var…
-
-1
votes1
answer1716
viewsCalculation of percentage javascript
I am developing a project and need to calculate the percentage of spread (profit on sale) example: (1 Eth): 107.178552387 which in case is $107.18 with a 5% spread (ie 5% profit on top of the total…
-
-1
votes1
answer333
viewsCalculate subtotal and total with javascript
Hello, I would like to know how do for the quantity of items in the table row be multiplied by the unit value of the same row forming a sub-total to be totaled at the end. In my code, until then I…
-
-1
votes1
answer373
viewsPercentage calculator in Javascript
I’m using the following code: <script> function calcValor() { //Zera o campo total document.getElementById("CAMPO_78").value; //Declarando a variavel let preco, porcentagem, desconto,…
-
-2
votes1
answer56
viewsCalculate PHP box goals
Hello, how could I do meta box calculation with PHP? I have a query in which returns all entries of the current month and then the sum. Target: 200000.00 Total obtained so far: 15000.00 How could I…
-
-2
votes1
answer85
viewsProblem with the calculator in Go [BEGINNER]
Guys, I’m a beginner in programming and I’m trying to practice doing a calculator in Go. Can anyone explain to me why when I try to calculate, the results are always returning me the 0? Am I…
-
-2
votes1
answer43
views -
-3
votes1
answer95
viewsMake PHP calculations
I am with some doubt regarding some calculations, I made the following table using html and php, what I intend now is that the result calculates me percentages. That is, if the target is equal to…
-
-3
votes1
answer159
viewsHow to perform sales commission calculation
To summarize well what I want, I will do so so that the program should run: Digite o nome do vendedor: Joao Digite a meta do vendedor: 1000 Digite o valor de vendas: 499 After this I need to make…
-
-5
votes1
answer2298
viewsCalculation of subnets and hosts
I can’t figure out how to calculate this: Determine the maximum amount of subnets, maximum number of hosts per subnet, and for the IP address enter the subnet address, broadcast address, range of…
-
-5
votes1
answer43
viewsI have a script that I enter the number of months and returns the date of the deadline. But I need to decrease one day of the result
Dev’s good afternoon! I am trying to create a script that calculates the final date from an initial date and its term in months. Ex: Initial date: 01/08/2018 Deadline: 60 months End date: 31/07/2023…