May 08 2012

Working with equations gets even easier

Tag: Productsvickyg @ 2:19 pm

Equations are fiddly things to construct in a document, email or web page – it’s almost impossible to make them look right without a dedicated equation editor. The Equation Editor that’s bundled with Microsoft Word has hardly changed in almost 20 years, so for a flexible, inexpensive solution that’s easy to use, has a huge range of formatting and presentation options, and works with just about every online or desktop application you’re ever likely to use, there’s nothing to rival MathType.

MathType 6.8 for Windows has just been released and it’s hard to imagine a more useful tool. It works with over 600 applications and websites, including 64-bit Microsoft Office 2010. It offers better accessibility for people with, for example, low vision; speech commands; handwriting input and much more. One major new feature of MathType 6.8 lets you paste a table from your spreadsheet, document or web page straight into MathType as a matrix – that’s really useful.

Why not download our MathType 6.8 trial version today? Even if you don’t decide to buy it, after the 30-day trial has expired it reverts to the free MathType Lite which has a lot more functionality than Equation Editor, so it’s a win-win for you whatever you decide!


May 01 2012

Making plans for the future following success of first Maple TA workshop

Tag: Events,Productsvickyg @ 12:49 pm

On 26th April at Leicester University, Adept Scientific and Maplesoft were joined by representatives from universities across the country for the first Maple T.A. workshop. This successful event brought together a range of new and established users to gain a better understanding of Maple T.A.’s intelligent online assessment capabilities, share knowledge and experiences, gain tips on creating specific questions in Maple TA and take the first steps to building a supportive UK user group.

There are already plans for further meetings and workshops in the future, and we’ve got plenty food for thought as to how we go about setting up the eagerly-anticipated Maple TA user community.

If you missed this event, but you’d like to be kept informed about any upcoming Maple TA-related gatherings/discussion groups, please email mapleta@adeptscience.co.uk or call +44(0)1462 489109.


Apr 10 2012

A bumper week for conferences

Tag: Adept Scientific,Eventsvickyg @ 4:04 pm

Adept Scientific is out and about across the country this week, attending three different academic events:

Tomorrow, our maths and simulation software specialist, Samir Khan will be showcasing the latest advances in maths teaching software to academics, teachers and PGCE students at the Mathematics Association Annual Conference, Keele University, Staffordshire. 

At the same time, our biblio software product manager, Stephanie Marshall will be on hand at the Librarians’ Information Literacy Annual Conference (LILAC 2012) in Glasgow to answer questions and demonstrate EndNote, EndNote Web and Reference Manager.

Then on Thursday and Friday, we’re attending the STEM 2012 Annual Conference at Imperial College, London to show how online assessment tool, Maple T.A., offers academic institutions innovative methods to deliver effective, efficient mathematics and technical education.

If you’re attending any of these event, look out for us and come say hello!


Apr 10 2012

Fractals in Mathcad

Tag: Mathcadsamir @ 11:18 am

I first plotted the Mandelbrot set on a Spectrum 48k, sometime in my early teens. Writing the code probably took a few hours (hey…I never said I was fast at these things). I left my Spectrum running overnight, chugging away and number crunching. I woke up in the morning to find a highly-pixelated  image of the fractal, plotted in wonderful black and white. I beckoned my sister to witness the mathematical glory I had produced, but she was too busy watching Going Live.

Since those halcyon days, one of the first things I do when I learn a new programming language or maths tool is to plot a fractal (it’s my warped version of  ”Hello World”). For example, here’s an earlier Maple worksheet and blog I wrote about the Mandebrot set.

In my time, I’ve plotted Mandelbrot Sets, Julia Sets, Quanternion fractals, Koch triangles and more. However, I always drift back to the Mandelbrot set. The deeper you dive into its complex canyons, the more beauty you discover.

I won’t discuss the mathematics or the algorithms in detail, but here’s part of a Mathcad worksheet that generates the Mandelbrot set (the download link is at the bottom of this post)

The first program generates a matrix giving the number of iterations before each point in the set tends to infinity (i.e  is greater than a bailout value). The second program colours each point with custom RGB values; this is then plotted in a 2D plot.

A Mathcad routine to generate the Julia set follows the same process (again, the download link is at the bottom of this post).

