Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
16
|
第一章
若想刪除零開頭的數字,可使用
DeleteCases
指令。
與
IntegerDigits[]
功能相反的指令為
FromDigits[]
。
以二進位運算
FromDigits[]
指令可將數字或羅馬數字等字串轉換為數值。
IntegerString[]
指令則用來將數字轉換為字串。以下使用
InputForm
指令顯示字串雙
引號。[Page-016]
ch01.indd 16 2014/4/2 下午 05:20:38
1.5 使用數值區間(Interval)
|
17
1.5 使用數值區間(Interval)
問題點
當數據包含量測誤差時,你想要評估運算結果的最大誤差範圍。
解決方案
除了使用數學方法外,Mathematica 提供了另一個途徑:直接以
數值區間
(
Interval
)進
行運算。數值區間代表一個不確定的數值,其上下限為明確的數值。
以上是一個簡單的範例,當物體的速度與質量的量測均包含誤差時,將影響動能的範
圍。
以此範例可了解誤差值如何於運算過程中放大。
運算區間的範圍大小
若只有質量項具量測誤差,則動能的誤差將降低。[Page-017]
ch01.indd 17 2014/4/2 下午 05:20:39
18
|
第一章
討論說明
數值區間的標頭為
Interval
,
Interval
內可包含數個區間串列
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106