Skip to main content

5 posts tagged with "MecSimCalc"

View All Tags

· 2 min read

The following blogposts were written by John Yu for apps he had created on MecSimCalc. John Yu was a student researcher working with MecSimCalc for 8 months. We will miss you John!

Algebraic Operation on Complex Numbers

This blog post is dedicated to the Algebraic Operation on Complex Numbers app created by John Yu.

About the app

The Algebraic Operation on Complex Numbers app is intended for students taking a linear algebra course. This app helps students better grasp how operations are performed with complex numbers. The app lets you perform 4 types of operations: addition, subtraction, multiplication, and division. Addition and subtraction using complex numbers is best performed using vectors and the app walks users through the steps using visual aids. Multiplication and division using complex numbers is best performed using euler form and the app provides excellent visual aids to assist students in learning the step-by-step process. Learning how to perform operations on complex numbers is very important for any engineering student. Complex numbers have many practical applications particularly in electrical and computer engineering where these skills will be invaluable. Students who use this app will find themselves better prepared for their future engineering courses.

Understanding Vector Fields

This blog post is dedicated to the Understanding Vector Fields app created by John Yu.

About the app

The Understanding Vector Fields app lets you visually generate a vector field. The app takes in an equation representing your vector field and plots each vector on a graph. It is useful in a variety of applications. Vector calculus is a very important skill and many engineering students take a calculus class dedicated to this subject. You can plot simple equations like the flow of a river with the equation . You can plot more complicated vector fields like a magnetic field using the equation .

· One min read

This blog post is dedicated to the MecSimCalc Workshop for the Vivid Hacks v1.5 Hackathon on August 6th, 2022. For more info on Vivid Hacks visit Vivid Hacks and to see the project gallery for the hackathon visit their DevPost.

This is a recording of the workshop detailing how to use MecSimCalc. In this workshop, I create a simple app that returns the product of two variables and prints a message in the output specified by the user. The entire process for making an app on MecSimCalc from start to publishing is shown and takes around 10 mintues. Make sure to visit the MecSimCalc YouTube Channel and subscribe.

· 4 min read

The following blogposts were written by John Yu for various apps he had created on MecSimCalc.

Pairwise Testing Generator

This blog post is dedicated to the Pairwise Testing Generator app created by John Yu.

About the Pairwise Testing Generator

The pairwise testing generator is an app that can generate a set of test cases with up to 5 independent variables. The app uses a technique called Taguchi Orthogonal Arrays such that every pairing of variables appears in at least one test case. This method is significantly more powerful and more efficient compared to brute-force testing. You can get full testing coverage of your program using significantly less test cases. This can save you a lot of time and a lot of money depending on the size of your program.

Why I made this app

Software testing is a critical step in the software development lifecycle. There are countless opportunities for mistakes and defects to come up at any point in the development of software. Fixing code is equally as important as creating code. Finding these bugs early in the development lifecycle will help to mitigate issues that come up later. The hard part of testing code is generating test cases. Full code coverage often comes with a huge set of test cases which is expensive and time consuming. A small set of test cases is cost effective but lacks code coverage. I made this app to help software engineers generate test cases that can provide adequate code coverage in a reasonable amount of test cases. This saves you a lot of time and money and improves the quality of your code.

Simple Linear Regression and Discrete Probability Distribution

This blog post is dedicated to the Simple Linear Regression and Visualizing Discrete Probability Distributions apps created by John Yu.

About the Simple Linear Regression and the Discrete Probability Distribution App

The simple linear regression app can generate a regression line from your set of data points. The app is intended to be a helpful tool for Statistics students to understand how the linear regression line is calculated. There are no statistical libraries used in the calculation of the regression line. All calculations are done using equations from my statistics textbook. The app will calculate the regression line as well as show you how the calculation is performed. In statistics, there are many formulas that can calculate a regression line. This app uses the simplest equation to help students gain a better understanding of how the regression line is calculated.

The Discrete Probability Distribution app can visualize common probability distributions in Statistics. This app is intended to be a helpful tool for students taking Statistics to understand how these probability distributions work. The user can play around with the parameters of the distributions defined in the app inputs to understand how these parameters impact the graph.

