Skip to main content

All Questions

Tagged with
8 votes
4 answers
672 views

"Kinda" addition chain calculator

I build an addition chain (more information about addition chains: Wikipedia) calculator that produces shorter chains than chains with the length equal to the number that's being tried to achieve. It ...
user avatar
6 votes
2 answers
205 views

Python - Input Filtering, Calculating with a Variable Amount of Inputs

I've been working on an Aerodynamics calculator using python (which I'm relatively new at), In this program, a value can be calculated based on multiple different inputs ie. a calculates b, b ...
Henru Dorsey's user avatar
4 votes
0 answers
661 views

A Very Simple Support Vector Machine with SMO Algorithm Implementation

Context. I was looking for some simple implementation of SVM with the SMO algorithm that can be used as an in-class problem together with a simple mathematical explanation of how it works. The problem ...
guest's user avatar
  • 141
3 votes
1 answer
185 views

How can I speed up my calculations with loops? Python

I wrote this code. But it works very slowly. I'm figuring out how many times I have to run the case generator to find numbers less than or equal to inv, in this case six. I count the number of ...
Pythonist's user avatar
2 votes
1 answer
48 views

A prime number checker (Multi numbers).py

so obviously this SIMPLE code checks if the number is prime or not. I need to make it more advanced, easier to use, fewer lines or any improvement. ...
LyZeN77's user avatar
  • 147
2 votes
1 answer
684 views

Binomial Expansion Calculator

So i wrote a program with the documentation for my fx cg50 calculator's micropython to calculate various items, each of which are: Pascal Triangle Entry Pascal Triangle Level/Entire Row Binomial ...
Eren Yaegar's user avatar
6 votes
1 answer
2k views

Scan-line algorithm to fill in a triangle

I wrote the following script to fill a Triangle. ...
Apple_Banana's user avatar
3 votes
1 answer
820 views

Determine if points are within a rotated rectangle

Using only Python 2.7 and the standard library (no imports): Determine if a point is inside the rotated rectangle. ...
User1974's user avatar
  • 198
6 votes
2 answers
408 views

Quadratic Expression Factorer and Solver

I have decided to create a program that can factor and solve quadratic expressions in micropython, where the standard library is limited, and i have no idea how to implement external modules onto it, ...
Eren Yaegar's user avatar
1 vote
1 answer
324 views

Integer pairs of a product in Python

This bit of code is looking for the pair of integers that make up a product. You can input any integer and it returns the pairs of numbers that, when multiplied together, make it up. I have done a ...
GalacticPonderer's user avatar
3 votes
1 answer
193 views

Euler Transform on Leibniz Series of Pi

So i read about simple series for Pi named Leibniz Series for Pi. Here is its Link:- Series . I made a program for it and soon realised that it converges very slows . So i did Euler accelerate for ...
Dhaval Bothra's user avatar
6 votes
1 answer
511 views

A Level Statistics Calculator/Helper For A Casio Fx-CG50 Calculator's MicroPython

I have made a program for my calculator's micropython, that can solve various a level statistics questions for me. However due to the limitations of the ...
user avatar
3 votes
1 answer
83 views

Python's OOP for Calculating Growth of Money

I am making an OOP to calculate growth of money according to theory of interest. I have made 3 classes: Contribution which contain data of a deposit and its growth, ...
Redsbefall's user avatar
  • 1,132
0 votes
1 answer
261 views

Recursive Function to Produce Constrained List of Integer Partitions

I have modified a recursive function designed to print all the integer partitions of a positive integer to create a function that returns all partitions of the "number" parameter if they ...
Abram Moats's user avatar
7 votes
1 answer
1k views

Python - A Numeric Matrix Calculator/Processor

it's the second object oriented program i've worked on, more details on https://hyperskill.org/projects/96?goal=391. I've added as much documentation as needed, as a first time, to explain each ...
Anonymous's user avatar
  • 1,224

15 30 50 per page
1 2 3
4
5
14