Here’s a few colourful renderings of the Mandelbrot Set and the Julia Set I’ve generated using these Mathcad worksheets.  The colouring algorithm is where much of the artistry comes into play.  Just by tweaking a few numbers, you can produce remarkably different pictures.

These pictures were generated entirely inside Mathcad, with no other image editing.


So what are the downsides of using Mathcad for generating fractals? Mathcad’s an interpreted environment, so compiled C code will always be many orders of magnitude faster. However, a Mathcad worksheet is good for developing the initial algorithms – it’s a much more interactive, easy-to-use environment than a text editor and a compiler. Mathcad gives you much faster feedback on your algorithms than a traditional programming language.

Mathcad Worksheet for the Julia Set

Mathcad Worksheet for the Mandelbrot Set


Apr 02 2012

Making Maths More Interactive with Maple

Tag: Maplesamir @ 9:46 am

I first encountered Maple in 1994, and I’ve sold and supported Maple for the last ten years. You’d have thought by now I’d be jaded and cynical

But every new release includes features that cause my ears to prick up. Some of these just make the tuning fork in my head vibrate at the frequency of geek (such as the identify function).

But often, new additions to Maple’s functionality have real, tangible benefits to the way I work. Maple 15′s ability to communicate with web services enabled me to develop a whole new class of applications; I used this functionality to download stock quotes, weather data and even historical prices for brent crude.

With Maple 16, it’s the Drag-to-Solve and Smart Popups features. Combined with the existing context-sensitive menus, these features make maths even more accessible to students who would otherwise be daunted by the mechanical manipulation of equations.

Drag-to-solve lets you add, subtract, multiply and divide simply by dragging a portion of your equation to the other side of the equation. Here’s a simple example in a video.

The interactivity goes one step beyond this.  If you highlight-and-hover over part of an equation, an interactive  tooltip pops up, giving you access to many different mathematical operations. For example, you could highlight sin(2x), and the tooltip would give access to several trig identities, each with automatic previews of the resulting equation.  If Maple identifies your highlight expression can be simplified, you get that option as well. Again, here’s another video demonstrating this new feature.

For maths to be fun, it has to be interactive; you need to lower the barrier between a mathematical concept and the realisation of that concept.  Maplesoft have been addressing this issue for a long time. The last big leap was the context-sensitive menus; these gave quick access to mathematical functionality through intelligent right click menus.

Now, with Drag-to-Solve and Smart Popups, Maplesoft have further removed the need to know commands to successfully use computer algebra tools.


Mar 28 2012

Preliminary user feedback about Mathcad Prime 2.0

Tag: Mathcad,Products,Uncategorizedvickyg @ 10:14 am

To make sure Mathcad Prime 2.0 is meeting the needs and expectations of engineers, PTC has been in touch with several customers and alpha testers to hear some of their preliminary feedback about the latest release. In this post, we hear from two Design Engineers – Gnouni Yengoian and Mike Armstrong, a Senior Technology Engineer – Bert Beirinckx, a Professor Emeritus – Clyde Metz, and a current professor- Michael Thackston. They were asked about the differences and improvements of Mathcad Prime 2.0 compared to other past versions. Here is what they said:

The users said the major difference between Mathcad Prime 2.0 and older versions was the layout/interface and the Excel component. Metz said, “The major change… is the use of the banner instead of dropdown menus… the banner is quicker and, in my opinion, organised better. I can spot an icon much faster than trying to interpret phrases on the dropdown menu.” Yengoian believed, “The ability to utilise Microsoft Excel is by far the most useful improvement.”

In addition to this, Beirinckx also said “Performance has improved dramatically after the Alpha-version, and Prime 2.0 is starting to look like something an experienced Mathcad user can work with.”

Some of the features the users were most excited to share about Mathcad Prime 2.0, that they couldn’t do before, were “three-dimensional (surface) graphing ability of data and the matrix representation of the data tables.  Also… the additional methods for solving differential equations.” Another said, “Utilising hidden areas and using various graphs and images from other documents without the risk of corrupting the Mathcad file.”

Still another user stated, “I would consider mixed unit arrays the most improved feature. I have been limited over the years when dealing with large amounts of data due to the exclusion of MDA’s after Mathcad 11. I have also found the new Excel component is a massive improvement on previous versions.” With this variety in favorites, it is clear Mathcad Prime 2.0 has a lot to offer the user.