Truth Table Generator

This blog post is dedicated to the Truth Table Generator app created by John Yu.

About the Truth Table Generator App

The truth table generator is an app that can generate a truth table by defining a logical expression. You can define a logic expression simply by typing it into the app inputs. The app will evaluate your expression with each possible combination of inputs and return the expected output. This app is intended to be used by students taking a digital logic class who need to quickly generate a truth table. Sometimes a logic expression may be very complicated to evaluate by hand. This app can generate a truth table with any expression no matter how complicated it is. Students will find this app by helpful for verifying your truth table. The app has been tested multiple times to ensure that the expected outputs are correct.

· 11 min read

MecSimCalc had it's first ever hackathon in July 2022. This competition sponsored by 1984 Ventures, was aimed to increase the number of users and showcase the versatility of the platform. Users would create an app on the MecSimCalc website, tag it as "Comp07092022" and publish it for a chance to win up $500. $400 would be given to the app with the highest score and $100 would be given to the most viewed app. However, since we had received so many high quality submissions, three additional bonus prizes were given out to apps that had not won but were innovative uses of the platform. Throughout the competition there were 77 sign-ups and 13 submissions. This blog post is dedicated to the top 5 scoring apps from MecSimCalc's July 9th - July 16th, 2022 Build-A-Thon. To view all apps submitted during the competition, look for the tag "Comp07092022" on the MecSimCalc Explore page.

iMedicZarik Khan, Dorsa Rohani, Videet MehtaGrand Prize Winner (Highest score)$400 CAD
Javelin Power SaverChetan TyagiMost viewed app$100 CAD
Grids for artistsCamilo Andrés Rojas HernándezInnovative use of MecSimCalc$100 CAD
2D Heat Equation VisualizerJasper EitzenInnovative use of MecSimCalc$100 CAD
LymeMLSoham JainInnovative use of MecSimCalc$100 CAD


Bio: Dorsa Rohani

Dorsa Rohani is a current high school student at Pierre Elliott Trudeau High School in Ontario, Canada. From electrical and computer engineering to healthcare and medicine, Dorsa is passionate about the intersection between technology and healthcare. In creating iMedic, Dorsa aimed to define the patient experience, and to address the ongoing predicament surrounding the chronic lack of access to efficient and accurate medical diagnosis. Indeed, across the continuum of care, the execution of ethical medical examination is of high precedence. In her spare time, she enjoys challenging herself, as well as performing the cello with her local string orchestra.

Bio: Videet Mehta

