পৃষ্ঠাসমূহ

Search Your Article

CS

 

Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.

At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.

What We Offer:

  • 📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.

  • 💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.

  • 🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.

  • 🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.

    Latest world News 

     

Our Vision

To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.

Why Choose Us?

✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing

We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.

📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.

Pageviews

Saturday, March 4, 2017

MathML - Long Division

<mlongdiv> tag is used to draw long divisions.

Syntax

Here is the simple syntax to use this tag −
<mlongdiv> divisor dividend result expression </mlongdiv>

Parameters

Here is the description of all the parameters of this tag -
  • divisor - divisor of the long division.
  • dividend - dividend of the long division.
  • result - result of the long division.
  • expression - mstack element or children of mstack.

Attributes

Here is the description of all the attributes of this tag -
  • longdivstyle - to control the style of the long division layout. Valid values are lefttop, stackedrightright, mediumstackedrightright, shortstackedrightright, righttop, left/\right, left)(right, :right=right, stackedleftleft, stackedleftlinetop. Default is lefttop.

Example

Let's draw a simple fraction for 1/x.
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mlongdiv longdivstyle="lefttop">
   <mn> 3 </mn>
   <mn> 435.3</mn>
   <mn> 1306</mn>
   <msgroup position="2" shift="-1">
      <msgroup>
         <mn> 12</mn>
         <msline length="2"/>
      </msgroup>
      <msgroup>
         <mn> 10</mn>
         <mn> 9</mn>
         <msline length="2"/>
      </msgroup>
      <msgroup>
         <mn> 16</mn>
         <mn> 15</mn>
         <msline length="2"/>
         <mn> 1.0</mn>           
      </msgroup>   
      <msgroup position='-1'>   
         <mn> 9</mn>
         <msline length="3"/>
         <mn> 1</mn>
      </msgroup>
   </msgroup>
</mlongdiv>
</math>

Output

3 435.3 1306 12 10 9 16 15 1.0 9 1

No comments:

Post a Comment