Along with having exciting new features, Mathcad Prime 2.0 has proved to be a time saver. One user said “Because the content in a Mathcad worksheet (old or new) appears very similar to what appears in textbooks… it is easy to read and correct errors… It’s easy to prepare a worksheet.  Also, being able to look at various Mathcad electronic books and being able to copy/paste content from these books to the worksheet definitely helps in creating a worksheet. Anything that makes things easier to enter or read is a time saver.”

Yengoian agreed for different reasons saying, “The standardised calculation worksheets have cut our engineering hours by half, if not more. We expect to further improve our efficiency, as future revisions allow us to standardise more aspects of our work.”

Additionally Thackston said, “The overall look of a Prime worksheet is a little bit nicer; it looks a bit more polished. I can use fully-justified text.  That may sound like an odd thing to mention for this type of “tool”, but something that I emphasise, is that Mathcad is a really good document-creating tool.  The appearance, as well as the content, of a document can be important.” Another user said, “New users will be very impressed by Mathcad Prime 2.0… The layout is clear and the formatting of documents has improved from Prime 1.0.”

Put the software to the test and download a 30-day free trial of Mathcad Prime 2.0 today


Mar 23 2012

Adept Scientific Raises Funds for Sport Relief 2012

Tag: charity,Events,Peoplejackiem @ 4:06 pm

On Friday lunchtime, some of us at Adept Scientific headed out into the hazy, summer-like day to clock a few miles for Sport Relief.  Twelve participants (11 human and 1 canine) began a 4-mile walk from the Letchworth office and headed north towards the scenic footpaths of idyllic Norton, which rewarded us with picturesque views of farmland and the surrounding countryside of Hertfordshire.

Our brisk pace was eased slightly by a quick stopover at the Three Horseshoes pub, where we convened for a cold drink before heading back to the office to eat a baked potato and tally up our donations. As Adept Scientific agreed to donate £1 per mile walked per person (or animal) doubled, we managed to raise a respectable £108 for Sport Relief. Not bad for bit of fresh air and exercise!

Click here if you’d like to see the route we took.

What have you done, or what will you be doing, to raise money for Sport Relief this year?


Mar 22 2012

Using Tablets for DAQ – Android Temperature Chart using USB-2001-TC

Tag: Productsvickyg @ 1:56 pm

Download the Tablets for DAQ White Paper

As tablets gain popularity and take away market share from conventional laptops and desktops, Measurement Computing is at the forefront of targeting these new devices with their USB DAQ.

The USB-2001-TC Android™ Temperature Chart application demonstrates one of the features of Measurement Computing’s DAQFlex devices. DAQFlex devices interface with an open source library and a simple, standardised USB communication protocol. This allows developers to design a system on virtually any operating system using any hardware platform that supports USB host mode. Download this whitepaper to discover more about message-based programming with DAQFlex.

The USB-2001-TC on Android Honeycomb (3.1) or above was targeted specifically for this demo, as it was designed with a special purpose in mind. It utilises Android’s native Java USB API directly, focusing on a single platform.

C# Developers can design cross-platform applications for Windows®, Linux®, and Mac®, using the DAQFlex API for .NET along with the Mono project. For Android, Java is the standard programming language. Due to the open source nature of the DAQFlex API, it can be easily ported to other languages and operating systems as this example does.

The application installer (APK) is available for download at mccdaq.com/apk.  To use the demo, copy the APK to your Android Honeycomb device’s internal or external storage. Make sure that non-market applications are enabled. Then, open the APK file to install the application. Once the application is installed, either run the application manually or plug in the USB-2001-TC and the Android device will ask you to open the application automatically. Once the application is running, be sure to give it permission to access the USB device.

Contact us to find out more about Measurement Computing’s USB DAQ products supported under the DAQFlex software framework.


Mar 12 2012

Asset Allocation with the Omega Ratio and Maple

Tag: Maplesamir @ 8:40 pm

Investors traditionally use performance benchmarks to gauge the risk-reward ratio of stocks and unit trusts. The Sharpe Ratio of a stock, for example, is equal to the excess return divided by the standard deviation of the returns. The Sharpe Ratio, however, assumes that the returns are normally distributed, and penalises upside volatility as well as downside volatility.

Many investment vehicles (such as hedge funds), however, are not normally distributed and exhibit skew and kurtosis in the returns distribution. Additionally, many investors want to encourage upside volatility and only penalise downside volatility.