Videet Mehta is a rising Junior at Dulles High School in Sugar Land Texas. He is passionate about both medicine and technology. For the last four years, he has built robots that have been placed at the top of the First Tech Challenge state and world championships. He also does competitive programming and is currently in the silver division of the USACO competition. He learned python and ML just over a year ago. And since then, he has created many medically related machine learning projects. Additionally, he is the co-founder of two ed-tech companies: Project SUCCEED ( and Xceleration (

Bio: Zarik Khan

Hi, I'm Zarik Khan and I'm a rising junior at Dulles High School. I'm passionate about machine learning, bioinformatics, web development, biomedical engineering, and app development. I worked with Videet and Dorsa to create iMedic to contribute to the distribution of medical technology in areas around the world that lack accessible access. Our project was made to detect some of the fatal causes of death in these areas to provide people a way to monitor their health and take necessary action quickly. MecsimCalc allowed us to integrate our python code into an easy, aesthetic, and secure front-end system. We hope to innovate on our current project by improving the accuracy of our calculations, expanding our app's reach, and developing new features.

About iMedic

From the detection of infectious, cancerous, and cardiovascular diseases using a variety of means; to academic tools such as 3D computations of Chaos Theory, iMedic is a multipurpose platform that uses ML, AI, libraries, and big data. As an app created for Third World countries & rural areas, it is for individuals who do not have access to medical support nor fast and efficient examination. iMedic is designed to be used frequently to evaluate one's risks for the most common medical conditions, and to provide users with knowledge of their current health. In addition, iMedic includes cutting-edge tools for research. By including a chaos calculator—that computes & graphs chaotic systems such as the Lorenz Attractor & Logistic Map with yielded data via input—iMedic has many applications to fields extending far beyond medicine, such as data science, math, and CS as well.

Javelin Power Saver

Bio: Chetan Tyagi

I am Chetan Tyagi, who will be joining University of Alberta for the undergraduate in Computing Science this fall, and is very keen to learn new things about the subject and keep up to date with the latest technologies.

About Javelin Power Saver

My app is called "Javelin Power Saver". As the name suggests, this application aims to conserve your energy, and therefore cut your bill. With the help of this easy-to-use app, you will be able to -calculate the power your appliances uses per month -the total money you spend on them in a month -compare yourself with the electricity bill of an average citizen -compare your appliances with popular products in the same range

Why I made this app

As per a report by World Economic Forum, the end use efficiency of electricity in residential environment in USA is a mere 65%, signifying the level of wastage of energy. The waste of electricity ends up in increasing the costs for the user, while also making a carbon footprint on the environment. The application will focus on conserving electricity. The target users of this application will be all the people who use electricity in their homes.

A big proportion of people in both urban and rural areas use electrical appliances and pay the electricity bill. It is common to look at the bill and thinking how the cost can be reduced. But as there is no way of accurately understanding how, we guess on different appliances, which makes the process harder. This application solves this. Also, before getting a new electrical appliance, we will be able to estimate the total power consumption, estimate total costs, compare with average households, and recommend how the user can make the combination of electrical appliances more efficient.

My experience with MecSimCalc

Compared from my previous experiences of creating web-apps, making apps here is much easier than anywhere else I have seen on the internet. It is completely free, encouraging both beginners and professionals to create apps without any hindrance. Overall, this is a great website to work on and I will recommend it to everyone interested in creating apps using Python.

Grids for artists

Bio: Camilo Andrés Rojas Hernández

I am Camilo Andrés Rojas Hernández, mathematics student at the Universidad Nacional de Colombia Medellin, since about 6 years ago I have learned on my own the development in python, its libraries and frameworks, something that identifies me is self-taught learning because over the years I have developed both soft skills and technical skills in the language, I am very motivated by programming and learning things every day.

About Grids for artists

I made this application because since my sister studies plastic arts, sometimes she has problems when it comes to making guide grids for her canvases, so I wanted to satisfy that need she had using python and the MecSimCalc tool, it is very easy to use, plus it has the main libraries, such as machine learning and image processing, in this case with Pillow, the input and output of data is very comfortable, anyone can share and create applications in record time. Awesome!

2D Heat Equation Visualizer

Bio: Jasper Eitzen and About 2D Heat Equation Visualizer

My name is Jasper Eitzen, I’m currently a graduate student at the University of Alberta, pursuing a Master of Science in Mechanical Engineering. The work I do for my thesis mostly consists of lab experiments, although I do have experience using Python to analyse experimental data as well as some programming experience from my undergrad and graduate studies. I came up with the idea for 2D Heat Equation Visualizer from having written some simple numerical solvers in the past and seeing that MecSimCalc could provide a convenient way to get inputs from the user. I thought that the results of such an app could look quite interesting since I’ve done similar projects in the past, and I always found it cool to set up an initial condition and see how it evolves over time based on math and physics. With contour plots as outputs, users can play around with the app’s inputs to try and get unique results. I needed quite a few inputs and the input page on MecSimCalc was very useful in letting me lay them all out and provide explanations so that the user could pick values that provide good results. As someone with no experience in web development, I wouldn’t have been able to make something like this app without the interface that MecSimCalc provided.


Bio: Soham Jain

Soham Jain is currently a sophomore with a passion for machine learning at Thomas Jefferson High School for Science and Technology, a prestigious high school that is ranked #1 in the United States. He works as a Machine Learning Engineer for a local start-up company called Vytal, where he assists in creating novel ML algorithms for fast and comprehensive neurologic and cardiac assessment through smartphone-based applications. In the past, he has worked closely with machine learning models using classification techniques to diagnose medical conditions, such as Malaria and Lyme disease. He has also won several awards from hackathons in the past through developing contemporary algorithms and deploying applications to assist with effective clinical diagnoses. As a technology specialist on the executive committee for his school's Student Government Association, Soham has used his experience in computer science to assist the student body with leading events and initiatives. Soham is also passionate about competition math, as he has competed in numerous national-level contests such as AIME, AMC 10, and MathCounts. Outside of school, Soham likes to tutor other students, play the piano, spend time with friends, and listen to music.

About LymeML

LymeML is an application built on MecSimCalc that uses novel machine learning algorithms to diagnose Lyme disease, a prevalent issue in numerous countries around the world. Research suggests that 14% of the world's population is currently affected or has been affected in the past with Lyme disease, contributing to the significance of this issue. Contemporary methods to diagnose this disease require a blood test. with lab reports anticipated to arrive three or four weeks after the patient seeks medical attention. However, waiting several days to receive a diagnosis allows symptoms to worsen, causing detrimental and irreversible damage to the brain or heart. Soham Jain, a current high school sophomore in the United States and Machine Learning Engineer at a local startup company, noticed that this issue can be resolved through creating a machine learning algorithm that sends an effective and immediate result to the user through image classification and a self-check symptoms diagnosis. This app implements convolutional neural networks (CNNs) and Python libraries such as NumPy and TensorFlow to accurately diagnose Lyme disease. Implementing this app will help several individuals living in remote areas to expedite the process of receiving a medical diagnosis, and differentiate their symptoms/rashes from those of other diseases. With the help of machine learning and MecSimCalc for making this app available to others, countless individuals will receive an instant diagnosis of Lyme disease and can treat their symptoms faster.

My experience with MecSimCalc

With the help of MecSimCalc, LymeML will continue on its mission to aid countless more individuals living in remote areas to receive an instant diagnosis for Lyme disease, and can treat their symptoms more efficiently. Through featuring LymeML as a winner for this hackathon, the opportunities for telemedicine and machine learning algorithms in the future has opened, and soon more accurate and immediate models will be created to diagnose several diseases. Creating the LymeML app through MecSimCalc was very straightforward and many Python libraries were accessible. The documentation and app analytics were also available, making my experience with this website more professional and enjoyable.

· 3 min read
Samer Adeeb

Welcome to our newly released MecSimCalc platform for creating and sharing computational tools on the web. With a few very simple steps, educators and professionals can create interactive web applications for their students or clients.

MecSimCalc has been a concept in my head since I joined the Engineering Faculty at the University of Alberta in 2007. At the time, I was looking for an easy way to create interactive web examples for my students to help them visualize different Mathematical and Engineering concepts. Throughout the years, I experimented with webMathematica and javascripts. However, dealing with web infrastructure has always been a struggle. I still remember the agony of trying to switch my whole website from traditional HTTP to HTTPS or the yearly agony of renewing the licenses of the different components that I was using. Throughout the years, my experience has shaped my vision for creating MecSimCalc as a platform that frees the developer from all the ever changing web architecture to allow them to focus on their application.

MecSimCalc is a simple, yet extremely powerful platform that has applications in a large array of fields. Here is an example in Medicine, by answering a simple questionnaire, a visitor to the app can identify their diabetes risk. The app was created based on an algorithm published on a Canadian government website. For University Mathematics Education, a student can enter any functional expression and the limits of an integral while the interactive app would calculate the numerical integral and would provide a plot, powered by matplotlib for visual illustration of the example.

We created MecSimCalc for professionals in engineering and finance. Consider the app that can be distributed by a mortgage specialist to his or her clients to help them identify the price of the house that matches their finances. Or consider the Engineering app that uses the CorLAS algorithm to calculate the failure pressure of pipelines with longitudinal crack like features. While these apps are currently publicly available, we can work with any professionals to help them build and share their specific applications only with their clients.

I welcome all our visitors to explore the different applications that have been created using MecSimCalc.

We also invite all professionals, scientists, and educators who would like to publicly or privately publish their lively algorithms to try out our free platform. We promise to keep it free for any publicly available applications. We are also happy to work with any professionals wishing to use MecSimCalc for their enterprise applications.

Please send us any suggestions, questions, or inquiries to