Thursday, May 25, 2023

Class 1 ex1 Q1

 Chapter no. 1

Exercise # 1.1

Q.NO.1   Darjzail fesad ko kasroon ki asan shakal mein waziah kijiye


i.     95%

= 95/100

5 pr divide krny  sy

=19/20


ii.   65%   

=65/100

5 pr divide krny sy

=13/20


iii. 75%   

=75/100

5 pr divide krny sy

=3/4


iv. 25%   

=25/100

5 pr divide krny sy

=1/4


v. 56%r 

=56/100

2 pr divide krny sy

=28/50

2 pr divide krny sy

=14/25


vi. 48% 

=48/100

2 pr divide krny sy

=24/50

2 pr divide krny sy

=12/25


vii. 8%   

=8/100

2 pr divide krny sy

=4/50

2 pr divide krny sy

=2/25

Sunday, May 21, 2023

how to Make a 3d slider with html and css

Slide 1

Slide 2

Slide 3

Slide 1

Slide 2

Slide 3

.slider-container { width: 400px; height: 300px; perspective: 1000px; margin: 0 auto; } .slider { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: slide-rotate 15s infinite; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); } .slide { position: absolute; width: 90%; height: 90%; top: 5%; left: 5%; backface-visibility: hidden; transform-style: preserve-3d; display: flex; justify-content: center; align-items: center; color: white; font-size: 24px; font-weight: bold; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); border-radius: 10px; transform: translateZ(-200px); } .slide1 { background-color: #ff6384; } .slide2 { background-color: #36a2eb; transform: translateZ(0); } .slide3 { background-color: #cc65fe; transform: translateZ(200px); } @keyframes slide-rotate { 0% { transform: rotateY(0); } 25% { transform: rotateY(-90deg); } 50% { transform: rotateY(-180deg); } 75% { transform: rotateY(-270deg); } 100% { transform: rotateY(-360deg); } }

Certainly! The code provided is an HTML and CSS implementation of a 3D slider. Here's a description of the code and its functionality:


HTML:

- The slider is contained within a `<div>` element with the class "slider-container".

- Inside the container, there is another `<div>` element with the class "slider" that holds the slides.

- The slides are represented by `<div>` elements with the classes "slide slide1", "slide slide2", and "slide slide3". Each slide contains an `<h1>` element with the slide's content.


CSS:

- The ".slider-container" class sets the dimensions of the slider container and applies a perspective effect to create the 3D view.

- The ".slider" class represents the container for the slides and specifies its positioning and appearance.

- The ".slide" class represents each individual slide. It sets the position, dimensions, and styling of the slides, such as their background color, font size, font weight, box shadow, and border radius.

- The ".slide1", ".slide2", and ".slide3" classes define the specific styles for each slide.

- The "@keyframes slide-rotate" rule specifies the animation of the slider. It rotates the slider around the Y-axis at different percentages to create a spinning effect.


The code positions the slides in a 3D space using the `translateZ` property. Each slide is positioned at a different distance from the viewer, allowing them to overlap and create a 3D effect. The slides rotate around the Y-axis to create a spinning motion.


Please note that this code provides a basic foundation for a 3D slider, and you can further customize it according to your preferences by adjusting the styles, dimensions, animation timings, or adding additional functionality.


Let me know if you need any further clarification or assistance!

Friday, May 19, 2023

find the interval satisfying the inequality 4 - (1/2)n < -7 + (1/4)n,

To find the interval satisfying the inequality 4 - (1/2)n < -7 + (1/4)n, we can solve it step by step. Let's begin:


4 - (1/2)n < -7 + (1/4)n


First, let's eliminate the fractions by multiplying the entire inequality by the least common multiple (LCM) of the denominators, which is 4. This gives:


4 * (4 - (1/2)n) < 4 * (-7 + (1/4)n)


Simplifying:


16 - 2n < -28 + n


Now, let's isolate the variable n on one side of the inequality. We can do this by adding 2n to both sides and adding 28 to both sides:


16 - 2n + 2n < -28 + n + 2n + 28


16 < 3n


Finally, divide both sides of the inequality by 3:


16/3 < n


So, the solution to the inequality is n > 16/3.


Therefore, the interval satisfying the inequality is (16/3, ∞), where n is greater than 16/3.

by using methmatical induction , prove that the eqvation 2+4+6+....2n =n(n+1) is true for all positive integers

 To prove the equation 2 + 4 + 6 + ... + 2n = n(n + 1) for all positive integers using mathematical induction, we need to show that it holds for the base case (n = 1) and then demonstrate that if it holds for some arbitrary positive integer k, it also holds for k + 1.


**Step 1: Base Case**

Let's check the equation for the base case when n = 1:

2 = 1(1 + 1)

2 = 1(2)

2 = 2


The equation holds true for the base case.


**Step 2: Inductive Hypothesis**

Assume that the equation holds true for some arbitrary positive integer k, that is, assume that:

2 + 4 + 6 + ... + 2k = k(k + 1)


**Step 3: Inductive Step**

We need to show that if the equation holds for k, it also holds for k + 1.

We start with the left-hand side (LHS) of the equation:

2 + 4 + 6 + ... + 2k + 2(k + 1)


Using the assumption from the inductive hypothesis:

= k(k + 1) + 2(k + 1)


Factoring out (k + 1):

= (k + 1)(k + 2)


This matches the right-hand side (RHS) of the equation, which is n(n + 1) when n = k + 1:

= (k + 1)((k + 1) + 1)

= (k + 1)(k + 2)


Therefore, if the equation holds for k, it also holds for k + 1.


**Step 4: Conclusion**

By proving the base case and showing that if it holds for k, it also holds for k + 1, we have established that the equation 2 + 4 + 6 + ... + 2n = n(n + 1) is true for all positive integers by mathematical induction.

Visual Studio Review: and download link

 Title: Visual Studio Review: Empowering Developers for Efficient Software Development



Introduction:


Visual Studio, developed by Microsoft, has established itself as a leading integrated development environment (IDE) for software development. It offers a comprehensive suite of tools and features that streamline the development process, enhance productivity, and empower developers to create high-quality applications. In this review, we will explore the key features of Visual Studio and delve into why it has become a go-to choice for developers worldwide.


Key Features of Visual Studio:


1. Extensive Language Support: Visual Studio supports a wide range of programming languages, including C#, C++, Python, JavaScript, and many others. This versatility enables developers to work with their preferred languages and frameworks, making it suitable for various application development scenarios.


2. Robust Code Editor: Visual Studio provides a powerful code editor with features like IntelliSense, code navigation, code formatting, and debugging capabilities. These features enhance code readability, facilitate quick error detection, and help developers write clean and efficient code.


3. Seamless Integration with Azure and Cloud Services: Visual Studio offers seamless integration with Microsoft Azure, enabling developers to build, deploy, and manage cloud-based applications with ease. It provides tools for connecting to cloud services, debugging in the cloud, and deploying applications to Azure environments.


4. Versatile Debugging and Testing Tools: Visual Studio includes advanced debugging and testing tools that assist developers in identifying and fixing issues efficiently. The IDE offers features like breakpoints, watch windows, step-through debugging, and unit testing frameworks, making the debugging and testing process more streamlined and effective.


5. Extensibility and Integration: Visual Studio allows developers to extend its functionality through a vast ecosystem of extensions and add-ons. This extensibility enables developers to customize their development environment, integrate with third-party tools, and enhance their workflow based on specific project requirements.


6. Collaboration and Team Development: Visual Studio provides features for team development, including source control integration with Git and other version control systems. It enables seamless collaboration among team members, allowing them to work on the same codebase simultaneously, track changes, and merge code efficiently.


Download Visual Studio:


To experience the power and versatility of Visual Studio, you can download the software from the official Microsoft website. Visit the following link to access the download page:



Please note that Visual Studio is available in different editions, including the free Community edition for individual developers and small teams, as well as paid editions with additional features for larger organizations.


Conclusion:


Visual Studio stands as a comprehensive and powerful IDE that empowers developers to create high-quality applications efficiently. With its extensive language support, robust code editor, seamless integration with Azure and cloud services, versatile debugging and testing tools, and collaborative features, Visual Studio provides a complete development environment that caters to the needs of developers across different industries and project sizes. Whether you are building desktop applications, web applications, or mobile apps, Visual Studio offers the tools and capabilities to streamline your development process and deliver outstanding results. Download Visual Studio today and elevate your software development experience.

Adobe Premiere Review: and download link

 Title: Adobe Premiere Review: Unleash Your Creative Potential in Video Editing



Introduction:


In the realm of professional video editing, Adobe Premiere stands as a formidable and widely-used software that empowers content creators to craft visually stunning and captivating films, videos, and documentaries. Boasting a robust set of features, seamless integration with other Adobe Creative Cloud applications, and an intuitive user interface, Premiere has established itself as a go-to choice for both aspiring enthusiasts and seasoned professionals. In this review, we will delve into the key features of Adobe Premiere and provide you with a download link to explore its capabilities firsthand.


Key Features of Adobe Premiere:


1. User-Friendly Interface: Adobe Premiere presents users with a clean and well-organized interface, making it accessible to beginners while retaining the power and flexibility demanded by professionals. The workspace can be customized according to individual preferences, enabling users to streamline their workflow and enhance productivity.


2. Comprehensive Video Editing Tools: Premiere offers an extensive array of editing tools, allowing users to trim, cut, and arrange clips effortlessly. Advanced features such as multi-camera editing, keyframe animation, and customizable transitions provide the creative freedom required to produce visually stunning videos.


3. Professional-Grade Effects and Color Correction: With Premiere, you can apply a vast range of effects and filters to your footage, enhancing its visual appeal. The software also includes advanced color correction tools, enabling precise adjustments to achieve the desired look and feel.


4. Seamless Integration with Other Adobe Applications: Adobe Premiere seamlessly integrates with other Adobe Creative Cloud applications such as Adobe After Effects, Adobe Audition, and Adobe Photoshop. This integration enables a smooth workflow, allowing users to effortlessly transfer their projects between applications and leverage the full potential of the Creative Cloud ecosystem.


5. Audio Editing and Mixing Capabilities: Premiere offers robust audio editing and mixing features, allowing users to fine-tune soundtracks, adjust levels, and apply effects to achieve professional-grade audio quality. The integration with Adobe Audition further enhances audio post-production capabilities.


6. Enhanced Collaboration: Adobe Premiere facilitates collaboration among team members through its shared projects feature. Multiple editors can work on the same project simultaneously, making it easier to collaborate, share feedback, and ensure a smooth editing process.


Download Adobe Premiere:


To experience the power and versatility of Adobe Premiere, you can download the software from the official Adobe website. Simply visit the following link to access the download page:


[Download Adobe Premiere](https://www.adobe.com/products/premiere.html)


Please note that Adobe Premiere is a paid software, and Adobe offers various subscription plans to suit different needs and budgets.


Conclusion:


Adobe Premiere stands as a leading video editing software, providing a comprehensive suite of tools and features for both novice and professional users. With its intuitive interface, powerful editing capabilities, seamless integration with other Adobe applications, and enhanced collaboration options, Premiere empowers content creators to bring their creative visions to life. Whether you are editing home videos, producing professional films, or creating engaging online content, Adobe Premiere remains a top choice in the world of video editing. Download it today and unlock your creative potential.

English Class 10



Lesson 10: Expressing Likes and Dislikes


Urdu:

آج ہم دسویں سبق کے طور پر اپنے پسندیدہ اور ناپسندیدہ کی عبارتیں بیان کرنا سیکھیں گے. یہ عبارتیں ہمیں اپنی رائے بیان کرنے میں مدد کرتی ہیں.


English:

Today, we will learn to express our likes and dislikes as our tenth lesson. These expressions will assist us in expressing our opinions.


Urdu:

یہاں ہم کچھ عبارتیں سیکھیں گے جو اپنے پسندیدہ یا ناپسندیدہ کی عبارت کے طور پر استعمال ہوتی ہیں:


1. مجھے یہ پسند ہے (Mujhe yeh pasand hai) - I like this.

2. مجھے یہ ناپسند ہے (Mujhe yeh napasand hai) - I dislike this.

3. میری مزاج کے مطابق (Meri mizaj ke mutabiq) - According to my mood.

4. میں اسے بہت پسند کرتا/کرتی ہوں (Main ise bohat pasand karta/karti hoon) - I really like it.

5. میں اسے برا نہیں کہتا/کہتی (Main ise bura nahi kehta/kehti) - I don't say it's bad.

6. یہ میرا پسندیدہ رنگ ہے (Yeh mera pasandida rang hai) - This is my favorite color.

7. میں یہاں بہت خوش ہوں (Main yahan bohat khush hoon) - I am very happy here.

8. مجھے یہ بہت پسند آیا (Mujhe yeh bohat pasand aya) - I liked it a lot.

9. میں اسے نہیں پسند کرتا/کرتی (Main ise nahi pasand karta/karti) - I don't like it.

10. میں اس کی محبت کرتا/کرتی ہوں (Main uski mohabbat karta/karti hoon) - I love him/her.


English:

Here are some expressions used to express likes and dislikes:


1. I like this.

2. I dislike this.

3. According to my mood.

4. I really like it.

5. I don't say it's bad.

6.


 This is my favorite color.

7. I am very happy here.

8. I liked it a lot.

9. I don't like it.

10. I love him/her.


Urdu:

آپ ان عبارتوں کو استعمال کرتے ہوئے اپنے پسندیدہ اور ناپسندیدہ کی عبارتیں بہتر طور پر بیان کر سکتے ہیں. آیا آپ کوئی جملہ یا مثال بنانا چاہیں گے جس میں ان عبارتوں کا استعمال ہو؟


English:

By using these expressions, you can express your likes and dislikes more effectively. Would you like to create a sentence or example using these expressions?


Urdu:

میں امید کرتا ہوں کہ آپ کو یہ سبق مفید سمجھ آیا ہوگا. اگر آپ کے پاس کوئی سوال ہو یا مزید معلومات کی ضرورت ہو تو پوچھیں بلا جھجھک!

Recent added

TypeScript Class 5

Common Syntax Errors in TypeScript and How to Avoid Them Syntax errors are among the most common issues developers encounter when writing Ty...