Categories
Linux

Greek letter encoding inside zip files on linux

Greek character encoding in filenames inside zip files, that use only latin encoding for the filenames that are created on Windows, cannot handled correctly in Linux. This article presents a solution to the problem. If you uncompress such file, you will end up with garbage ascii filenames. One solution of course, is to use a […]

Categories
Linux

Counting color and black/white pages in a pdf

A little tip to count how many color pages there are in a pdf file using Ghostscript. If you want to estimate the printing cost of a pdf, it is often helpful to know the exact number of color pages inside it. Using the command below you can get a CMYK color report for each […]

Categories
Casio Casio SDK

Civil: Concrete Section Analysis for Casio

Civil is a C language add-in written in Casio 9860 SDK that can analyze concrete sections according to Eurocode. It can calculate and design beam and column sections, find geometric properties of sections, and calculate yield and ultimate rotations for concrete columns. All the calculations of the software are exact and based on forces equilibrium, […]

Categories
Mathematica

Mathematica and greek letters (v10 and above)

As already described in Mathematica and greek letters (v7 and v8), if you use greek language for text, Mathematica handles greek letters as special characters, because greek letters are important to mathematical expressions. The workaround described in the above article solved the issue of greek letter bad rendering in text to old versions of Mathematica. […]

Categories
Mathematica

Mathematica and greek letters (v7 and v8)

Mathematica versions 7 and 8 and specifically on Linux, have issues with the greek letter rendering. This is an article describing a workaround for the issue. The rendering problem is that mathematica handles greek letters even in text strings differently from other characters, because greek letters are important for mathematics. So when you use greek […]

Categories
Casio Casio SDK

Beam: Structural 2d frame analysis

Beam is a C language add in written in casio 9860 SDK. It uses a user friendly interface, to input any two dimensional structural frame, and solves it using the matrix stiffness method. You input, the nodes, elements, loads (point and uniform),select materials, and the output gives moments (M), shear forces (Q), axial forces (N) […]

Categories
Casio Casio SDK

Helper C library for Casio 9860

Casio sdk, comes with a plain C/C++ favor, a c standard library with a trimmed command set, and a machine library with simple drawing, display functions. The library is made for use for my personal projects for Casio SDK. With the help of the library someone with C language knowledge can write simple or more […]

Categories
Casio Casio Basic

Recursive Newmark for oscillation solving of one DOF

This program uses the Newmark recursive method to solve a dynamic oscillating system of one degree of freedom (1 DOF). Before running the program, you must store in function (fn 1) the external force who acts on the system. This force is a function of time, so you have to store a function of variable […]

Categories
Casio Casio Basic

Eigen values by Stodola method for a structure

This program uses the Stodola method for finding the eigen values and eigen vectors of a dynamic system. Before executing the program, you have to enter in MatK the stiffness matrix, and in MatM the mass matrix. With the execution of the program you will be asked about the number of repetitions for calculating each […]

Categories
Mathematica Programming

Symbolic analysis of Euler-Bernoulli beam

This package solve a beam based on the beam theory of Euler-Bernoulli. You can define a beam, constraint conditions, the load function and stiffness (EI) function for every x on the length of the beam L. You can use in the above definitions the functions DiracDelta, HeavisideTheta for declaring discontinuities, such as in the case […]