42
智能化计算器 智能化计算器 彭海宏 彭海宏 加拿大,安大略省,多伦多市 加拿大,安大略省,多伦多市

Smart Calculator Show

Embed Size (px)

Citation preview

Page 1: Smart Calculator Show

智能化计算器 智能化计算器

彭海宏彭海宏加拿大,安大略省,多伦多市加拿大,安大略省,多伦多市

Page 2: Smart Calculator Show

背景背景 在在 20082008 年年 88 月创建的世界上第一个具有图形用月创建的世界上第一个具有图形用

户界面的户界面的智能智能基础科学计算器基础科学计算器 支持无限的模块化计算 支持无限的模块化计算 最快,最小 最快,最小 - - 最有效 最有效 DOSDOS 版本,批量处理的版本,版本,批量处理的版本, WindowsWindows 窗体版窗体版

本和本和 Asp.NetAsp.Net 格式文本都使用相同的算法模块格式文本都使用相同的算法模块 数学分析和计算唯一的正确的算法 数学分析和计算唯一的正确的算法 - 100- 100 %正确 %正确 为今后复杂的计算和全面的科学计算器之基础为今后复杂的计算和全面的科学计算器之基础 价值不亚于哥德巴赫猜想 价值不亚于哥德巴赫猜想

Page 3: Smart Calculator Show

应用范围应用范围

新一代计算器 新一代计算器 手机应用手机应用 科学计算工具,如类似科学计算工具,如类似 MATLABMATLAB 的的

软件软件 出纳自动化系统,银行系统等 出纳自动化系统,银行系统等 手写屏幕,触摸屏计算器等手写屏幕,触摸屏计算器等

Page 4: Smart Calculator Show

WindowsWindows 窗体版本窗体版本

Page 5: Smart Calculator Show

特点特点

你所看到的就是你所得到的你所看到的就是你所得到的 没有 没有 MC, MR, MS, M+ MC, MR, MS, M+ 键键 支持输入和剪贴进来的方程 支持输入和剪贴进来的方程 弹性,可伸缩的输入和输出区域弹性,可伸缩的输入和输出区域

,以支持大数据 ,以支持大数据

Page 6: Smart Calculator Show

WindowsWindows 窗体版本展示窗体版本展示

将下面方程打入或剪贴入输入框将下面方程打入或剪贴入输入框

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 7: Smart Calculator Show

步骤 步骤 2 – 2 – 点击 “点击 “ =”=”

Page 8: Smart Calculator Show

步骤 步骤 3 – 3 – 结果结果

Page 9: Smart Calculator Show

无限的模块化计算 无限的模块化计算 模块化的计算可以通过()分隔,它可能模块化的计算可以通过()分隔,它可能

会释放出很多的会释放出很多的 +/-+/- 标志 标志 (((((((((((((((((((((((789)))))))))))))))))))))))+(((((((((((((((((((((((789)))))))))))))))))))))))+

((((((((((((((((((((((((((((((((((((((((((((((((((321((((((((((((((((((((((((((((((((((((((((((((((((((321)))))))))))))))))))))))))))))))))))))))))))))))))) = )))))))))))))))))))))))))))))))))))))))))))))))))) = 11101110

假设假设 789789 ,, 321321 可能是模块化的计算结果可能是模块化的计算结果,因此上述类似的情况可以在复杂的计算,因此上述类似的情况可以在复杂的计算发生发生

Page 10: Smart Calculator Show

批处理版本 批处理版本

Page 11: Smart Calculator Show

批处理版本特点 批处理版本特点 适用于手写板,触摸屏 适用于手写板,触摸屏

Page 12: Smart Calculator Show

批处理版本 批处理版本 - - 点击“计算” 点击“计算”

Page 13: Smart Calculator Show

网络版 网络版

Page 14: Smart Calculator Show

步骤 步骤 1 –1 – 网络版 网络版

将下面方程打入或剪贴入输入框将下面方程打入或剪贴入输入框 ::

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 15: Smart Calculator Show

步骤 步骤 2 – 2 – 点击 “点击 “ =”=”

Page 16: Smart Calculator Show

DOS DOS 版本版本

Page 17: Smart Calculator Show

步骤 步骤 1 – DOS 1 – DOS 版本版本

将下面方程打入或剪贴入输入框将下面方程打入或剪贴入输入框 ::

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 18: Smart Calculator Show

步骤 步骤 2 – 2 – 按按 EnterEnter 键 键

Page 19: Smart Calculator Show

步骤 步骤 3 – 3 – 结果结果

Page 20: Smart Calculator Show

未来未来

该算法迄今是唯一的一个该算法迄今是唯一的一个 100100 %正确的%正确的基本科学计算,这可以处理无限长度方基本科学计算,这可以处理无限长度方程且其性能优越 程且其性能优越

多线程可以被添加以进一步提升速度 多线程可以被添加以进一步提升速度 就像在围棋序盘一个很好的举措,因为它是就像在围棋序盘一个很好的举措,因为它是

非常根本的,其未来的发展是巨大的和无限非常根本的,其未来的发展是巨大的和无限的的 ; ; 当然,我们需要认真考虑如何开发新的当然,我们需要认真考虑如何开发新的地平线 地平线

Page 21: Smart Calculator Show

作者作者

加拿大西方大学(西安大略)工程科学硕士 加拿大西方大学(西安大略)工程科学硕士 电子邮件电子邮件 : : [email protected]@hotmail.com 电话电话 : 1-647-889-5519: 1-647-889-5519 现在,在多伦多,加拿大 现在,在多伦多,加拿大 微软微软 .Net.Net 企业级应用程序的应用程序架构师企业级应用程序的应用程序架构师

,设计人员,开发人员,设计人员,开发人员

Page 22: Smart Calculator Show

