mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Added DecimalToOctal, and DecimalToRomanNumerals
This commit is contained in:
@@ -104,3 +104,5 @@ problem, solution = mathgen.genById(0)
|
|||||||
| 65 | Geometric Progression | For the given GP [4, 16, 64, 256, 1024, 4096] ,Find the value of a,common ratio,8th term value, sum upto 7th term | The value of a is 4, common ratio is 4 , 8th term is 65536 , sum upto 7th term is 21844.0 | geometricprogression |
|
| 65 | Geometric Progression | For the given GP [4, 16, 64, 256, 1024, 4096] ,Find the value of a,common ratio,8th term value, sum upto 7th term | The value of a is 4, common ratio is 4 , 8th term is 65536 , sum upto 7th term is 21844.0 | geometricprogression |
|
||||||
| 66 | Geometric Mean of N Numbers | Geometric mean of 3 numbers 81 , 35 and 99 = | (81*35*99)^(1/3) = 65.47307713912309 | geometricMean |
|
| 66 | Geometric Mean of N Numbers | Geometric mean of 3 numbers 81 , 35 and 99 = | (81*35*99)^(1/3) = 65.47307713912309 | geometricMean |
|
||||||
| 67 | Harmonic Mean of N Numbers | Harmonic mean of 2 numbers 99 and 25 = | 2/((1/99) + (1/25)) = 39.91935483870967 | harmonicMean |
|
| 67 | Harmonic Mean of N Numbers | Harmonic mean of 2 numbers 99 and 25 = | 2/((1/99) + (1/25)) = 39.91935483870967 | harmonicMean |
|
||||||
|
| 82 | Decimal to Octal Conversion | What's the octal representation of 98? | 0o142 | decimalToOctalFunc |
|
||||||
|
| 83 | Decimal to Roman Numerals | What's the Roman Numeral representation of 3805? | MMMDCCCV | decimalToRomanNumeralsFunc
|
||||||
|
|||||||
@@ -84,3 +84,4 @@ from .compoundInterestFunc import *
|
|||||||
from .deciToHexaFunc import *
|
from .deciToHexaFunc import *
|
||||||
from .percentageFunc import *
|
from .percentageFunc import *
|
||||||
from .celsiustofahrenheit import *
|
from .celsiustofahrenheit import *
|
||||||
|
from .decimaltoOctalFunc import *
|
||||||
|
|||||||
@@ -268,3 +268,5 @@ decimalToHexadeci = Generator("Decimal to Hexadecimal", 79, "Binary of a=",
|
|||||||
percentage = Generator("Percentage of a number", 80, "What is a% of b?",
|
percentage = Generator("Percentage of a number", 80, "What is a% of b?",
|
||||||
"percentage", percentageFunc)
|
"percentage", percentageFunc)
|
||||||
celsiustofahrenheit = Generator("Celsius To Fahrenheit", 81, "(C +(9/5))+32=", "F", celsiustofahrenheitFunc)
|
celsiustofahrenheit = Generator("Celsius To Fahrenheit", 81, "(C +(9/5))+32=", "F", celsiustofahrenheitFunc)
|
||||||
|
decimalToOctal = Generator("Converts decimal to octal", 82, "What's the octal representation of 98?", "0o142", decimalToOctalFunc)
|
||||||
|
decimalToRomanNumerals = Generator("Converts decimal to Roman Numerals", 83, "Convert 20 into Roman Numerals", "XX", decimalToRomanNumeralsFunc)
|
||||||
|
|||||||
Reference in New Issue
Block a user