Skip to content

Getting Started

CalcpadCE is a programmable engineering notebook: expressions evaluate inline, units carry through every step, and the same source produces both a live worksheet and a print-ready report.

Dive into these basic examples to get started with CalcpadCE, and check out our full library of over 200 engineering worksheets to see what else is possible.

Calculating

Code:
'Simple calculation:
1 + 1

'Comparing two values:
7 > 3
7 < 3

'Calculation with variables:
a = 2
b = 3
a*b

'Using built-in constants:
r = 1.5
A = π*r^2

'Integration:
$Integral{ln(x) @ x = 0 : 1}

'Matrix multiplication:
A = [1; 2; 3|4; 5; 6]
B = [6; 5|4; 3|2; 1]
A*B
Rendered Output:

Simple calculation:

1 + 1 = 2

 

Comparing two values:

7 > 3 = 1

7 < 3 = 0

 

Calculation with variables:

a = 2

b = 3

a · b = 2 · 3 = 6

 

Using built-in constants:

r = 1.5

A = π · r2 = 3.14 · 1.52 = 7.07

 

Integration:

  1ln ( x )  dx = -1

 

Matrix multiplication:

A = [1; 2; 3 | 4; 5; 6] = 123 456

B = [6; 5 | 4; 3 | 2; 1] = 65 43 21

A · B = 2014 5641

Functions

Defines a function, plots it, and calculates values.

Code:
f(x) = x^2 - 3*x + 4

$Plot{f(x) @ x = 0 : 3}

f(0.75)
f(1.25)
Rendered Output:

f ( x )  = x2 − 3 · x + 4

 

Plot

 

f  ( 0.75 )  = 2.31

f  ( 1.25 )  = 1.81

Unit Conversion

CalcpadCE handles unit conversion natively with SI and Imperial units. Units are checked for consistency to spot errors early.

Code:
'Simple unit conversion:
A = 0.5m^2
A|cm^2
A|ft^2

'Using different units within the same equation:
ρ = 3bar + 100psi
ρ = 3bar + 100psi|psi

'Unit validation:
'x = 1 Nm + 1 m ← Rejected with: Inconsistent units: "Nm + m".
Rendered Output:

Simple unit conversion:

A = 0.5 m2

A = 5000 cm2

A = 5.38 ft2

 

Using different units within the same equation:

ρ = 3 bar + 100 psi = 9.89 bar

ρ = 3 bar + 100 psi = 143.51 psi

 

Unit validation:

x = 1 Nm + 1 m ← Rejected with: Inconsistent units: "Nm + m".

Spotted an error? Edit these examples.