Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Watch Maple Video Demonstrations
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 17 Overview
Maple 17 Professional
Maple 17 Academic
Maple 17 Student Use
What's New in Maple 17
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes
The Möbius Project

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Re: log[10]( ) and prettyprinting

Search email archive for  

[MUG] Re: log[10]( ) and prettyprinting
Author: Robert Israel    Posted: 20/10/2000 00:42:44 GDT
>> From: Robert Israel

It has nothing to do with printing, pretty or otherwise. The answer is
simply that unless x is a float, log[10](x) returns a symbolic answer
ln(x)/ln(10). There is no simplification (apart from whatever ln does to
x).
1000.0 is a float, so log[10](1000.0) returns 3.000000000.
1000 is an integer, not a float, so log[10](1000) returns
ln(1000)/ln(10) (and "ln" doesn't do any simplification on ln(1000)).
However, simplify(log[10](1000)) will return 3, and evalf(log[10](1000))
will return 3.000000000.

Robert Israel
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2

On Thu, 12 Oct 2000, Nathan Sokalski wrote:

> >> From: "Nathan Sokalski"
>
> In general, undetailed, non-technical terms, would it be correct to say that
> prettyprinting displays the function rather than the "answer" when an exact
> decimal or fraction does not exist? Anyway, isn't it supposed to give the
> numerical answer if it is just a simple 3 or 4 kind of answer? Well, why
> doesn't it do that when I enter log[10](1000); or log[10](10000); ? The
> answer is an exact integer, right? Yes, I do know how to use evalf() and
> change the settings for prettyprinting, but why should I need to do this for
> such a simple answer? I did notice that when it displays the answer it
> displays ln(1000)/ln(10) , which uses the natural log. Is there some
> internal rounding that occurs with the natural log in the process that makes
> it think 3 or 4 is not the exact answer? Any info would be appreciated.
>
> Nathan Sokalski
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
>

[View Complete Thread]



Previous by date: [MUG] Illustrating Trapezoidal Rule, Gold1
Next by date: [MUG] slow series(solve(..)) quirk in Maple VI, V.X>3, Desmond Johnston
Previous thread: [MUG] Step-by-step solving and verifying of differential equations, Chuck Baker
Next thread: [MUG] solve,  Ruth Plathe



Ready to buy?

Maple Professional
Add to shopping basket
£ 1,695.00
Maple - for academic use
Add to shopping basket
£ 940.00
Maple - for registered students
Add to shopping basket
£ 95.00

Featured Downloads

Maplesoft Product Catalogue
Maple Player for iPad - Datasheet
Maple 17 What's New datasheet
Maple 17 Professional Datasheet
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper - Technological Superiority in Multi-Domain Physical Modelling and Simulation

Latest Downloads

Maple - Global Optimization Toolbox
The Möbius Project - Create it, Share it, Grade it
Maple 17 Programming Guide
Maple 17 User Manual
Maplesoft Product Catalogue - Academic Maths

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

Global Optimization Toolbox: Better Optimization to Solve More Problems, Faster
Global Optimization Toolbox: Better Optimization to Solve More Problems, Faster
New MapleSim release delivers advanced model development and analysis, extended toolchain connectivity and quicker results
Maple 17 offers advanced solving and application development capabilities
New release of Maple advances teaching and research
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2013, Adept Scientific Ltd.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055