ENDOCRINOPATHY OR EARLY PUBERYNY: NUTRITIONAL AND CHEMICAL ASSESSMENT OF PACKAGED FOOD PRODUCTS IN CHILDREN

ENDOCRINOPATHY OR EARLY PUBERYNY: NUTRITIONAL AND CHEMICAL ASSESSMENT OF PACKAGED FOOD PRODUCTS IN CHILDREN Abstract The global rise in early puberty in children is an important public health problem, which needs a multi-disciplinary, toxicological, nutritional and computational study. Packaged foods are most common foods consumed by children in today's diet and are a double-edged sword as hyper palatable foods containing excess amounts of sugar and caloric density, and simultaneously containing a hidden vector of exposure to endocrine disrupting chemicals (EDCs) via the synthetic packaging materials. This multi-faceted issue is addressed by a novel, comprehensive method that couples the use of AI-based dietary assessments with quantitative structure activity relationships (QSAR) toxicological modelling and an efficient Bayesian ordinal quantile regression model to dissect complex developmental endpoints. The framework allows for high fidelity exposure information as the packag...

🎨 2D Plotting in SageMath: A Beginner-Friendly, Interactive Guide

SageMath offers a powerful set of tools for 2D plotting — whether you're visualizing simple functions, multiple graphs, piecewise definitions, parametric curves, or polar plots.

In this guide, you’ll not only learn the basics but also see the plots, try mini-challenges, and discover real-life applications.


1. Plotting 2D Graphs in SageMath

1.1 Graph of Explicit Functions

Let's start by plotting the function:

πŸ”₯ Mini-Challenge:

  • Change the color to 'green'
  • Increase the thickness to 2
  • Add a

2. Plotting Multiple Graphs Together

Now, let’s plot

together:


3. Piecewise Functions

3.1 Basic Piecewise Example

Real-Life Connection: 

Piecewise functions often model mechanical systems where behavior changes suddenly — like a car’s suspension after a speed bump.

πŸ”₯ Mini-Challenge:

  • Modify it so the right side is  instead of .
  • Add a title to the plot.

4. Implicit Plots

Curves defined implicitly like can create beautiful shapes.

Real-Life Connection: 

Implicit plots are used in physics for phase diagrams and energy surfaces.


5. Parametric Plotting

Example:

Real-Life Connection: 

Parametric curves describe particle trajectories, such as the path of an electron in a magnetic field.


6. Polar Plots

Plot beautiful spirals and flowers!

πŸ”₯ Mini-Challenge:

  • Try to make (Replace cos by sin and see the magic!)
  • Try different values of s like 1.5, 2.5, and 5.

 

 

  • Experiment with  to make smoother or rougher plots.

7. Region Plots

Shade regions defined by inequalities!

Real-Life Connection: 

Region plots are used in optimization and economics for feasible regions.


8. Plotting Polygons


9. Graphics Arrays

Combine multiple plots side-by-side:

πŸ–Ό️ Visual Example:


πŸš€ Wrapping Up

SageMath’s 2D plotting features are rich, colorful, and incredibly flexible — perfect for math students, physicists, engineers, and data enthusiasts.

Your Challenge:

  • Create a custom graphics array using parametric and polar plots combined.
  • Try plotting a real-world model, like a pendulum's path or a signal wave!

πŸš€ What's Next?

Now that you've mastered 2D plotting in SageMath, get ready to take things to the next level — 3D Plotting with SageMath! 🎨🌍
We'll explore how to create beautiful surfaces, curves in space, implicit 3D shapes, and even animated 3D visualizations.
Stay tuned for the next post where your graphs will come to life in three dimensions!

 

Comments

Popular posts from this blog

Understanding the Laplacian of 1/r and the Dirac Delta Function Mathematical Foundations & SageMath Insights

Heuristic Computation and the Discovery of Mersenne Primes

Neural Network Generalization in the Over-Parameterization Regime: Mechanisms, Benefits, and Limitations