Skip to main content

Posts

what is safe mode and what going on in back ground in safe mode in windows 11 and windows 10

  Safe Mode is a diagnostic mode in Windows operating systems that starts the computer with a minimal set of drivers and services. When you boot your computer into Safe Mode, only basic files and drivers required to run the operating system are loaded, which can help diagnose and fix various issues with your computer.   In Safe Mode, many system services and startup programs are disabled, which can help to identify if the issue is caused by a third-party application or driver. For example, if a software application or driver is causing issues with your computer, it may not run in Safe Mode, which can help you to pinpoint the problem.   In Safe Mode, you can perform various troubleshooting tasks, such as running anti-virus software, updating drivers, uninstalling software, and more. Additionally, you can use Safe Mode to access System Restore, which can be used to restore your computer to a previous state when it was working properly.   In terms...

work around tutorial on addition and subtraction on same shape data by NumPy , python in windows 11 or windows 10 or ubuntu or fedora

NumPy is a Python library used for scientific computing and working with large arrays and matrices. It provides a wide range of mathematical functions including addition and subtraction of arrays.   Addition Method in NumPy: NumPy provides the ` numpy.add ()` method to perform element-wise addition of two arrays or scalars. Here's an example:        In the above example, we first added two arrays of the same shape ` a` and ` b` using the ` numpy.add ()` method and stored the result in c . We then added a scalar value of 10 to the array a using the same method and stored the result in d . Finally, we tried to add two arrays of different shapes e and f , which resulted in a ` ValueError ` as the shapes were not compatible.   Subtraction Method in NumPy: NumPy provides the ` numpy.subtract ()` method to perform element-wise subtraction of two arrays or scalars. Here's an example:   In the above e...

Basic addition and subtruction by NumPy , python in windows 11 or windows 10 or ubuntu or fedora

  NumPy is a Python library used for scientific computing and working with large arrays and matrices. It provides a wide range of mathematical functions including addition and subtraction of arrays.   Addition in NumPy:   To add two arrays using NumPy, we can use the n umpy.add () function. It takes two arrays as inputs and returns a new array with the corresponding elements added together. The arrays should have the same shape.   Here's an example of how to add two arrays using NumPy:   Out put :   Subtraction in NumPy:   To subtrac t two arrays using NumPy, we can use the ` numpy.subtrac t () ` function. It takes two arrays as inputs and returns a new array with the corresponding elements subtracted from each other. The arrays should have the same shape.   Here's an example of how to subtract two arrays using NumPy:   Out put     Note that the add( ) and subtract( ) functions can also be used with scalar ...