ويكي الجامعة
arwikiversity
https://ar.wikiversity.org/wiki/%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9
MediaWiki 1.39.0-wmf.23
first-letter
ميديا
خاص
نقاش
مستخدم
نقاش المستخدم
ويكي الجامعة
نقاش ويكي الجامعة
ملف
نقاش الملف
ميدياويكي
نقاش ميدياويكي
قالب
نقاش القالب
مساعدة
نقاش المساعدة
تصنيف
نقاش التصنيف
مدرسة
نقاش المدرسة
بوابة
نقاش البوابة
موضوع
نقاش الموضوع
مجموعة
نقاش المجموعة
TimedText
TimedText talk
وحدة
نقاش الوحدة
إضافة
نقاش الإضافة
تعريف الإضافة
نقاش تعريف الإضافة
موضوع
انتشار موجة ضوئية/خصائص الموجة الضوئية
0
28378
117985
117984
2022-08-07T15:33:19Z
ForzaGreen
14525
/* سرعة انتشار الضوء في وسط مادي شفاف - معامل الانكسار */
wikitext
text/x-wiki
__فهرس__
== خصائص الموجة الضوئية ==
=== الموجة الضوئية أحادية اللون ===
[[ملف:Dispersive Prism Illustration.jpg|تصغير|الضوء الأبيض متعدد الألوان]]
{{تعريف|محتوى=
نسمي '''ضوءا أحادي اللون''' كل ضوء لا يتبدد بعد اجتيازه لموشور.
ونقرن كل ضوء أحادي اللون بموجة ضوئية أحادية اللون، وهي موجة متوالية جيبية تتميز:
* بترددها <math>\nu</math> (أو دورها <math>T = \frac{1}{\nu}</math> )، يفرضه المنبع.
* بسرعتها <math>v</math> ، وتتعلق بطبيعة الوسط.
|عنوان=تعريف|عرض=70%|align=right}}
'''مثال''':
* الضوء المنبعث من اللازر ينحرف ولا يتبدد عند اجتيازه لموشور، فهو إذا ضوء أحادي اللون.
* أما الضوء الأبيض فهو ينحرف ويتبدد بعد اجتيازه لموشور، مما يدل على أنه ضوء متعدد الألوان، أي متكوِّن من عدة أضواء أحادية اللون.
=== سرعة انتشار الضوء ===
==== سرعة انتشار الضوء في الفراغ ====
تنتشر الموجات الضوئية في الفراغ كباقي الموجات الكهرمغناطيسية، بسرعة <math>c</math> تُقارب <math>3 \times 10^8 \text{ m/s}</math>.
{{مبرهنة|محتوى=إن سرعة انتشار الضوء في الفراغ ثابتة عالمية بينت القياسات الدقيقة أنها تُساوي:
<math>c = 299792458 \text{ m/s}</math>
|عنوان=سرعة انتشار الضوء في الفراغ|عرض=70%|align=right}}
بين العالم أينشتاين Einstein أن سرعة الأجسام المادية لا يمكنها أن تتعدي سرعة الضوء <math>c</math> في الفراغ.
==== سرعة انتشار الضوء في وسط مادي شفاف - معامل الانكسار ====
{{تعريف|محتوى=تنتشر الموجة الضوئية في وسط مادي بسرعة <math>v</math> أقل من <math>c</math> .
نُعرِّف '''معامل الانكسار''' لوسط شفاف، بالنسبة لضوء أحادي اللون، بالعلاقة:
<math>n = \frac{c}{v}</math>
حيث:
* <math>c</math> : سرعة انتشار الضوء في الفراغ،
* <math>v</math> : سرعة انتشار الضوء في الوسط الشفاف.
|عنوان=تعريف|عرض=70%|align=right}}
'''ملاحظات''':
* معامل الانكسار <math>n</math> مقدار بدون وحدة.
* معامل الانكسار أكبر من 1: <math>n > 1</math>
* معامل انكسار الهواء يُقارب 1، وسرعة انتشار الضوء في الهواء تُقارب سرعة انتشاره في الفراغ.
=== التردد وطول الموجة ===
{{ تطوير مقالة }}
=== مجال الموجات الضوئية المرئية ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/الطبيعة الموجية للضوء
|التالي=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
bad9xbjemaxrv1tpbdxpkn8jjfn7hu9
117987
117985
2022-08-07T15:53:34Z
ForzaGreen
14525
/* التردد وطول الموجة */
wikitext
text/x-wiki
__فهرس__
== خصائص الموجة الضوئية ==
=== الموجة الضوئية أحادية اللون ===
[[ملف:Dispersive Prism Illustration.jpg|تصغير|الضوء الأبيض متعدد الألوان]]
{{تعريف|محتوى=
نسمي '''ضوءا أحادي اللون''' كل ضوء لا يتبدد بعد اجتيازه لموشور.
ونقرن كل ضوء أحادي اللون بموجة ضوئية أحادية اللون، وهي موجة متوالية جيبية تتميز:
* بترددها <math>\nu</math> (أو دورها <math>T = \frac{1}{\nu}</math> )، يفرضه المنبع.
* بسرعتها <math>v</math> ، وتتعلق بطبيعة الوسط.
|عنوان=تعريف|عرض=70%|align=right}}
'''مثال''':
* الضوء المنبعث من اللازر ينحرف ولا يتبدد عند اجتيازه لموشور، فهو إذا ضوء أحادي اللون.
* أما الضوء الأبيض فهو ينحرف ويتبدد بعد اجتيازه لموشور، مما يدل على أنه ضوء متعدد الألوان، أي متكوِّن من عدة أضواء أحادية اللون.
=== سرعة انتشار الضوء ===
==== سرعة انتشار الضوء في الفراغ ====
تنتشر الموجات الضوئية في الفراغ كباقي الموجات الكهرمغناطيسية، بسرعة <math>c</math> تُقارب <math>3 \times 10^8 \text{ m/s}</math>.
{{مبرهنة|محتوى=إن سرعة انتشار الضوء في الفراغ ثابتة عالمية بينت القياسات الدقيقة أنها تُساوي:
<math>c = 299792458 \text{ m/s}</math>
|عنوان=سرعة انتشار الضوء في الفراغ|عرض=70%|align=right}}
بين العالم أينشتاين Einstein أن سرعة الأجسام المادية لا يمكنها أن تتعدي سرعة الضوء <math>c</math> في الفراغ.
==== سرعة انتشار الضوء في وسط مادي شفاف - معامل الانكسار ====
{{تعريف|محتوى=تنتشر الموجة الضوئية في وسط مادي بسرعة <math>v</math> أقل من <math>c</math> .
نُعرِّف '''معامل الانكسار''' لوسط شفاف، بالنسبة لضوء أحادي اللون، بالعلاقة:
{{وسط
| 1 = <math>n = \frac{c}{v}</math>
}}
حيث:
* <math>c</math> : سرعة انتشار الضوء في الفراغ،
* <math>v</math> : سرعة انتشار الضوء في الوسط الشفاف.
|عنوان=تعريف|عرض=70%|align=right}}
'''ملاحظات''':
* معامل الانكسار <math>n</math> مقدار بدون وحدة.
* معامل الانكسار أكبر من 1: <math>n > 1</math>
* معامل انكسار الهواء يُقارب 1، وسرعة انتشار الضوء في الهواء تُقارب سرعة انتشاره في الفراغ.
=== التردد وطول الموجة ===
يرتبط لون كل ضوء أحادي اللون بالتردد.
{{خاصية|محتوى=تتميز الموجة الأحادية اللون بترددها <math>\nu</math> الذي لا يتعلق بوسط الانتشار، ولا يتغير عند انتقالها من وسط شفاف إلى آخر.|عنوان=خاصية|عرض=70%|align=right}}
في علم البصريات، يفضل تمييز موجة ضوئية أحادية اللون بطول موجتها في الفراغ <math>\lambda_0</math> عوض ترددها <math>\nu</math> .
{{مبرهنة|محتوى=تعبير طول الموجة <math>\lambda_0</math> لموجة أحادية اللون في الفراغ هو:
{{وسط
| 1 =
<math>\lambda_0 = c.T = \frac{c}{\nu}</math>
}}
|عنوان=طول الموجة|عرض=70%|align=right}}
بالنسبة لوسط مُعَيَّن: <math>\lambda_0 = v.T = \frac{v}{\nu}</math>
بما أن السرعة <math>v</math> تتعلق بطبيعة الوسط فإن <math>\nu</math> أيضا تتعلق بطبيعة وسط الانتشار.
{{خاصية|محتوى=يتعلق طول الموجة لضوء أحادي اللون وتردده <math>\nu</math> بوسط الانتشار.|عنوان=خاصية|عرض=70%|align=right}}
=== مجال الموجات الضوئية المرئية ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/الطبيعة الموجية للضوء
|التالي=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
51w2z0j3fiou3ph5we2ig98mstzb5vz
117988
117987
2022-08-07T15:56:24Z
ForzaGreen
14525
/* مجال الموجات الضوئية المرئية */
wikitext
text/x-wiki
__فهرس__
== خصائص الموجة الضوئية ==
=== الموجة الضوئية أحادية اللون ===
[[ملف:Dispersive Prism Illustration.jpg|تصغير|الضوء الأبيض متعدد الألوان]]
{{تعريف|محتوى=
نسمي '''ضوءا أحادي اللون''' كل ضوء لا يتبدد بعد اجتيازه لموشور.
ونقرن كل ضوء أحادي اللون بموجة ضوئية أحادية اللون، وهي موجة متوالية جيبية تتميز:
* بترددها <math>\nu</math> (أو دورها <math>T = \frac{1}{\nu}</math> )، يفرضه المنبع.
* بسرعتها <math>v</math> ، وتتعلق بطبيعة الوسط.
|عنوان=تعريف|عرض=70%|align=right}}
'''مثال''':
* الضوء المنبعث من اللازر ينحرف ولا يتبدد عند اجتيازه لموشور، فهو إذا ضوء أحادي اللون.
* أما الضوء الأبيض فهو ينحرف ويتبدد بعد اجتيازه لموشور، مما يدل على أنه ضوء متعدد الألوان، أي متكوِّن من عدة أضواء أحادية اللون.
=== سرعة انتشار الضوء ===
==== سرعة انتشار الضوء في الفراغ ====
تنتشر الموجات الضوئية في الفراغ كباقي الموجات الكهرمغناطيسية، بسرعة <math>c</math> تُقارب <math>3 \times 10^8 \text{ m/s}</math>.
{{مبرهنة|محتوى=إن سرعة انتشار الضوء في الفراغ ثابتة عالمية بينت القياسات الدقيقة أنها تُساوي:
<math>c = 299792458 \text{ m/s}</math>
|عنوان=سرعة انتشار الضوء في الفراغ|عرض=70%|align=right}}
بين العالم أينشتاين Einstein أن سرعة الأجسام المادية لا يمكنها أن تتعدي سرعة الضوء <math>c</math> في الفراغ.
==== سرعة انتشار الضوء في وسط مادي شفاف - معامل الانكسار ====
{{تعريف|محتوى=تنتشر الموجة الضوئية في وسط مادي بسرعة <math>v</math> أقل من <math>c</math> .
نُعرِّف '''معامل الانكسار''' لوسط شفاف، بالنسبة لضوء أحادي اللون، بالعلاقة:
{{وسط
| 1 = <math>n = \frac{c}{v}</math>
}}
حيث:
* <math>c</math> : سرعة انتشار الضوء في الفراغ،
* <math>v</math> : سرعة انتشار الضوء في الوسط الشفاف.
|عنوان=تعريف|عرض=70%|align=right}}
'''ملاحظات''':
* معامل الانكسار <math>n</math> مقدار بدون وحدة.
* معامل الانكسار أكبر من 1: <math>n > 1</math>
* معامل انكسار الهواء يُقارب 1، وسرعة انتشار الضوء في الهواء تُقارب سرعة انتشاره في الفراغ.
=== التردد وطول الموجة ===
يرتبط لون كل ضوء أحادي اللون بالتردد.
{{خاصية|محتوى=تتميز الموجة الأحادية اللون بترددها <math>\nu</math> الذي لا يتعلق بوسط الانتشار، ولا يتغير عند انتقالها من وسط شفاف إلى آخر.|عنوان=خاصية|عرض=70%|align=right}}
في علم البصريات، يفضل تمييز موجة ضوئية أحادية اللون بطول موجتها في الفراغ <math>\lambda_0</math> عوض ترددها <math>\nu</math> .
{{مبرهنة|محتوى=تعبير طول الموجة <math>\lambda_0</math> لموجة أحادية اللون في الفراغ هو:
{{وسط
| 1 =
<math>\lambda_0 = c.T = \frac{c}{\nu}</math>
}}
|عنوان=طول الموجة|عرض=70%|align=right}}
بالنسبة لوسط مُعَيَّن: <math>\lambda_0 = v.T = \frac{v}{\nu}</math>
بما أن السرعة <math>v</math> تتعلق بطبيعة الوسط فإن <math>\nu</math> أيضا تتعلق بطبيعة وسط الانتشار.
{{خاصية|محتوى=يتعلق طول الموجة لضوء أحادي اللون وتردده <math>\nu</math> بوسط الانتشار.|عنوان=خاصية|عرض=70%|align=right}}
=== مجال الموجات الضوئية المرئية ===
إن عين الإنسان حساسة للموجات الضوئية ذات أطوال موجات تنتمي للمجال المحصور بين {{Val|400|ul=nm|upl=}}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/الطبيعة الموجية للضوء
|التالي=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
pv7321wmvjjbdzl90rlc8ky0ply368a
117991
117988
2022-08-07T16:14:26Z
ForzaGreen
14525
/* مجال الموجات الضوئية المرئية */
wikitext
text/x-wiki
__فهرس__
== خصائص الموجة الضوئية ==
=== الموجة الضوئية أحادية اللون ===
[[ملف:Dispersive Prism Illustration.jpg|تصغير|الضوء الأبيض متعدد الألوان]]
{{تعريف|محتوى=
نسمي '''ضوءا أحادي اللون''' كل ضوء لا يتبدد بعد اجتيازه لموشور.
ونقرن كل ضوء أحادي اللون بموجة ضوئية أحادية اللون، وهي موجة متوالية جيبية تتميز:
* بترددها <math>\nu</math> (أو دورها <math>T = \frac{1}{\nu}</math> )، يفرضه المنبع.
* بسرعتها <math>v</math> ، وتتعلق بطبيعة الوسط.
|عنوان=تعريف|عرض=70%|align=right}}
'''مثال''':
* الضوء المنبعث من اللازر ينحرف ولا يتبدد عند اجتيازه لموشور، فهو إذا ضوء أحادي اللون.
* أما الضوء الأبيض فهو ينحرف ويتبدد بعد اجتيازه لموشور، مما يدل على أنه ضوء متعدد الألوان، أي متكوِّن من عدة أضواء أحادية اللون.
=== سرعة انتشار الضوء ===
==== سرعة انتشار الضوء في الفراغ ====
تنتشر الموجات الضوئية في الفراغ كباقي الموجات الكهرمغناطيسية، بسرعة <math>c</math> تُقارب <math>3 \times 10^8 \text{ m/s}</math>.
{{مبرهنة|محتوى=إن سرعة انتشار الضوء في الفراغ ثابتة عالمية بينت القياسات الدقيقة أنها تُساوي:
<math>c = 299792458 \text{ m/s}</math>
|عنوان=سرعة انتشار الضوء في الفراغ|عرض=70%|align=right}}
بين العالم أينشتاين Einstein أن سرعة الأجسام المادية لا يمكنها أن تتعدي سرعة الضوء <math>c</math> في الفراغ.
==== سرعة انتشار الضوء في وسط مادي شفاف - معامل الانكسار ====
{{تعريف|محتوى=تنتشر الموجة الضوئية في وسط مادي بسرعة <math>v</math> أقل من <math>c</math> .
نُعرِّف '''معامل الانكسار''' لوسط شفاف، بالنسبة لضوء أحادي اللون، بالعلاقة:
{{وسط
| 1 = <math>n = \frac{c}{v}</math>
}}
حيث:
* <math>c</math> : سرعة انتشار الضوء في الفراغ،
* <math>v</math> : سرعة انتشار الضوء في الوسط الشفاف.
|عنوان=تعريف|عرض=70%|align=right}}
'''ملاحظات''':
* معامل الانكسار <math>n</math> مقدار بدون وحدة.
* معامل الانكسار أكبر من 1: <math>n > 1</math>
* معامل انكسار الهواء يُقارب 1، وسرعة انتشار الضوء في الهواء تُقارب سرعة انتشاره في الفراغ.
=== التردد وطول الموجة ===
يرتبط لون كل ضوء أحادي اللون بالتردد.
{{خاصية|محتوى=تتميز الموجة الأحادية اللون بترددها <math>\nu</math> الذي لا يتعلق بوسط الانتشار، ولا يتغير عند انتقالها من وسط شفاف إلى آخر.|عنوان=خاصية|عرض=70%|align=right}}
في علم البصريات، يفضل تمييز موجة ضوئية أحادية اللون بطول موجتها في الفراغ <math>\lambda_0</math> عوض ترددها <math>\nu</math> .
{{مبرهنة|محتوى=تعبير طول الموجة <math>\lambda_0</math> لموجة أحادية اللون في الفراغ هو:
{{وسط
| 1 =
<math>\lambda_0 = c.T = \frac{c}{\nu}</math>
}}
|عنوان=طول الموجة|عرض=70%|align=right}}
بالنسبة لوسط مُعَيَّن: <math>\lambda_0 = v.T = \frac{v}{\nu}</math>
بما أن السرعة <math>v</math> تتعلق بطبيعة الوسط فإن <math>\nu</math> أيضا تتعلق بطبيعة وسط الانتشار.
{{خاصية|محتوى=يتعلق طول الموجة لضوء أحادي اللون وتردده <math>\nu</math> بوسط الانتشار.|عنوان=خاصية|عرض=70%|align=right}}
=== مجال الموجات الضوئية المرئية ===
إن عين الإنسان حساسة للموجات الضوئية ذات أطوال موجات تنتمي للمجال المحصور بين <math>400 \text{ nm}</math> و <math>800 \text{ nm}</math>. نُسميه '''المجال المرئي'''، وتحده الأشعة فوق البنفسجية والأشعة تحت الحمراء.
==== مجال الأشعة فوق البنفسجية ====
وهو مجال غير مرئي، يكون فيه طول الموجة <math>\lambda</math> محصورا بين <math>10 \text{ nm}</math> و <math>400 \text{ nm}</math>، وهي أشعة معروفة بتأثيرها الخطير على الجلد، إذ تتسبب في سرطان الجلد.
وتُستعمل في تعقيم الأدوات الطبية نظرا لمقدرتها على القضاء على البكتيريا.
==== مجال الأشعة تحت الحمراء ====
وهو مجال غير مرئي، يكون فيه طول الموجة <math>\lambda</math> محصورا بين <math>800 \text{ nm}</math> و <math>1000 \text{ nm}</math>.
يبعث جسم الإنسان أشعة تحت الحمراء، يتعلق طول موجتها في الفراغ بدرجة حرارة منطقة الجسم الباعثة. ويُبين الشكل الآتي صورة لكلب أُخِذَت بكاميرا خاصة بالأشعة تحت الحمراء، حيث يوافق اللون البنفسجي درجة حرارة 24، ويوافق اللون الأصفر درجة الحرارة 34.
[[ملف:Infrared dog.jpg|يمين|تصغير|صورة أُخِذَت بكاميرا خاصة بالأشعة تحت الحمراء.]]
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/الطبيعة الموجية للضوء
|التالي=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
3lotfjfz0t1fu3c6xywf2kh79zs98q0
انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
0
28379
117992
117123
2022-08-07T16:34:22Z
ForzaGreen
14525
/* مميزات حيود موجة ضوئية أحادية اللون بواسطة شق */
wikitext
text/x-wiki
__فهرس__
== حيود موجة ضوئية أحادية اللون ==
=== مميزات حيود موجة ضوئية أحادية اللون بواسطة شق ===
أثناء حيود ضوء أحادي اللون بواسطة شق، هناك عاملان يمكنهما التأثير على الظاهرة المُلاحَظة:
* تأثير عرض الشق <math>a</math>
* تأثير طول موجة الضوء الأحادي اللون <math>\lambda</math>
==== تأثير عرض الشق <math>a</math> ====
عند إضاءة شق عرضه صغير جدا بحزمة لازر، نلاحظ أن عرض البقعة المركزية الملاحظة على الشاشة يزداد كلما صغر عرض الشق.
{{خاصية|محتوى=تكون ظاهرة الحيود أكثر أهمية عندما يكون عرض الشق أصغر.|عنوان=خاصية|عرض=70%|align=right}}
==== تأثير طول موجة الضوء الأحادي اللون <math>\lambda</math> ====
عند الاحتفاظ بنفس عرض الشق، واستعمال ضوئين أحاديي اللون، مثل: منبع لازر لونه أحمر ومنبع لازر لونه أخضر، نلاحظ أن عرض البقعة المركزية يكون أكبر بالنسبة للضوء ذي الموجة الأطول.
{{خاصية|محتوى=يزداد عرض البقعة المركزية لظاهرة الحيود كلما ازداد طول موجة الضوء الحادي اللون المستعمل.|عنوان=خاصية|عرض=70%|align=right}}
=== الفرق الزاوي <math>\theta</math> ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/خصائص الموجة الضوئية
|التالي=انتشار موجة ضوئية/تبدد الموجات الضوئية}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
ellt86q2aavpl51idykdaebt6m289a2
117993
117992
2022-08-07T16:39:19Z
ForzaGreen
14525
/* الفرق الزاوي θ {\displaystyle \theta } */
wikitext
text/x-wiki
__فهرس__
== حيود موجة ضوئية أحادية اللون ==
=== مميزات حيود موجة ضوئية أحادية اللون بواسطة شق ===
أثناء حيود ضوء أحادي اللون بواسطة شق، هناك عاملان يمكنهما التأثير على الظاهرة المُلاحَظة:
* تأثير عرض الشق <math>a</math>
* تأثير طول موجة الضوء الأحادي اللون <math>\lambda</math>
==== تأثير عرض الشق <math>a</math> ====
عند إضاءة شق عرضه صغير جدا بحزمة لازر، نلاحظ أن عرض البقعة المركزية الملاحظة على الشاشة يزداد كلما صغر عرض الشق.
{{خاصية|محتوى=تكون ظاهرة الحيود أكثر أهمية عندما يكون عرض الشق أصغر.|عنوان=خاصية|عرض=70%|align=right}}
==== تأثير طول موجة الضوء الأحادي اللون <math>\lambda</math> ====
عند الاحتفاظ بنفس عرض الشق، واستعمال ضوئين أحاديي اللون، مثل: منبع لازر لونه أحمر ومنبع لازر لونه أخضر، نلاحظ أن عرض البقعة المركزية يكون أكبر بالنسبة للضوء ذي الموجة الأطول.
{{خاصية|محتوى=يزداد عرض البقعة المركزية لظاهرة الحيود كلما ازداد طول موجة الضوء الحادي اللون المستعمل.|عنوان=خاصية|عرض=70%|align=right}}
=== الفرق الزاوي <math>\theta</math> ===
{{تعريف|محتوى=خلال حيود موجة ضوئية أحادية اللون، طول موجتها <math>\lambda</math> ، بواسطة شق عرضه <math>a</math> ، يكون '''الفرق الزاوي''' <math>\theta</math> بين وسط البقعة المركزية وأول بقعة مظلمة هو:
{{وسط
| 1 =
<math>\theta = \frac{\lambda}{a}</math>
}}|عنوان=الفرق الزاوي|عرض=70%|align=right}}
'''ملاحظة''': يُمكن مشاهدة حيود الضوء بواسطة شق عندما يكون عرض الشق محصورا بين <math>10 \lambda</math> و <math>100 \lambda</math> .{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/خصائص الموجة الضوئية
|التالي=انتشار موجة ضوئية/تبدد الموجات الضوئية}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
6l9pztb5trwznote9p2tylfk4ksw5fm
انتشار موجة ضوئية/تبدد الموجات الضوئية
0
28380
117994
117124
2022-08-07T18:53:22Z
ForzaGreen
14525
/* تعريف الموشور */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
[[ملف:Dispersive prism.png|تصغير|الموشور]]
=== تبدد الضوء الأبيض بواسطة موشور ===
{{ تطوير مقالة }}
=== تأثير لون الضوء على معامل الانكسار ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
30gkz87cig8yvkitzpb343ny9elriwi
117995
117994
2022-08-07T19:03:38Z
ForzaGreen
14525
/* تبدد الضوء الأبيض بواسطة موشور */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
[[ملف:Dispersive prism.png|تصغير|الموشور]]
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
=== تبدد الضوء الأبيض بواسطة موشور ===
[[ملف:Rainbow on Rara Lake.jpg|تصغير|قوس قزح الناتج عن تحليل الضوء الأبيض للشمس بواسطة قطرات المطر]]
يُلاحظ في الصورة جانبه انحراف الحزمة الضوئية بعد اجتيازها للموشور، حيث تتعرض الحزمة الضوئية لظاهرة الانكسار مرتين.
يُلاحظ على الشاشة تكوُّن بقعة ضوئية ملونة. وتشبه هذه الألوان ألوان قوس قزح.
تسمى هذه البقعة الضوئية الملونة '''طيف الضوء الأبيض'''.
نلاحظ أن الضوء البنفسجي أكثر انحرافا من الضوء الأحمر.
{{تعريف|محتوى=تسمى الظاهرة التي تُمَكِّن من فصل الإشعاعات ذات الألوان المختلفة '''تبدد''' الضوء.|عنوان=تعريف|عرض=70%|align=right}}
=== تأثير لون الضوء على معامل الانكسار ===
==== زاوية الانحراف ====
==== تعليل ظاهرة تبدد الضوء ====
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
tjsk5b2k689b3zl78e7pbtg0108stqr
117997
117995
2022-08-07T19:21:58Z
ForzaGreen
14525
/* زاوية الانحراف */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
[[ملف:Dispersive prism.png|تصغير|الموشور]]
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
=== تبدد الضوء الأبيض بواسطة موشور ===
[[ملف:Rainbow on Rara Lake.jpg|تصغير|قوس قزح الناتج عن تحليل الضوء الأبيض للشمس بواسطة قطرات المطر]]
يُلاحظ في الصورة جانبه انحراف الحزمة الضوئية بعد اجتيازها للموشور، حيث تتعرض الحزمة الضوئية لظاهرة الانكسار مرتين.
يُلاحظ على الشاشة تكوُّن بقعة ضوئية ملونة. وتشبه هذه الألوان ألوان قوس قزح.
تسمى هذه البقعة الضوئية الملونة '''طيف الضوء الأبيض'''.
نلاحظ أن الضوء البنفسجي أكثر انحرافا من الضوء الأحمر.
{{تعريف|محتوى=تسمى الظاهرة التي تُمَكِّن من فصل الإشعاعات ذات الألوان المختلفة '''تبدد''' الضوء.|عنوان=تعريف|عرض=70%|align=right}}
=== تأثير لون الضوء على معامل الانكسار ===
==== زاوية الانحراف ====
{{تعريف|محتوى=
زاوية الانحراف <math>D</math> لشعاع ضوئي بواسطة موشور هي الزاوية بين الاتجاهين <math>IH</math> و <math>HI'</math> للشعاع الوارد والشعاع المنبثق:
{{وسط | <math>D = (\widehat{IH,HI'})</math>}}
|عنوان=تعريف|عرض=70%|align=right}}
نعتبر المثلث <math>IJI'</math>. تُحقق <math>A</math> زاوية الموشور العلاقة:
{{Equation box 1 |equation = <math>A = r + r'</math>|border colour=black|background colour=white}}
حيث <math>r</math>
زاوية الانحراف <math>D</math> هي:{{Equation box 1 |equation = <math>D = D_1 + D_2 = i - r + i' -r' = i + i' - A</math>|border colour=black|background colour=white}}
==== تعليل ظاهرة تبدد الضوء ====
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
q7nb6k9pcj97c3j3d6pfpx0h8n988re
117998
117997
2022-08-07T19:25:09Z
ForzaGreen
14525
/* زاوية الانحراف */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
[[ملف:Dispersive prism.png|تصغير|الموشور]]
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
=== تبدد الضوء الأبيض بواسطة موشور ===
[[ملف:Rainbow on Rara Lake.jpg|تصغير|قوس قزح الناتج عن تحليل الضوء الأبيض للشمس بواسطة قطرات المطر]]
يُلاحظ في الصورة جانبه انحراف الحزمة الضوئية بعد اجتيازها للموشور، حيث تتعرض الحزمة الضوئية لظاهرة الانكسار مرتين.
يُلاحظ على الشاشة تكوُّن بقعة ضوئية ملونة. وتشبه هذه الألوان ألوان قوس قزح.
تسمى هذه البقعة الضوئية الملونة '''طيف الضوء الأبيض'''.
نلاحظ أن الضوء البنفسجي أكثر انحرافا من الضوء الأحمر.
{{تعريف|محتوى=تسمى الظاهرة التي تُمَكِّن من فصل الإشعاعات ذات الألوان المختلفة '''تبدد''' الضوء.|عنوان=تعريف|عرض=70%|align=right}}
=== تأثير لون الضوء على معامل الانكسار ===
==== زاوية الانحراف ====
{{تعريف|محتوى=
زاوية الانحراف <math>D</math> لشعاع ضوئي بواسطة موشور هي الزاوية بين الاتجاهين <math>IH</math> و <math>HI'</math> للشعاع الوارد والشعاع المنبثق:
{{وسط | <math>D = (\widehat{IH,HI'})</math>}}
|عنوان=تعريف|عرض=70%|align=right}}
نعتبر المثلث <math>IJI'</math>. تُحقق <math>A</math> زاوية الموشور العلاقة:
{{Equation box 1 |equation = <math>A = r + r'</math>|border colour=black|background colour=white}}
حيث <math>r</math> زاوية الانكسار عند <math>I</math> و <math>r'</math> زاوية الورود عند النقطة <math>I'</math> .
ينحرف الشعاع الوارد مرتين على الموشور:
* الانحراف الأول <math>D_1</math> عند النقطة <math>I</math> : <math>D_1 = \widehat{HII'} = i - r</math>
* الانحراف الثاني <math>D_2</math> عند النقطة <math>I'</math> : <math>D_2 = \widehat{HI'I} = i' - r'</math>
زاوية الانحراف <math>D</math> هي:{{Equation box 1 |equation = <math>D = D_1 + D_2 = i - r + i' -r' = i + i' - A</math>|border colour=black|background colour=white}}
==== تعليل ظاهرة تبدد الضوء ====
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
mfr6lqyvz8oqdttq564ckhlraum7yiq
117999
117998
2022-08-07T19:35:20Z
ForzaGreen
14525
/* تعليل ظاهرة تبدد الضوء */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
[[ملف:Dispersive prism.png|تصغير|الموشور]]
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
=== تبدد الضوء الأبيض بواسطة موشور ===
[[ملف:Rainbow on Rara Lake.jpg|تصغير|قوس قزح الناتج عن تحليل الضوء الأبيض للشمس بواسطة قطرات المطر]]
يُلاحظ في الصورة جانبه انحراف الحزمة الضوئية بعد اجتيازها للموشور، حيث تتعرض الحزمة الضوئية لظاهرة الانكسار مرتين.
يُلاحظ على الشاشة تكوُّن بقعة ضوئية ملونة. وتشبه هذه الألوان ألوان قوس قزح.
تسمى هذه البقعة الضوئية الملونة '''طيف الضوء الأبيض'''.
نلاحظ أن الضوء البنفسجي أكثر انحرافا من الضوء الأحمر.
{{تعريف|محتوى=تسمى الظاهرة التي تُمَكِّن من فصل الإشعاعات ذات الألوان المختلفة '''تبدد''' الضوء.|عنوان=تعريف|عرض=70%|align=right}}
=== تأثير لون الضوء على معامل الانكسار ===
==== زاوية الانحراف ====
[[ملف:Prisma.gif|تصغير|تبدد الضوء الأبيض في موشور]]
[[ملف:Prisms-disp-diag02.jpg|تصغير|زاوية الانحراف]]
{{تعريف|محتوى=
زاوية الانحراف <math>D</math> لشعاع ضوئي بواسطة موشور هي الزاوية بين الاتجاهين <math>IH</math> و <math>HI'</math> للشعاع الوارد والشعاع المنبثق:
{{وسط | <math>D = (\widehat{IH,HI'})</math>}}
|عنوان=تعريف|عرض=70%|align=right}}
نعتبر المثلث <math>IJI'</math>. تُحقق <math>A</math> زاوية الموشور العلاقة:
{{Equation box 1 |equation = <math>A = r + r'</math>|border colour=black|background colour=white}}
حيث <math>r</math> زاوية الانكسار عند <math>I</math> و <math>r'</math> زاوية الورود عند النقطة <math>I'</math> .
ينحرف الشعاع الوارد مرتين على الموشور:
* الانحراف الأول <math>D_1</math> عند النقطة <math>I</math> : <math>D_1 = \widehat{HII'} = i - r</math>
* الانحراف الثاني <math>D_2</math> عند النقطة <math>I'</math> : <math>D_2 = \widehat{HI'I} = i' - r'</math>
زاوية الانحراف <math>D</math> هي:{{Equation box 1 |equation = <math>D = D_1 + D_2 = i - r + i' -r' = i + i' - A</math>|border colour=black|background colour=white}}
==== تعليل ظاهرة تبدد الضوء ====
بتطبيق القانون الثاني لديكارت عند <math>I</math> و <math>I'</math> نكتب:{{Equation box 1 |equation = <math>\sin i = n \sin r</math>|border colour=black|background colour=white}}و {{Equation box 1 |equation = <math>\sin i' = n \sin r'</math>|border colour=black|background colour=white}}يتبين من هذه العلاقة الأخيرة أن زاوية الانبثاق <math>i'</math> تتعلق بمعامل الانكسار <math>n</math>.
وبما أن زاوية الانحراف <math>D</math> ترتبط بالزاوية <math>i'</math> ، فإنها ترتبط كذلك بمعامل الانكسار.
الانحرافات <math>D</math> المختلفة لموجات ضوئية أحادية اللون ذات ترددات مختلفة تبين أن لكل شعاع أحادي اللون معامل انكسار <math>n</math>.
{{خاصية|محتوى=
يتعلق معامل انكسار زجاج الموشور بتردد الموجات الضوئية.
وبما أن <math>n = \frac{c}{v}</math> فإن سرعة انتشار الموجات الضوئية تتعلق كذلك بترددها.
زجاج الموشور وسط مبدد للضوء.
|عنوان=خاصية|عرض=70%|align=right}}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
8l7h24u3t9kmz8exa4be8hnt9exwpoz
118000
117999
2022-08-07T19:35:51Z
ForzaGreen
14525
/* تأثير لون الضوء على معامل الانكسار */
wikitext
text/x-wiki
__فهرس__
== تبدد الموجات الضوئية ==
=== تعريف الموشور ===
[[ملف:Dispersive prism.png|تصغير|الموشور]]
{{تعريف|محتوى=الموشور وسط شفاف محدود بوجهين مستويين يتقاطعان حسب مستقيم يُسمى حرف الموشور.|عنوان=تعريف|عرض=70%|align=right}}
=== تبدد الضوء الأبيض بواسطة موشور ===
[[ملف:Rainbow on Rara Lake.jpg|تصغير|قوس قزح الناتج عن تحليل الضوء الأبيض للشمس بواسطة قطرات المطر]]
يُلاحظ في الصورة جانبه انحراف الحزمة الضوئية بعد اجتيازها للموشور، حيث تتعرض الحزمة الضوئية لظاهرة الانكسار مرتين.
يُلاحظ على الشاشة تكوُّن بقعة ضوئية ملونة. وتشبه هذه الألوان ألوان قوس قزح.
تسمى هذه البقعة الضوئية الملونة '''طيف الضوء الأبيض'''.
نلاحظ أن الضوء البنفسجي أكثر انحرافا من الضوء الأحمر.
{{تعريف|محتوى=تسمى الظاهرة التي تُمَكِّن من فصل الإشعاعات ذات الألوان المختلفة '''تبدد''' الضوء.|عنوان=تعريف|عرض=70%|align=right}}
=== تأثير لون الضوء على معامل الانكسار ===
==== زاوية الانحراف ====
{{تعريف|محتوى=
زاوية الانحراف <math>D</math> لشعاع ضوئي بواسطة موشور هي الزاوية بين الاتجاهين <math>IH</math> و <math>HI'</math> للشعاع الوارد والشعاع المنبثق:
{{وسط | <math>D = (\widehat{IH,HI'})</math>}}
|عنوان=تعريف|عرض=70%|align=right}}
[[ملف:Prisma.gif|تصغير|تبدد الضوء الأبيض في موشور]]
[[ملف:Prisms-disp-diag02.jpg|تصغير|زاوية الانحراف]]
نعتبر المثلث <math>IJI'</math>. تُحقق <math>A</math> زاوية الموشور العلاقة:
{{Equation box 1 |equation = <math>A = r + r'</math>|border colour=black|background colour=white}}
حيث <math>r</math> زاوية الانكسار عند <math>I</math> و <math>r'</math> زاوية الورود عند النقطة <math>I'</math> .
ينحرف الشعاع الوارد مرتين على الموشور:
* الانحراف الأول <math>D_1</math> عند النقطة <math>I</math> : <math>D_1 = \widehat{HII'} = i - r</math>
* الانحراف الثاني <math>D_2</math> عند النقطة <math>I'</math> : <math>D_2 = \widehat{HI'I} = i' - r'</math>
زاوية الانحراف <math>D</math> هي:{{Equation box 1 |equation = <math>D = D_1 + D_2 = i - r + i' -r' = i + i' - A</math>|border colour=black|background colour=white}}
==== تعليل ظاهرة تبدد الضوء ====
بتطبيق القانون الثاني لديكارت عند <math>I</math> و <math>I'</math> نكتب:{{Equation box 1 |equation = <math>\sin i = n \sin r</math>|border colour=black|background colour=white}}و {{Equation box 1 |equation = <math>\sin i' = n \sin r'</math>|border colour=black|background colour=white}}يتبين من هذه العلاقة الأخيرة أن زاوية الانبثاق <math>i'</math> تتعلق بمعامل الانكسار <math>n</math>.
وبما أن زاوية الانحراف <math>D</math> ترتبط بالزاوية <math>i'</math> ، فإنها ترتبط كذلك بمعامل الانكسار.
الانحرافات <math>D</math> المختلفة لموجات ضوئية أحادية اللون ذات ترددات مختلفة تبين أن لكل شعاع أحادي اللون معامل انكسار <math>n</math>.
{{خاصية|محتوى=
يتعلق معامل انكسار زجاج الموشور بتردد الموجات الضوئية.
وبما أن <math>n = \frac{c}{v}</math> فإن سرعة انتشار الموجات الضوئية تتعلق كذلك بترددها.
زجاج الموشور وسط مبدد للضوء.
|عنوان=خاصية|عرض=70%|align=right}}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=انتشار موجة ضوئية/حيود موجة ضوئية أحادية اللون
}}
[[تصنيف:علم فيزياء الموجات]]
[[تصنيف:كلية علوم الفيزياء]]
djpkc8e63hjamk3xyjl4s5j7z8ta6xt
التناقص الإشعاعي/استقرار وعدم استقرار النواة
0
28386
118001
117130
2022-08-07T21:08:57Z
ForzaGreen
14525
/* تذكير بتركيب النواة */
wikitext
text/x-wiki
__فهرس__
== استقرار وعدم استقرار النواة ==
=== تذكير بتركيب النواة ===
تتكون نواة ذرة من نوترونات وبروتونات تُسمى '''نُوَيَّات'''.
يُرمز إلى عدد النويات بالحرف <math>A</math> ويسمى '''عدد الكتلة'''، وإلى عدد البروتونات بالحرف <math>Z</math> ويُسمى '''عدد الشحنة'''.
أما عدد النوترونات فيُرمز إليه بالحرف <math>N</math> حيث: <math>N = A - Z</math>
{{تعريف|محتوى=تمثل نواة ذرة لعنصر كيميائي <math>X</math> بالرمز <chem>^{A}_{Z}X</chem>|عنوان=نواة ذرة|عرض=70%|align=right}}
'''مثال''': <chem>^{35}_{17}Cl</chem> هو رمز نواة الكلور، وتحتوي على 17 بروتونا و 35-17=18 نوترونا.
=== النويدات ===
{{ تطوير مقالة }}
=== النظائرية ===
{{ تطوير مقالة }}
=== كثافة المادة النووية ===
{{ تطوير مقالة }}
=== النشاط الإشعاعي ===
{{ تطوير مقالة }}
=== مخطط سيغري ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=التناقص الإشعاعي
|التالي=التناقص الإشعاعي/التحولات النووية التلقائية - النشاط الإشعاعي}}
[[تصنيف:علم الفيزياء الذرية]]
[[تصنيف:كلية علوم الفيزياء]]
4zm8rju16hfpdl5dhsp7qvlspewnerj
118002
118001
2022-08-07T21:14:04Z
ForzaGreen
14525
/* النويدات */
wikitext
text/x-wiki
__فهرس__
== استقرار وعدم استقرار النواة ==
=== تذكير بتركيب النواة ===
تتكون نواة ذرة من نوترونات وبروتونات تُسمى '''نُوَيَّات'''.
يُرمز إلى عدد النويات بالحرف <math>A</math> ويسمى '''عدد الكتلة'''، وإلى عدد البروتونات بالحرف <math>Z</math> ويُسمى '''عدد الشحنة'''.
أما عدد النوترونات فيُرمز إليه بالحرف <math>N</math> حيث: <math>N = A - Z</math>
{{تعريف|محتوى=تمثل نواة ذرة لعنصر كيميائي <math>X</math> بالرمز <chem>^{A}_{Z}X</chem>|عنوان=نواة ذرة|عرض=70%|align=right}}
'''مثال''': <chem>^{35}_{17}Cl</chem> هو رمز نواة الكلور، وتحتوي على 17 بروتونا و 35-17=18 نوترونا.
=== النويدات ===
{{تعريف|محتوى=في الفيزياء الذرية، يُطلق اسم النويدة على مجموعة من النوى تتميز بعدد معين من النوترونات ومن البروتونات.|عنوان=تعريف النويدة|عرض=70%|align=right}}
إن لنواة نويدة نفس عدد الكتلة ونفس عدد الشحنة.
نَعْرف نويدة بكيفية تامة بإعطاء <math>A</math> و <math>Z</math> ، فكتب <chem>^{A}_{Z}X</chem>
'''أمثلة''':
* نويدتان لعنصر الكربون: <chem>^{12}_{6}C</chem> و <chem>^{14}_{6}C</chem>
* نودتان لعنصر الأورانيوم: <chem>^{235}_{92}U</chem> و <chem>^{238}_{92}U</chem>
=== النظائرية ===
{{ تطوير مقالة }}
=== كثافة المادة النووية ===
{{ تطوير مقالة }}
=== النشاط الإشعاعي ===
{{ تطوير مقالة }}
=== مخطط سيغري ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=التناقص الإشعاعي
|التالي=التناقص الإشعاعي/التحولات النووية التلقائية - النشاط الإشعاعي}}
[[تصنيف:علم الفيزياء الذرية]]
[[تصنيف:كلية علوم الفيزياء]]
qda1nx5fzpnrcnhp1qtr7ey22k200tw
118003
118002
2022-08-07T21:22:47Z
ForzaGreen
14525
/* النظائرية */
wikitext
text/x-wiki
__فهرس__
== استقرار وعدم استقرار النواة ==
=== تذكير بتركيب النواة ===
تتكون نواة ذرة من نوترونات وبروتونات تُسمى '''نُوَيَّات'''.
يُرمز إلى عدد النويات بالحرف <math>A</math> ويسمى '''عدد الكتلة'''، وإلى عدد البروتونات بالحرف <math>Z</math> ويُسمى '''عدد الشحنة'''.
أما عدد النوترونات فيُرمز إليه بالحرف <math>N</math> حيث: <math>N = A - Z</math>
{{تعريف|محتوى=تمثل نواة ذرة لعنصر كيميائي <math>X</math> بالرمز <chem>^{A}_{Z}X</chem>|عنوان=نواة ذرة|عرض=70%|align=right}}
'''مثال''': <chem>^{35}_{17}Cl</chem> هو رمز نواة الكلور، وتحتوي على 17 بروتونا و 35-17=18 نوترونا.
=== النويدات ===
{{تعريف|محتوى=في الفيزياء الذرية، يُطلق اسم النويدة على مجموعة من النوى تتميز بعدد معين من النوترونات ومن البروتونات.|عنوان=تعريف النويدة|عرض=70%|align=right}}
إن لنواة نويدة نفس عدد الكتلة ونفس عدد الشحنة.
نَعْرف نويدة بكيفية تامة بإعطاء <math>A</math> و <math>Z</math> ، فكتب <chem>^{A}_{Z}X</chem>
'''أمثلة''':
* نويدتان لعنصر الكربون: <chem>^{12}_{6}C</chem> و <chem>^{14}_{6}C</chem>
* نودتان لعنصر الأورانيوم: <chem>^{235}_{92}U</chem> و <chem>^{238}_{92}U</chem>
=== النظائرية ===
يوجد في الطبيعة 90 عنصرا كيميائيا.
ونعرف في الوقت الراهن ما يُقارب 1500 نويدة مختلفة، 350 منها طبيعية.
ويرجع هذا لكون أن نفس العنصر الكيميائي يمكن أن تقابله عدة نويدات تختلف في ما بينها من حيث عدد النوترونات.
تُسمى هذه النويدات '''نظائر'''، وهي تتوفر على نفس عدد الشحنة <math>Z</math> وتختلف من حيث عدد الكتلة <math>A</math>.
{{تعريف|محتوى=
النظائر نويدات تحتوي على نفس عدد البروتونات (نفس <math>Z</math>) وتختلف من حيث عدد النوترونات (تختلف من حيث <math>A</math>).
|عنوان=تعريف|عرض=70%|align=right}}
'''مثال''': <chem>^{12}_{6}C</chem> و <chem>^{14}_{6}C</chem> نظيران لعنصر الكربون.
بالنسبة لخليط طبيعي كتلته <math>m</math> يتكون من نظائر عنصر ما، تُعَرَّف '''الوفارة''' <math>\theta_i</math> لنظير <math>i</math> كتلته <math>m_i</math> في هذا الخليط بالعلاقة <math>m = \sum_{i} m_i \theta_i</math> ، ويُعَبَّر عنها بالنسبة المائوية.
يُعطي الجدول التالي الوفارة الطبيعية لبعض النظائر.
{| class="wikitable"
|+
!العنصر
!النظائر
!الوفارة الطبيعية
!
|-
|الأوكسجين
|
|
|
|-
|
|
|
|
|-
|
|
|
|
|}
=== كثافة المادة النووية ===
{{ تطوير مقالة }}
=== النشاط الإشعاعي ===
{{ تطوير مقالة }}
=== مخطط سيغري ===
{{ تطوير مقالة }}
{{
ذيل الصفحة
|الرئيسية={{#titleparts: {{ FULLPAGENAME }} | 1 }}
|السابق=التناقص الإشعاعي
|التالي=التناقص الإشعاعي/التحولات النووية التلقائية - النشاط الإشعاعي}}
[[تصنيف:علم الفيزياء الذرية]]
[[تصنيف:كلية علوم الفيزياء]]
gt8t7q8m1r80vjn3ygh6x8rtmv7i3px
قالب:Val
10
28887
117986
2022-08-07T15:41:16Z
ForzaGreen
14525
أنشأ الصفحة ب'<includeonly>{{ {{{♥|safesubst:}}}#invoke:val|main}}</includeonly><noinclude> {{توثيق}} </noinclude>'
wikitext
text/x-wiki
<includeonly>{{ {{{♥|safesubst:}}}#invoke:val|main}}</includeonly><noinclude>
{{توثيق}}
</noinclude>
swcmfobh64nh2r2kxgkfnd4f5knto5q
وحدة:Val
828
28888
117989
2022-08-07T15:58:14Z
ForzaGreen
14525
أنشأ الصفحة ب'-- For Template:Val, output a number and optional unit. -- Format options include scientific and uncertainty notations. local data_module -- name of module defining units local function valerror(msg, nocat, iswarning) -- Return formatted message text for an error or warning. -- Can append "#FormattingError" to URL of a page with a problem to find it. local anchor = '<span id="FormattingError"></span>' local body, category if nocat or mw.title.getCurrentTitl...'
Scribunto
text/plain
-- For Template:Val, output a number and optional unit.
-- Format options include scientific and uncertainty notations.
local data_module -- name of module defining units
local function valerror(msg, nocat, iswarning)
-- Return formatted message text for an error or warning.
-- Can append "#FormattingError" to URL of a page with a problem to find it.
local anchor = '<span id="FormattingError"></span>'
local body, category
if nocat or mw.title.getCurrentTitle():inNamespaces(1, 2, 3, 5) then
-- No category in Talk, User, User_talk, or Wikipedia_talk.
category = ''
else
category = '[[Category:Pages with incorrect formatting templates use]]'
end
if iswarning then
body = '<sup class="noprint Inline-Template" style="white-space:nowrap;">' ..
'[[Template:Val|<span title="' ..
msg:gsub('"', '"') ..
'">warning</span>]]</sup>'
else
body = '<strong class="error">' ..
'Error in {{[[Template:val|val]]}}: ' ..
msg ..
'</strong>'
end
return anchor .. body .. category
end
local range_types = {
-- No need for ' ' because nowrap applies to all output.
[","] = ", ",
["by"] = " by ",
["-"] = "–",
["–"] = "–",
["and"] = " and ",
["or"] = " or " ,
["to"] = " to " ,
["x"] = " × ",
["×"] = " × ",
["/"] = "/",
}
local range_repeat_unit = {
-- WP:UNIT wants unit repeated when a "multiply" range is used.
["x"] = true,
["×"] = true,
}
local function extract_item(index, numbers, arg)
-- Extract an item from arg and store the result in numbers[index].
-- If no argument or if argument is valid, return nil (no error);
-- otherwise, return an error message.
-- The stored result is:
-- * a table for a number (empty if there was no specified number); or
-- * a string for range text
-- Input like 1e3 is regarded as invalid for all except argument 1
-- which accepts e notation as an alternative to the 'e' argument.
-- Input commas are removed so 1,234 is the same as 1234.
local which = index
local function fail(msg)
local description
if which == 'e' then
description = 'exponent parameter (<b>e</b>)'
else
description = 'parameter ' .. which
end
return description .. ' ' .. (msg or 'is not a valid number') .. '.'
end
local result = {}
local range = range_types[arg]
if range then
if type(index) == 'number' and (index % 2 == 0) then
if index == 2 then
if numbers[1] and numbers[1].exp then
return fail('cannot use a range if the first parameter includes "e"')
end
numbers.has_ranges = true
else
if not numbers.has_ranges then
return fail('needs a range in parameter 2')
end
end
numbers[index] = range
if range_repeat_unit[arg] then
-- Any "repeat" range forces unit (if any) to be repeated for all items.
numbers.isrepeat = true
end
return nil
end
return fail('does not accept a range')
end
if numbers.has_ranges and type(index) == 'number' and (index % 2 == 0) then
return fail('should be a range')
end
if index == 'e' then
local e = numbers[1] and numbers[1].exp
if e then
if arg then
return fail('cannot be used if the first parameter includes "e"')
end
arg = e
which = 1
end
end
if arg and arg ~= '' then
arg = arg:gsub(',', '')
if arg:sub(1, 1) == '(' and arg:sub(-1) == ')' then
result.parens = true
arg = arg:sub(2, -2)
end
local a, b = arg:match('^(.+)[Ee](.+)$')
if a then
if index == 1 then
arg = a
result.exp = b
else
return fail('cannot use e notation')
end
end
local isnegative, propersign, prefix
local minus = '−'
prefix, arg = arg:match('^(.-)([%d.]+)$')
local value = tonumber(arg)
if not value then
return fail()
end
if arg:sub(1, 1) == '.' then
arg = '0' .. arg
end
if prefix == '' then
-- Ignore.
elseif prefix == '±' then
-- Display for first number, ignore for others.
if index == 1 then
propersign = '±'
end
elseif prefix == '+' then
propersign = '+'
elseif prefix == '-' or prefix == minus then
propersign = minus
isnegative = true
else
return fail()
end
result.clean = arg
result.sign = propersign or ''
result.value = isnegative and -value or value
end
numbers[index] = result
return nil -- no error
end
local function get_args(numbers, args)
-- Extract arguments and store the results in numbers.
-- Return nothing (no error) if ok; otherwise, return an error message.
for index = 1, 99 do
local which = index
local arg = args[which] -- has been trimmed
if not arg then
which = 'e'
arg = args[which]
end
local msg = extract_item(which, numbers, arg)
if msg then
return msg
end
if which == 'e' then
break
end
if index > 19 then
return 'too many parameters'
end
end
if numbers.has_ranges and (#numbers % 2 == 0) then
return 'need a number after the last parameter because it is a range.'
end
end
local function get_scale(text, ucode)
-- Return the value of text as a number, or throw an error.
-- This supports extremely basic expressions of the form:
-- a / b
-- a ^ b
-- where a and b are numbers or 'pi'.
local n = tonumber(text)
if n then
return n
end
n = text:gsub('pi', math.pi)
for _, op in ipairs({ '/', '^' }) do
local a, b = n:match('^(.-)' .. op .. '(.*)$')
if a then
a = tonumber(a)
b = tonumber(b)
if a and b then
if op == '/' then
return a / b
elseif op == '^' then
return a ^ b
end
end
break
end
end
error('Unit "' .. ucode .. '" has invalid scale "' .. text .. '"')
end
local function get_builtin_unit(ucode, definitions)
-- Return table of information for the specified built-in unit, or nil if not known.
-- Each defined unit code must be followed by two spaces (not tab characters).
local _, pos = definitions:find('\n' .. ucode .. ' ', 1, true)
if pos then
local endline = definitions:find('%s*\n', pos)
if endline then
local result = {}
local n = 0
local text = definitions:sub(pos + 1, endline - 1):gsub('%s%s+', '\t')
for item in (text .. '\t'):gmatch('(%S.-)\t') do
if item == 'ALIAS' then
result.alias = true
elseif item == 'ANGLE' then
result.isangle = true
result.nospace = true
elseif item == 'NOSPACE' then
result.nospace = true
elseif item == 'SI' then
result.si = true
else
n = n + 1
if n == 1 then
local link, symbol = item:match('^%[%[([^|]+)|(.+)%]%]$')
if link then
result.symbol = symbol
result.link = link
n = 2
else
result.symbol = item
end
elseif n == 2 then
result.link = item
elseif n == 3 then
result.scale_text = item
result.scale = get_scale(item, ucode)
else
result.more_ignored = item
break
end
end
end
if result.si then
local s = result.symbol
if ucode == 'mc' .. s or ucode == 'mu' .. s then
result.ucode = 'µ' .. s -- unit code for convert should be this
end
end
if n >= 2 or (n >= 1 and result.alias) then
return result
end
-- Ignore invalid definition, treating it as a comment.
end
end
end
local function convert_lookup(ucode, value, scaled_top, want_link, si, options)
local lookup = require('Module:Convert')._unit
return lookup(ucode, {
value = value,
scaled_top = scaled_top,
link = want_link,
si = si,
sort = options.sortable,
})
end
local function get_unit(ucode, value, scaled_top, options)
local want_link = options.want_link
if scaled_top then
want_link = options.want_per_link
end
local data = mw.loadData(data_module)
local result = options.want_longscale and
get_builtin_unit(ucode, data.builtin_units_long_scale) or
get_builtin_unit(ucode, data.builtin_units)
local si, use_convert
if result then
if result.alias then
ucode = result.symbol
use_convert = true
end
if result.scale then
-- Setting si means convert will use the unit as given, and the sort key
-- will be calculated from the value without any extra scaling that may
-- occur if convert found the unit code. For example, if val defines the
-- unit 'year' with a scale and if si were not set, convert would also apply
-- its own scale because convert knows that a year is 31,557,600 seconds.
si = { result.symbol, result.link }
value = value * result.scale
end
if result.si then
ucode = result.ucode or ucode
si = { result.symbol, result.link }
use_convert = true
end
else
result = {}
use_convert = true
end
local convert_unit = convert_lookup(ucode, value, scaled_top, want_link, si, options)
result.sortkey = convert_unit.sortspan
if use_convert then
result.text = convert_unit.text
result.scaled_top = convert_unit.scaled_value
else
if want_link then
result.text = '[[' .. result.link .. '|' .. result.symbol .. ']]'
else
result.text = result.symbol
end
result.scaled_top = value
end
return result
end
local function makeunit(value, options)
-- Return table of information for the requested unit and options, or
-- return nil if no unit.
options = options or {}
local unit
local ucode = options.u
local percode = options.per
if ucode then
unit = get_unit(ucode, value, nil, options)
elseif percode then
unit = { nospace = true, scaled_top = value }
else
return nil
end
local text = unit.text or ''
local sortkey = unit.sortkey
if percode then
local function bracketed(code, text)
return code:find('[*./]') and '(' .. text .. ')' or text
end
local perunit = get_unit(percode, 1, unit.scaled_top, options)
text = (ucode and bracketed(ucode, text) or '') ..
'/' .. bracketed(percode, perunit.text)
sortkey = perunit.sortkey
end
if not (unit.nospace or options.nospace) then
text = ' ' .. text
end
return { text = text, isangle = unit.isangle, sortkey = sortkey }
end
local function list_units(mode)
-- Return wikitext to list the built-in units.
-- A unit code should not contain wikimarkup so don't bother escaping.
local data = mw.loadData(data_module)
local definitions = data.builtin_units .. data.builtin_units_long_scale
local last_was_blank = true
local n = 0
local result = {}
local function add(line)
if line == '' then
last_was_blank = true
else
if last_was_blank and n > 0 then
n = n + 1
result[n] = ''
end
last_was_blank = false
n = n + 1
result[n] = line
end
end
local si_prefixes = {
-- These are the prefixes recognized by convert; u is accepted for micro.
y = 'y',
z = 'z',
a = 'a',
f = 'f',
p = 'p',
n = 'n',
u = 'µ',
['µ'] = 'µ',
m = 'm',
c = 'c',
d = 'd',
da = 'da',
h = 'h',
k = 'k',
M = 'M',
G = 'G',
T = 'T',
P = 'P',
E = 'E',
Z = 'Z',
Y = 'Y',
}
local function is_valid(ucode, unit)
if unit and not unit.more_ignored then
assert(type(unit.symbol) == 'string' and unit.symbol ~= '')
if unit.alias then
if unit.link or unit.scale_text or unit.si then
return false
end
end
if unit.si then
if unit.scale_text then
return false
end
ucode = unit.ucode or ucode
local base = unit.symbol
if ucode == base then
unit.display = base
return true
end
local plen = #ucode - #base
if plen > 0 then
local prefix = si_prefixes[ucode:sub(1, plen)]
if prefix and ucode:sub(plen + 1) == base then
unit.display = prefix .. base
return true
end
end
else
unit.display = unit.symbol
return true
end
end
return false
end
local lookup = require('Module:Convert')._unit
local function show_convert(ucode, unit)
-- If a built-in unit defines a scale or sets the SI flag, any unit defined in
-- convert is not used (the scale or SI prefix's scale is used for a sort key).
-- If there is no scale or SI flag, and the unit is not defined in convert,
-- the sort key may not be correct; this allows such units to be identified.
if not (unit.si or unit.scale_text) then
if mode == 'convert' then
unit.show = not lookup(unit.alias and unit.symbol or ucode).unknown
unit.show_text = 'CONVERT'
elseif mode == 'unknown' then
unit.show = lookup(unit.alias and unit.symbol or ucode).unknown
unit.show_text = 'UNKNOWN'
elseif not unit.alias then
-- Show convert's scale in square brackets ('[1]' for an unknown unit).
-- Don't show scale for an alias because it's misleading for temperature
-- and an alias is probably not useful for anything else.
local scale = lookup(ucode, {value=1, sort='on'}).scaled_value
if type(scale) == 'number' then
scale = string.format('%.5g', scale):gsub('e%+?(%-?)0*(%d+)', 'e%1%2')
else
scale = '?'
end
unit.show = true
unit.show_text = '[' .. scale .. ']'
end
end
end
for line in definitions:gmatch('([^\n]*)\n') do
local pos, _ = line:find(' ', 1, true)
if pos then
local ucode = line:sub(1, pos - 1)
local unit = get_builtin_unit(ucode, '\n' .. line .. '\n')
if is_valid(ucode, unit) then
show_convert(ucode, unit)
local flags, text
if unit.alias then
text = unit.symbol
else
text = '[[' .. unit.link .. '|' .. unit.display .. ']]'
end
if unit.isangle then
unit.nospace = nil -- don't show redundant flag
end
for _, f in ipairs({
{ 'alias', 'ALIAS' },
{ 'isangle', 'ANGLE' },
{ 'nospace', 'NOSPACE' },
{ 'si', 'SI' },
{ 'scale_text', unit.scale_text },
{ 'show', unit.show_text },
}) do
if unit[f[1]] then
local t = f[2]
if t:match('^%u+$') then
t = '<small>' .. t .. '</small>'
end
if flags then
flags = flags .. ' ' .. t
else
flags = t
end
end
end
if flags then
text = text .. ' • ' .. flags
end
add(ucode .. ' = ' .. text .. '<br />')
else
add(line .. ' ◆ <b>invalid definition</b><br />')
end
else
add(line)
end
end
return table.concat(result, '\n')
end
local delimit_groups = require('Module:Gapnum').groups
local function delimit(sign, numstr, fmt)
-- Return sign and numstr (unsigned digits or '.' only) after formatting.
-- Four-digit integers are not formatted with gaps.
fmt = (fmt or ''):lower()
if fmt == 'none' or (fmt == '' and #numstr == 4 and numstr:match('^%d+$')) then
return sign .. numstr
end
-- Group number by integer and decimal parts.
-- If there is no decimal part, delimit_groups returns only one table.
local ipart, dpart = delimit_groups(numstr)
local result
if fmt == 'commas' then
result = sign .. table.concat(ipart, ',')
if dpart then
result = result .. '.' .. table.concat(dpart)
end
else
-- Delimit with a small gap by default.
local groups = {}
groups[1] = table.remove(ipart, 1)
for _, v in ipairs(ipart) do
table.insert(groups, '<span style="margin-left:.25em;">' .. v .. '</span>')
end
if dpart then
table.insert(groups, '.' .. (table.remove(dpart, 1) or ''))
for _, v in ipairs(dpart) do
table.insert(groups, '<span style="margin-left:.25em;">' .. v .. '</span>')
end
end
result = sign .. table.concat(groups)
end
return result
end
local function sup_sub(sup, sub, align)
-- Return the same result as Module:Su except val defaults to align=right.
if align == 'l' or align == 'left' then
align = 'left'
elseif align == 'c' or align == 'center' then
align = 'center'
else
align = 'right'
end
return '<span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:85%;text-align:' ..
align .. '">' .. sup .. '<br />' .. sub .. '</span>'
end
local function range_text(items, unit_table, options)
local fmt = options.fmt
local nend = items.nend or ''
if items.isrepeat or unit_table.isangle then
nend = nend .. unit_table.text
end
local text = ''
for i = 1, #items do
if i % 2 == 0 then
text = text .. items[i]
else
text = text .. delimit(items[i].sign, items[i].clean, fmt) .. nend
end
end
return text
end
local function uncertainty_text(uncertainty, unit_table, options)
local angle, text, need_parens
if unit_table.isangle then
angle = unit_table.text
end
local upper = uncertainty.upper or {}
local lower = uncertainty.lower or {}
local uncU = upper.clean
if uncU then
local fmt = options.fmt
local uncL = lower.clean
if uncL then
uncU = delimit('+', uncU, fmt) .. (upper.errend or '')
uncL = delimit('−', uncL, fmt) .. (lower.errend or '')
if angle then
uncU = uncU .. angle
uncL = uncL .. angle
end
text = (angle or '') ..
'<span style="margin-left:0.3em;">' ..
sup_sub(uncU, uncL, options.align) ..
'</span>'
else
if upper.parens then
text = '(' .. uncU .. ')' -- old template did not delimit
else
text = (angle or '') ..
'<span style="margin-left:0.3em;margin-right:0.15em;">±</span>' ..
delimit('', uncU, fmt)
need_parens = true
end
if uncertainty.errend then
text = text .. uncertainty.errend
end
if angle then
text = text .. angle
end
end
else
if angle then
text = angle
end
end
return text, need_parens
end
local function _main(values, unit_spec, options)
data_module = 'Module:Val/units' .. (options.sandbox and '/sandbox' or '')
local action = options.action
if action then
if action == 'list' then
-- Kludge: am using the align parameter (a=xxx) for type of list.
return list_units(options.align)
end
return valerror('invalid action "' .. action .. '".', options.nocat)
end
local number = values.number or (values.numbers and values.numbers[1]) or {}
local e_10 = options.e or {}
local novalue = (number.value == nil and e_10.clean == nil)
local fmt = options.fmt
local want_sort = true
local sortable = options.sortable
if sortable == 'off' or (sortable == nil and novalue) then
want_sort = false
elseif sortable == 'debug' then
-- Same as sortable = 'on' but the sort key is displayed.
else
sortable = 'on'
end
local sort_value = 1
if want_sort then
sort_value = number.value or 1
if e_10.value and sort_value ~= 0 then
-- The 'if' avoids {{val|0|e=1234}} giving an invalid sort_value due to overflow.
sort_value = sort_value * 10^e_10.value
end
end
local unit_table = makeunit(sort_value, {
u = unit_spec.u,
want_link = unit_spec.want_link,
per = unit_spec.per,
want_per_link = unit_spec.want_per_link,
nospace = novalue,
want_longscale = unit_spec.want_longscale,
sortable = sortable,
})
local sortkey
if unit_table then
if want_sort then
sortkey = unit_table.sortkey
end
else
unit_table = { text = '' }
if want_sort then
sortkey = convert_lookup('dummy', sort_value, nil, nil, nil, { sortable = sortable }).sortspan
end
end
local final_unit = unit_table.isangle and '' or unit_table.text
local e_text, n_text, need_parens
local uncertainty = values.uncertainty
if uncertainty then
if number.clean then
n_text = delimit(number.sign, number.clean, fmt) .. (number.nend or '')
local text
text, need_parens = uncertainty_text(uncertainty, unit_table, options)
if text then
n_text = n_text .. text
end
else
n_text = ''
end
else
if values.numbers.isrepeat then
final_unit = ''
end
n_text = range_text(values.numbers, unit_table, options)
need_parens = true
end
if e_10.clean then
if need_parens then
n_text = '(' .. n_text .. ')'
end
e_text = '10<sup>' .. delimit(e_10.sign, e_10.clean, fmt) .. '</sup>'
if number.clean then
e_text = '<span style="margin-left:0.25em;margin-right:0.15em;">×</span>' .. e_text
end
else
e_text = ''
end
local result =
(sortkey or '') ..
(options.prefix or '') ..
n_text ..
e_text ..
final_unit ..
(options.suffix or '')
if result ~= '' then
result = '<span class="nowrap">' .. result .. '</span>'
end
return result .. (options.warning or '')
end
local function check_parameters(args, has_ranges, nocat)
-- Return warning text for the first problem parameter found, or nothing if ok.
local whitelist = {
a = true,
action = true,
debug = true,
e = true,
['end'] = true,
errend = true,
['+errend'] = true,
['-errend'] = true,
fmt = true,
['long scale'] = true,
long_scale = true,
longscale = true,
nocategory = true,
p = true,
s = true,
sortable = true,
u = true,
ul = true,
up = true,
upl = true,
}
for k, v in pairs(args) do
if type(k) == 'string' and not whitelist[k] then
local warning = 'Val parameter "' .. k .. '=' .. v .. '" is not supported'
return valerror(warning, nocat, true)
end
end
if not has_ranges and args[4] then
return valerror('Val parameter 4 ignored', nocat, true)
end
end
local function main(frame)
local getArgs = require('Module:Arguments').getArgs
local args = getArgs(frame, {wrappers = { 'Template:Val', 'Template:Val/sandboxlua' }})
local nocat = args.nocategory
local numbers = {} -- table of number tables, perhaps with range text
local msg = get_args(numbers, args)
if msg then
return valerror(msg, nocat)
end
if args.u and args.ul then
return valerror('unit (<b>u</b>) and unit with link (<b>ul</b>) are both specified, only one is allowed.', nocat)
end
if args.up and args.upl then
return valerror('unit per (<b>up</b>) and unit per with link (<b>upl</b>) are both specified, only one is allowed.', nocat)
end
local values
if numbers.has_ranges then
-- Multiple values with range separators but no uncertainty.
numbers.nend = args['end']
values = {
numbers = numbers,
}
else
-- A single value with optional uncertainty.
local function setfield(i, dst, src)
local v = args[src]
if v then
if numbers[i] then
numbers[i][dst] = v
else
numbers[i] = { [dst] = v }
end
end
end
setfield(1, 'nend', 'end')
setfield(2, 'errend', '+errend')
setfield(3, 'errend', '-errend')
values = {
number = numbers[1],
uncertainty = {
upper = numbers[2],
lower = numbers[3],
errend = args.errend,
}
}
end
local unit_spec = {
u = args.ul or args.u,
want_link = args.ul ~= nil,
per = args.upl or args.up,
want_per_link = args.upl ~= nil,
want_longscale = (args.longscale or args.long_scale or args['long scale']) == 'on',
}
local options = {
action = args.action,
align = args.a,
e = numbers.e,
fmt = args.fmt,
nocat = nocat,
prefix = args.p,
sandbox = string.find(frame:getTitle(), 'sandbox', 1, true) ~= nil,
sortable = args.sortable or (args.debug == 'yes' and 'debug' or nil),
suffix = args.s,
warning = check_parameters(args, numbers.has_ranges, nocat),
}
return _main(values, unit_spec, options)
end
return { main = main, _main = _main }
nw2j984d7dbvi29hanp0o4rec9v8gpc
وحدة:Gapnum
828
28889
117990
2022-08-07T15:59:21Z
ForzaGreen
14525
أنشأ الصفحة ب'local p = {} local getArgs function p.main(frame) if not getArgs then getArgs = require('Module:Arguments').getArgs end local args = getArgs(frame, {wrappers = 'Template:Gapnum'}) local n = args[1] if not n then error('Parameter 1 is required') elseif not tonumber(n) and not tonumber(n, 36) then -- Validates any number with base ≤ 36 error('Unable to convert "' .. args[1] .. '" to a number') end local gap = args.gap local precision = tonumber(...'
Scribunto
text/plain
local p = {}
local getArgs
function p.main(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
local args = getArgs(frame, {wrappers = 'Template:Gapnum'})
local n = args[1]
if not n then
error('Parameter 1 is required')
elseif not tonumber(n) and not tonumber(n, 36) then -- Validates any number with base ≤ 36
error('Unable to convert "' .. args[1] .. '" to a number')
end
local gap = args.gap
local precision = tonumber(args.prec)
return p.gaps(n,{gap=gap,prec=precision})
end
-- Not named p._main so that it has a better function name when required by Module:Val
function p.gaps(n,tbl)
local nstr = tostring(n)
if not tbl then
tbl = {}
end
local gap = tbl.gap or '.25em'
local int_part, frac_part = p.groups(n,tbl.prec)
local ret = mw.html.create('span')
:css('white-space','nowrap')
-- No gap necessary on first group
:wikitext(table.remove(int_part,1))
-- Build int part
for _, v in ipairs(int_part) do
ret:tag('span')
:css('margin-left',gap)
:wikitext(v)
end
if frac_part then
-- The first group after the decimal shouldn't have a gap
ret:wikitext('.' .. table.remove(frac_part,1))
-- Build frac part
for _, v in ipairs(frac_part) do
ret:tag('span')
:css('margin-left',gap)
:wikitext(v)
end
end
return ret
end
-- Creates tables where each element is a different group of the number
function p.groups(num,precision)
local nstr = tostring(num)
if not precision then
precision = -1
end
local decimalloc = nstr:find('.', 1, true)
local int_part, frac_part
if decimalloc == nil then
int_part = nstr
else
int_part = nstr:sub(1, decimalloc-1)
frac_part = nstr:sub(decimalloc + 1)
end
-- only define ret_i as an empty table, let ret_d stay nil
local ret_i,ret_d = {}
-- Loop to handle most of the groupings; from right to left, so that if a group has less than 3 members, it will be the first group
while int_part:len() > 3 do
-- Insert in first spot, since we're moving backwards
table.insert(ret_i,1,int_part:sub(-3))
int_part = int_part:sub(1,-4)
end
-- handle any left over numbers
if int_part:len() > 0 then
table.insert(ret_i,1,int_part)
end
if precision ~= 0 and frac_part then
ret_d = {}
if precision == -1 then
precision = frac_part:len()
end
-- Reduce the length of the string if required precision is less than actual precision
-- OR
-- Increase it (by adding 0s) if the required precision is more than actual
local offset = precision - frac_part:len()
if offset < 0 then
frac_part = frac_part:sub(1,precision)
elseif offset > 0 then
frac_part = frac_part .. string.rep('0', offset)
end
-- Allow groups of 3 or 2 (3 first)
for v in string.gmatch(frac_part,'%d%d%d?') do
table.insert(ret_d,v)
end
-- Preference for groups of 4 instead of groups of 1 at the end
if #frac_part % 3 == 1 then
if frac_part:len() == 1 then
ret_d = {frac_part}
else
local last_g = ret_d[#ret_d] or ''
last_g = last_g..frac_part:sub(-1)
ret_d[#ret_d] = last_g
end
end
end
return ret_i,ret_d
end
return p
lj5n3lgypceqtbnvwbvlt9k8birgmdl
قالب:Equation box 1
10
28890
117996
2022-08-07T19:12:29Z
ForzaGreen
14525
أنشأ الصفحة ب'{{{indent|:}}}{|cellpadding="{{{cellpadding|5}}}" style="border:{{{border|2}}}px solid {{{border colour|#50C878}}};background: {{{background colour|#ECFCF4}}}; text-align: center;" |{{{title|}}} {{{equation|<math>z=re^{i\phi}=x+iy \,\!</math> }}}{{#if:{{{ref|}}}| ({{EquationRef|{{{ref}}}}})}} |}<noinclude> [[تصنيف:قوالب تنسيق محتوى الرياضيات]] [[تصنيف:قوالب تستخدم قالب بيانات القالب]] {...'
wikitext
text/x-wiki
{{{indent|:}}}{|cellpadding="{{{cellpadding|5}}}" style="border:{{{border|2}}}px solid {{{border colour|#50C878}}};background: {{{background colour|#ECFCF4}}}; text-align: center;"
|{{{title|}}}
{{{equation|<math>z=re^{i\phi}=x+iy \,\!</math> }}}{{#if:{{{ref|}}}| ({{EquationRef|{{{ref}}}}})}}
|}<noinclude>
[[تصنيف:قوالب تنسيق محتوى الرياضيات]]
[[تصنيف:قوالب تستخدم قالب بيانات القالب]]
{{توثيق|content = Type the equation in the blue box. Set box parameters: border thickness and colour, cell padding, and background colour. The full syntax is:<br />
<nowiki>{{Equation box 1|indent|title|equation|ref|cellpadding|border|border colour|background colour}}</nowiki>
<big>'''Parameters'''</big>
#'''''Indent:''''' either leave blank or type colon (:) to indent the box from the left side of the page.
#'''''Title:''''' leave blank or type title/name of equation
#'''''Equation:''''' type an equation [[WP:«math»|in whatever form]], usually [[مساعدة:عرض صيغة رياضية|<tt><math></tt>]] ''equation in LaTeX ...'' <tt></math></tt>. The default equation is the general form of a complex number.
#'''''Ref:''''' (optional) calls {{قا|EquationRef}} with provided value as the parameter.
#'''''Cellpadding:''''' either leave blank (default is 5px) or type number to change the padding of the box around the equation (how much the box wraps around the equation, margins).
#'''''Border:''''' either leave blank (default is 2px) or [[ألوان الويب]] to change thickness of border line.
#'''''Border colour:''''' either leave blank (default is light grey-blue, #ccccff) or type [[ألوان الويب]] for the border line of the box.
#'''''Background colour:''''' either leave blank (default is white) or type colour code for the background area of the box.
See [[قائمة الألوان (متضامة)]] for use with the border and background colours. To use the parameters set the parameter equal to the value by using the equals sign.
<big>'''Examples'''</big>
;Black/white theme
{{Equation box 1
|title='''[[عدد مركب]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}
<code><nowiki>{{Equation box 1
|title='''[[عدد مركب]]'''
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding = 6
|border = 1
|border colour = black
|background colour=white}}</nowiki></code>
;Green theme
{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}}
<code><nowiki>{{Equation box 1
|indent=:
|equation=<math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding
|border
|border colour = #50C878
|background colour = #ECFCF4}}
}}</nowiki></code>
;Blue theme
{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}
<code><nowiki>{{Equation box 1
|indent =:
|title=
|equation = <math>z=re^{i\phi}=x+iy \,\!</math>
|cellpadding= 6
|border
|border colour = #0073CF
|background colour=#F5FFFA}}</nowiki></code>
; With reference
{{Equation box 1
|equation = {{math|1=2 × 2 = 4}}
|ref=1}}
<code><nowiki>{{Equation box 1
|equation = {{math|1=2 × 2 = 4}}
|ref=1}}</nowiki></code>
}}
[[تصنيف:قوالب التنسيق الرياضية]]
</noinclude>
pnnz0f76xra6b5mwapzux06lwaxxc3o