inteso.ai – blog

inteso.ai – blog

MS Copilot confuses SQR and SQRT

Maarten

Today I was reading an article about Zernike circle polynomials. They are used in modeling lens aberrations in optical systems. For example, the fifth Zernike polynomial represents the primary astigmatism at 45 degrees.

I gave Copilot the following command:

draw the function sqrt(6)*sqr(r)*sin(2*theta)

Copilot (partly) answer:

The function you have given is √6•√r•sin(2θ). This is a polar function, where 𝑟 is the radius and 𝜃 the angle in radians.

I expect SQR to be interpreted as mathematical operation ‘square’ and SQRT to be interpreted as mathematical operation ‘square root’. Hence, I expected the following function in Copilot answer:

√6•r2•sin(2θ)

which represents the correct Zernike polynomial.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Like Loading…

Tags:

AI, Mathematics, Optics

Date:

January 17, 2025

Up next:

AI’s Impact on Software Developer Jobs

Before:

How AI will transform mining in 2025

One response to “MS Copilot confuses SQR and SQRT”

  1. Maarten Avatar
    Maarten
    July 9, 2025 at 2:55 pm

    Apparently the AI ​​model has learned, because the correct function is shown on the command.

    LikeLike

    Reply

Leave a reply to Maarten Cancel reply

LinkedIn • Main

Get in touch

© Copyright 2025

 

Loading Comments...
 

    • Comment
    • Reblog
    • Subscribe Subscribed
      • inteso.ai - blog
      • Already have a WordPress.com account? Log in now.
      • inteso.ai - blog
      • Subscribe Subscribed
      • Sign up
      • Log in
      • Copy shortlink
      • Report this content
      • View post in Reader
      • Manage subscriptions
      • Collapse this bar
    %d