Opened 14 years ago
Closed 14 years ago
#1937 closed defect (notabug)
OLPC-Calculate Activity – Unwanted star sign (multiplication sign) is appearing when clicks on Inverse option.
Reported by: | Niranjala80 | Owned by: | rwh |
---|---|---|---|
Priority: | Normal | Milestone: | Unspecified |
Component: | Calculate | Version: | Unspecified |
Severity: | Trivial | Keywords: | OS13 |
Cc: | Distribution/OS: | Other (name your distribution in the description) | |
Bug Status: | New |
Description
Description:
Enter value. For instance, 2
Click on inverse option.
It displays like 2-1
Here double star (multiplication sign) is unnecessary.
It should be like, 2*-1. I.e. only one star sign (multiplication sign) should appear.
Steps to recreate the defect:
- Power on OLPC
- Click on the calculate icon on home page.
- Click on Algebra tab.
- Place the cursor on entry box.
- Enter valid value.
- Click on Inverse option.
- Verify the result displayed on the entry box.
Actual Result:
It displays double stars (multiplication sign) on entry box, when click on Inverse option.
Expected Result:
It should display only one star (multiplication sign) on entry box, when click on Inverse option.
Tested Environment:
OS build: 802b5
Machine type: XO1
Firmware: Q2E41
Security disable: Yes
Sugar version: 0.82.1
Activity Version: 30
OS build: OS13
Machine type: XO1
Firmware: Q2E42
Security disable: Yes
Sugar version: 0.84.14
Activity Version: 30
OS build: OS116
Machine type: XO1.5
Firmware: Q3A35
Security disable: Yes
Sugar version: 0.84.14
Activity Version: 30
Change History (1)
comment:1 Changed 14 years ago by quozl
- Resolution set to notabug
- Status changed from new to closed
I disagree with the expected result. Inverse function is mathematical inversion, not sign reversal, but "one divided by x", expressed also as "x raised to the power minus one". The "" operator is Python "raise to the power of" notation. While the Python notation might not be the best to use in an educational environment, the action of the inverse button is correct.
References:
http://en.wikipedia.org/wiki/Inverse_proportion#Inverse_proportionality