Shadwick and Keaton  (2001) define a new performance benchmark called the Omega Ratio. The Omega Ratio is equal to the area of a returns distribution above an acceptable return divided by the area of a returns distribution below an acceptable return. This definition neatly captures all the information in the empirical returns distribution and better describes the risk profile of most investors.

Given a list of historical returns and the minimum acceptable return, the Omega Ratio is easily calculated in Maple. Figure 1 gives an example calculation, which uses Maple’s select statements to separate the returns above and below the minimum acceptable return.

Figure 1. The Omega Ratio in Maple

The Omega Ratio of a portfolio of several investments is calculated from the weighted historical returns. Figure 2 shows a procedure that calculated the Omega Ratio of a portfolio of three investments. The procedure

  • accepts three arguments – the weights of three investments (weight1, weight 2 and weight3)
  • calculates the weighted historical returns based on three lists of historical returns (returns1, returns2 and returns 3, defined elsewhere)
  • and returns the Omega Ratio.

Figure 2. Procedure to calculate the Omega Ratio of three investments in Maple

Mean-variance optimisation is a traditional asset allocation technique, introduced by Harry Markowitz in 1952. However, financial analysts often levy several criticisms against this technique. Mean-variance optimisation

  • assumes the returns are normally distributed (and hence does not model the risk of low-probability but high impact events)
  • is sensitive to risk-free rates (a small change in risk-free rate can generate very different investment weights).

Financial analysts are now exploring how the Omega Ratio can be used to optimise asset allocation. The problem is simple to state: what are the investment weights that maximise the Omega Ratio of a portfolio of assets.

In reality, this optimisation problem is non-convex and non-smooth. Traditional gradient-based optimisers only give local maxima and will not necessarily converge on the optimal investment weights.  Maple’s Global Optimization Toolbox, however, easily processes this class of problem.

Figure 3 shows simulated returns for three assets (the data is derived from Figures 5, 6 and 7 of this paper).

Figure 3. Simulated Asset Returns

Figure 4 demonstrates the use of the Global Optimization Toolbox to find the investment weights that maximise the Omega Ratio, given the procedure in Figure 2 and the returns in Figure 3.

Figure 4. Maximize the Omega Ratio with the Global Optimziation Toolbox

A Maple 15 worksheet with the calculations described above can be download from the link at the bottom of this post.  Although only three investments are used, the Global Optimization Toolbox can process a far larger investment space.

Additionally, a very large investment space can be processed in parallel. The space of investment weights is split into multiple sections, with the Global Optimization Toolbox operating in parallel on each section. Once the optimum investment weights for each section are found, the results (i.e. the investment weights and the Omega ratio for each section) are collected. The investment weights that give the largest Omega Ratio are then chosen.

The parallel optimisation is conducted using

  • local grid computing (a part of the base Maple package), which enables the user to launch multiple thread-safe processes on a single computer
  • or the Grid Computing Toolbox, which allows a calculation to be deployed to a cluster.

Download Maple 15 Worksheet to Optimise the Omega Ratio with the Global Optimization Toolbox

 


Mar 12 2012

What’s maths got to do with real life?

Tag: Events,Productsvickyg @ 2:21 pm

If you’ve ever doubted the importance of maths, science and engineering in our everyday lives, the organisers of the National Science and Engineering Week (running from 9-19 March 2012) will set the record straight. This 10-day celebration of all things science, maths and engineering aims to raise awareness, spark enthusiasm and celebrate these much maligned subjects to the young and old.

As our colourful, giant ‘Maths Matters’ poster shows, maths has significantly influenced modern life and played an integral role in the development and implementation of the top technological achievements of the twentieth century. From household appliances to nuclear technology, from laser and fibre optics to telephones and the internet, from automobiles to spacecraft, maths theories and models of real-World problems have helped to make technology more efficient and effective, and drive continued innovation. Click here to download the poster as a pdf or if you’re in the UK email us to request your free printed copy.

Such models, theories and solutions are only achievable with the very best technical software tools such as problem-solving powerhouse – Maple, physical modelling marvel – MapleSim and engineering calculation standard – Mathcad. These products help engineers, scientists and mathematicians to work better, faster, and smarter to create cutting-edge technology that improve all our lives.


Next Page »