Smart CalculatorSmart Calculator

Haihong PENGHaihong PENG

Toronto, ON, CanadaToronto, ON, Canada

Page 23: Smart Calculator Show

BackgroundBackground

First ever Graphic User Interfaced First ever Graphic User Interfaced SmartSmart Basic Basic Scientific Calculator created in August 2008 Scientific Calculator created in August 2008

Support unlimited modular calculationsSupport unlimited modular calculations The fastest, the smallest – the most efficientThe fastest, the smallest – the most efficient The algorithm module is identical for DOS version, The algorithm module is identical for DOS version,

Batch process version, Windows form version and Batch process version, Windows form version and Asp.Net form versionAsp.Net form version

Only working algorithm for the real mathematical Only working algorithm for the real mathematical parsing and calculations – 100% correctparsing and calculations – 100% correct

Fundamental for future complicated calculations Fundamental for future complicated calculations and Full Scientific Calculator to be developedand Full Scientific Calculator to be developed

Value not second to GoldbachValue not second to Goldbach

Page 24: Smart Calculator Show

UsageUsage

New Generations of CalculatorNew Generations of Calculator Mobile UtilizationMobile Utilization Scientific tools such as softwares similar to Scientific tools such as softwares similar to

MatLabMatLab Cashier Automation System, Banking Cashier Automation System, Banking

Systems, etcSystems, etc Scratch screen, touch screen Calculator, etcScratch screen, touch screen Calculator, etc

Page 25: Smart Calculator Show

Windows Form VersionWindows Form Version

Page 26: Smart Calculator Show

FeaturesFeatures

What You See Is What You GetWhat You See Is What You Get No MC, MR, MS, M+ keysNo MC, MR, MS, M+ keys Support both punch-in equations and copied Support both punch-in equations and copied

equations from the operation systemsequations from the operation systems Elastic, stretchable input and output area to Elastic, stretchable input and output area to

support big datasupport big data

Page 27: Smart Calculator Show

Walkthrough for Win-formedWalkthrough for Win-formed

Either type, paste or punch the following Either type, paste or punch the following equation into the Equation Input Box:equation into the Equation Input Box:

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 28: Smart Calculator Show

Step 2 – Click “=”Step 2 – Click “=”

Page 29: Smart Calculator Show

Step 3 - ResultsStep 3 - Results

Page 30: Smart Calculator Show

Unlimited Modular CalculationUnlimited Modular Calculation

Modular calculation could be delimited by () Modular calculation could be delimited by () and it could emit so many +/- signsand it could emit so many +/- signs

(((((((((((((((((((((((789)))))))))))))))))))))))+(((((((((((((((((((((((789)))))))))))))))))))))))+((((((((((((((((((((((((((((((((((((((((((((((((((321))))((((((((((((((((((((((((((((((((((((((((((((((((((321)))))))))))))))))))))))))))))))))))))))))))))))))) = 1110)))))))))))))))))))))))))))))))))))))))))))))) = 1110

Suppose 789, 321 could be results of Suppose 789, 321 could be results of modular calculations, thus the above similar modular calculations, thus the above similar scenario could happen in complex scenario could happen in complex calculationscalculations

Page 31: Smart Calculator Show

Batch Process VersionBatch Process Version

Page 32: Smart Calculator Show

Features for Batch Process VersionFeatures for Batch Process Version

Suitable for scratch, touch screenSuitable for scratch, touch screen

Page 33: Smart Calculator Show

Batch Process Version – Click Batch Process Version – Click “Compute”“Compute”

Page 34: Smart Calculator Show

Web VersionWeb Version

Page 35: Smart Calculator Show

Step 1 – Web VersionStep 1 – Web Version

Either punch or paste the following equation Either punch or paste the following equation into the Equation Input Box:into the Equation Input Box:

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 36: Smart Calculator Show

Step 2 – Click “=”Step 2 – Click “=”

Page 37: Smart Calculator Show

DOS VersionDOS Version

Page 38: Smart Calculator Show

Step 1 – DOS VersionStep 1 – DOS Version

Either type or paste the following equation Either type or paste the following equation into the command line:into the command line:

2.3/((2.48-2.3/((2.48-3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))3.)+.2)*(8.2+43.8-.2*(23.+2.3*5.6))+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.28+2.3-.46*5.6*(223.*(2.93*(4.3+2.*4.3*(23.283*2)))) 3*2))))

Page 39: Smart Calculator Show

Step 2 – Press Enter KeyStep 2 – Press Enter Key

Page 40: Smart Calculator Show

Step 3 - ResultStep 3 - Result

Page 41: Smart Calculator Show

FutureFuture

The algorithm so far is the only working one for The algorithm so far is the only working one for 100% of basic scientific equations which could 100% of basic scientific equations which could deal with unlimited length of equations and the deal with unlimited length of equations and the performance is superiorperformance is superior

Multi-thread could be added to further boost speedMulti-thread could be added to further boost speed Just like a good move in the early stage of Go Just like a good move in the early stage of Go

Chess, since it’s a very fundamental one, its future Chess, since it’s a very fundamental one, its future development is tremendous and unlimited; of development is tremendous and unlimited; of course, we need to think hard how to develop new course, we need to think hard how to develop new horizonhorizon

Page 42: Smart Calculator Show

AuthorAuthor

Master of Engineering Science from Master of Engineering Science from Western University, CanadaWestern University, Canada

Email: Email: [email protected]@hotmail.com Telephone: 1-647-889-5519Telephone: 1-647-889-5519 Now in Toronto, ON, CanadaNow in Toronto, ON, Canada An Application Architect, Designer, An Application Architect, Designer,

Developer for Microsoft .Net Enterprise Developer for Microsoft .Net Enterprise ApplicationApplication