Hello everyone, I am posting this more generically in the software development section to see what might be available and to increase a possible success rate. But enough of that let's get to the question at hand. Recently, in C#, I started back up a project of mine to do …

by
JOSheaIV
119
in Software Development
()
Sorry for the vague title, but I'm using a PHP snipptet on a WooCommerce shop which shows the difference between an old price and a new price (sale price) in a percentage bubble on the page. The thing is it shows also percentages with decimals behind a comma if it's …

by
gentlemedia
246
in Web Development
()
Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may download the complete source version 8.3.48 or later, but be warned there is almost no comment; or instead, follow versions …

by
xrj
19
in Software Development
()
One of the most, if not THE most, beautiful formulas in math, is from Euler: ... It combines in it a relation between the number e, thr number Pi and the complex number i, plus the basic math symbols 1, +, = and zero. Is that not amazing? More info …

by
ddanbe
2,372
in Software Development
()
For my own use, I'd like to develop a small Vector and a Matrix class, independent of some big libraries that exist out there. My question is: Should Vector and Matrix stay two independent entities or should I derive a Vctor frm a Matrix or a Matrix from a Vector? …

by
ddanbe
2,372
in Software Development
()
Python helps in real life situation to automate things. This program helps you to prep up your kids ability to go over/under ten, which is essential not only by itself, but also when calculating with bigger numbers. Program is not any special, but shows how useful Python can be in …

by
pyTony
888
in Software Development
()
The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C#

by
vckicks
1
in Software Development
()
Hello. I need to write a program to evaluate a definite integral with Simpson's composite rule. <math>\int\limits_{0}^{\frac {pi}{2}} \sin (sin(x) \sin x\, dx</math> I know there is a Simpson's rule available in Scipy, but I really need to write it by the following scheme. <math>I = \left ( f(a) + …

by
Auroch
in Software Development
()
Well, there was a thread about a frequency function and a bell curve in Excel. So here it is how about to do the NORMDIST function in Excel in C#.

by
ddanbe
2,372
in Software Development
()
Donât know if this is ever been done before, or even if it is a good way to do it. Iâll just await your comments if any. What I mostly found on the web is that if you want to define a polynomial you need to have an array containing …

by
ddanbe
2,372
in Software Development
()
Hi, in my polynomial class all the terms consist of a List of tuples (double, uint), representing the coefficient and the exponent; a real and a natural number. The +operator implementation works great, but I was wondering if I could avoid to write two times It somehow feels not good, …

by
ddanbe
2,372
in Software Development
()
Hi there, I'm a real newbie to python so sorry if this is a stupid question or if I don't fully get your answer, no hate please! I'm trying to write a small program to use when calculating differential equations bu using Euler's step method, don't worry if you don't …

by
kangarooblood
-4
in Software Development
()
So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and also will not buy if the current gold is equal to the cost. I have no idea why it is …

by
Doogledude123
45
in Software Development
()
I need help with this: -write an application to perform simple arithmetic operations on integers. Specification 1.Name the .java file SimpleMath 2.The program should do the following: â¦Prompt the user to enter five integer values from the keyboard. â¦Display the sum and average of the numbers. â¦Display the quotient of …

by
kafi_1
in Computer Science
()
I have looked around on the internet a little bit, but I am unable to find a function or equation for inverse/arcsine. I was able to find Inverse Cosine, but inverse sin doesn't seem to exist. Does anyone know how to use inverse sine in delphi?

by
schroaus
8
in Software Development
()
I'm creating a table with PHP/MySql to enter local election results from my newspaper, I'm not a professional developer, more of just a hobbiest hack (who hasn't worked with PHP for a few years either), so feel free to correct existing code if you so please. What I want to …

by
kyleo92
in Web Development
()
Hi , I am trying to do a couple of bitwise operations on some hex numbers but for some reason i cant compile. Apparently, it wont be possible with my method: i get this error :invalid operands to binary & (have âintâ and âfloatâ) Please help

by
J_SON
in Software Development
()
Here is a small--complete--program that includes a sub-routine that inputs two matrices and then multiplies them. Notes: 1) I happen to like taking input from a text file. It eliminates the need to type input from the console, especially when debugging, it prevents the possibility of making typos. 2) The …

by
DavidB
44
in Software Development
()
I'm sorry. These question probably sound very stupid to you people. But to me they are extremely difficult. Imagine being completely ignorant with computers, and signing up for an intermediate level class (I did not take the beginner class)................ and NEEDING an A to make up for the 2 B's …

by
cocopium
in Software Development
()
Hi. I need help with a program. It is a simple program where it looks for a sequence of numbers (between 1000 and 9999) where the sum of 4 sequential numbers to the 4th power = a 4 digit number comprised of those 4 original numbers. (I know... see example). …

by
cocopium
in Software Development
()
The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity …

by
xrj
19
in Software Development
()
Here is my first Code Snippet contribution: a C++ sub-routine that computes the roots of a quadratic equation. Notes: This sub-routine checks if a = 0. IF a = 0, then the equation is actually not a quadratic equation; it is a linear equation with one--if any--root. IF the user …

by
DavidB
44
in Software Development
()
Complex numbers are seldom used in daily life, altough you could say that every real number is complex, but with the imaginary part equal to zero. And btw. "complex" is a bit of a misnomer, perhaps we should call them "easies", because often they make it easier to perform certain …

by
ddanbe
2,372
in Software Development
()
I was in the library's multimedia room to do my assignment, but all PCs don't have Visual Studio and other smiliar programs. So I wrtie the code on Notepad for the question: Does it look correct or not?

by
SpottyBlue
in Software Development
()
Can someone help me with this? This is part of my first assignment. I am quite new to programming. This requires to have a PAC Chart, IPO chart, Algorithm, Flowchart, Data Dictionary, C++ code

by
SpottyBlue
in Software Development
()
Hello all! I am sorry to have to waste your time with such an easy problem but I am stuck with some coders block on this one. I know it is definitely an easy fix I just cannot seem to wrap my head around it at the moment... I do …

by
mkweska
in Software Development
()
I was just wondering is there a class handling integrals and derivatives or do i have to make methods on my own?

by
terrier_unknown
7
in Software Development
()
I have a site for youth basketball, where parents can list their kid to get them onto a team. The listings that get replied to by teams needing players are deleted, but some listing remain on there for months or years. To combat the potential confusion of which grade a …

by
jonsan32
12
in Web Development
()
Hi guys. First of all, I am aware that there is a somewhat similar thread over here. However, it was never really answered and the code given was obscure (I don't like copying stuff anyway) Either way... I want to balance a chemical equation. However, I don't need help on …

by
requimrar
2
in Software Development
()