|
by: Radioactive Man |
last post by:
In python 2.3 (IDLE 1.0.3) running under windows 95, I get the
following types of errors whenever I do simple arithmetic:
1st example:
>>> 12.10 + 8.30
20.399999999999999
>>> 1.1 - 0.2
0.90000000000000013
|
by: Just |
last post by:
While googling for a non-linear equation solver, I found
Math::Polynomial::Solve in CPAN. It seems a great little module, except
it's not Python... I'm especially looking for its poly_root()
functionality (which solves arbitrary polynomials). Does anyone know of
a Python module/package that implements that?
Just
|
by: qwweeeit |
last post by:
Another math problem easier to solve by hand, but, IMHO, difficult to
program in a concise way like the solution of Bill Mill
(linalg_brute.py) to the problem of engsol.
I appreciated very much the Bill Mill's solution and that inspired in
a certain way the solution for my problem.
# Problem and solution:
# ab * cb = dab 35 * 26 = 936
|
by: Brad Brening |
last post by:
Hello;
I am working in VB.NET and am trying to come up with an equation. I think
my math skills have degraded due to lack of use!
Here is my problem.
I have, say Z amount of credits to assign a user. Lets say Z = 500 credits.
I want to assign those credits over a span of, say, 10 days.
|
by: John B. |
last post by:
I'm self teaching myself C on a Linux box but I can't get a simple program
to recognize math functions. I start the program with:
#include <stdio.h>
#include <math.h> but when I compile the program, it does not
recognize sin(x); or pow(x,y) etc, in any equation.
/usr/include does have a math.h file. Any help or things to try would
be greatly appreciated!!!!. (I do alot of graphic things with trig.)
thanks ...
|
|
by: TS |
last post by:
I have this simple equation that returns a boolean:
if( ti.NumberIncorrect > (TotalQuestions - (TotalQuestions *
FailurePercentage) ))
ti.NumberIncorrect is int : 4
TotalQuestions is int : 20
FailurePercentage is float : 80
When the code runs, it evaluates to true incorrectly. When I put this exact
expression in the watch or immediate window, it evaluates correctly to
|
by: perfactmind |
last post by:
Hi Friends,
i am using asp.net 2.0 with c#.
i am developing a page for enter maths questions. these all questions stored in a database. i have a problem how can i write the math equation in the text box.
i have been seen a product 'MathType' equation editor for that but with the help of this we can get a image of this equation. so i think this is not a right way.
please give me advise .....
thnaks in advance
|
by: =?ISO-8859-1?Q?Andr=E9?= |
last post by:
Would anyone have a "quick and dirty" code sample to create an svg
output of a sample math equation using matplotlib?
André
|
by: zxry |
last post by:
I'm new to C++ and need to write a program that reads and calculates math equations from a char string. My question: is there a way to convert a char math symbol such as '+' into a + the compiler can use in an equation?
Right now I'm using a bunch of If statements to handle this, but would like to know if there's a way to work the char sign directly into the equation.
i.e.
char num1 = '5';
char sign = '+';
char num2 = '2';
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|