✨ Gilbert - Public Beta

Ez elképesztő mennyi munkát bele fektettek a közzöségért!
Minden elisméresem tiétek :heart:

8 Likes

Hi everyone :waving_hand:

:vaperina: has been expanded with a new, exciting feature! From now on, we can display mathematical formulas and calculations much more transparently and aesthetically using MathJax. Gilbert has already activated it, so it can be used at full steam! :rocket: Of course, it’s not just Gilbert who can answer this way; anyone can format formulas correctly in their response if they wish.

But why is this good for us? Let’s see why this means such a big step forward on Vaperina!


What is MathJax and why is it good for us?

MathJax is a JavaScript rendering engine that allows us to display high-quality, typographically correct mathematical notations, just like in a textbook or scientific publication. Instead of the previous simple text or hard-to-read formulas, we now get professional formatting!

:bullseye: Main advantages of MathJax

  1. Better readability and transparency: MathJax beautifully displays even complex formulas with clean fonts and correct typography, which is especially important for precise calculations.
  2. Scalability: The formulas are based on vector graphics (SVG or web fonts), so they remain perfectly sharp and readable at any zoom level, on any device (desktop, mobile).
  3. Accessibility: It works better with screen readers and supports interactive zooming of equations.

:test_tube: Formulas in practice: Liquid mixing with MathJax

Let’s see what MathJax can do, for example, through the formulas required for liquid mixing!

We often encounter questions about how to calculate how much nicotine or flavor concentrate is needed to achieve the desired final result. From now on, we can represent these formulas precisely!

1. Calculating the desired nicotine strength

Suppose you want to mix a volume V_{\text{kész}} of liquid with a target concentration C_{\text{kész}} using a nicotine base of concentration C_{\text{bázis}}. The required volume of this base (V_{\text{bázis}}) can be calculated with the following formula:

$$\nV_{\text{bázis}} = V_{\text{kész}} \times \frac{C_{\text{kész}}}{C_{\text{bázis}}}\n$$

Example code and appearance:

Description MathJax code Formula appearance
Example: Preparing 50 ml of 3 mg/ml liquid from a 20 mg/ml base. $V_{\text{bázis}} = 50 \text{ ml} \times \frac{3 \text{ mg/ml}}{20 \text{ mg/ml}} = 7.5 \text{ ml}$ V_{\text{bázis}} = 50 \text{ ml} \times \frac{3 \text{ mg/ml}}{20 \text{ mg/ml}} = 7.5 \text{ ml}

2. Calculating the flavor percentage

If you want to add P_{\text{aroma}} % of flavor concentrate to a final volume V_{\text{kész}} of liquid, the volume of the flavor concentrate (V_{\text{aroma}}) is calculated as follows:

$$\nV_{\text{aroma}} = V_{\text{kész}} \times \frac{P_{\text{aroma}}}{100}\n$$

Example code and appearance:

Description MathJax code Formula appearance
Example: Preparing 60 ml of liquid with 15% flavor. $V_{\text{aroma}} = 60 \text{ ml} \times \frac{15}{100} = 9 \text{ ml}$ V_{\text{aroma}} = 60 \text{ ml} \times \frac{15}{100} = 9 \text{ ml}

3. Calculating the remaining PG/VG volume

The total volume of the base (PG + VG) (V_{\text{alap}}) is the total amount to be prepared minus the volume of the nicotine base and the flavor concentrate:

$$\nV_{\text{alap}} = V_{\text{kész}} - V_{\text{bázis}} - V_{\text{aroma}}\n$$


With the introduction of MathJax, the information shared on Vaperina becomes even more precise, transparent, and reliable. And Gilbert uses these masterfully. :man_teacher:


Practical example :sparkles: Gilbert

Nicotine and VG/PG ratio calculation AI

Donat:

I have 3 different bases, calculate what the result will be if I mix them. 100ml 50/50 6mg nicotine, 60ml 70/30 9mg, and 30ml 50/50 12mg nicotine.

Gilbert:

Hi! This is a super DIY task! It’s great that you want to know precisely what comes out of the mix. Let’s look at the math! :nerd_face:

We need to calculate two main things: the final nicotine strength and the final VG/PG ratio.

1. Total volume and nicotine strength

First, let’s calculate the total amount of nicotine (in mg) and the total liquid volume.

Data:

  • Base 1: 100 \text{ ml}, 6 \text{ mg/ml} nicotine
  • Base 2: 60 \text{ ml}, 9 \text{ mg/ml} nicotine
  • Base 3: 30 \text{ ml}, 12 \text{ mg/ml} nicotine

A) Total Nicotine (in mg):

$$\nM_{nikotin_{összes}} = (100 \text{ ml} \times 6 \text{ mg/ml}) + (60 \text{ ml} \times 9 \text{ mg/ml}) + (30 \text{ ml} \times 12 \text{ mg/ml})\n$$\n$$\nM_{nikotin_{összes}} = 600 \text{ mg} + 540 \text{ mg} + 360 \text{ mg} = 1500 \text{ mg}\n$$\n

B) Total Volume:

$$\nV_{összes} = 100 \text{ ml} + 60 \text{ ml} + 30 \text{ ml} = 190 \text{ ml}\n$$\n

C) Final Nicotine Strength:

$$\nC_{nikotin_{végső}} = \frac{M_{nikotin_{összes}}}{V_{összes}} = \frac{1500 \text{ mg}}{190 \text{ ml}} \approx 7.89 \text{ mg/ml}\n$$\n


2. Final VG/PG ratio

Now let’s see how much VG (Vegetable Glycerin) and PG (Propylene Glycol) is in the mix.

A) Total VG volume:

$$\nV_{VG} = (100 \text{ ml} \times 0.50) + (60 \text{ ml} \times 0.70) + (30 \text{ ml} \times 0.50)\n$$\n$$\nV_{VG} = 50 \text{ ml} + 42 \text{ ml} + 15 \text{ ml} = 107 \text{ ml}\n$$\n

B) Total PG volume:

$$\nV_{PG} = (100 \text{ ml} \times 0.50) + (60 \text{ ml} \times 0.30) + (30 \text{ ml} \times 0.50)\n$$\n$$\nV_{PG} = 50 \text{ ml} + 18 \text{ ml} + 15 \text{ ml} = 83 \text{ ml}\n$$\n

C) Final VG/PG ratio:

$$\n\text{VG arány} = \frac{107 \text{ ml}}{190 \text{ ml}} \times 100 \approx 56.32%\n$$\n$$\n\text{PG arány} = \frac{83 \text{ ml}}{190 \text{ ml}} \times 100 \approx 43.68%\n$$\n

Summary

If you mix the three bases, the final result will be:

Parameter Result
Total Volume 190 \text{ ml}
Nicotine Strength \approx 7.89 \text{ mg/ml}
VG/PG Ratio \approx 56/44

This mix is slightly more VG-heavy than 50/50, so it might be a bit thicker, but it’s still fine for most tanks!


Pro tip: If you mix again next time, check out Vaperina’s proprietary, super-easy VapeDIY calculator: https://diy.vaperina.cc. You can calculate everything in moments there, and you can even add flavors! :wink:

17 Likes