# Tutorials

This page provides connections to PETSc tutorial examples by type of physics being modeled,
discretization technique being used, solvers used, etc.

```{toctree}
:maxdepth: 2

guide_to_examples_by_physics
handson
meshing/guide_to_subsurface
performance/guide_to_TAS
in_person
```

In addition, PETSc has many additionally poorly curated tutorial examples, found in the `tutorials/`
directories throughout the PETSc `src/` tree.

- Linear problems

- Nonlinear problems

- Time integration

- Optimization

  - Least-squares (Manual: {any}`sec_tao_leastsquares`)
  - Quadratic (Manual: {any}`sec_tao_quadratic`)
  - Unconstrained (Manual: {any}`sec_tao_unconstrained`)
  - Bound (Manual: {any}`sec_tao_bound`)
  - Constrained (Manual: {any}`sec_tao_constrained`)
  - Complementarity (Manual: {any}`sec_tao_complementary`)
  - PDE constrained (Manual: {any}`sec_tao_pde_constrained`)n
