Monday, November 9, 2009

Plot inequalities

Teaching my son howto determine domain for inequalities and plot.

x^3 -5x^2 -9x +45 <= 0

so (x+3)(x-3)(x-5) <=0

so critical points are 3,-3 and 5.

Next plot graph using derivatives.
1st derivative is 3x^2 -10x -9 which is zero for x approx 4 or x approx -2/3.
2nd drivative is -ve for x=4 and +ve for x=2/3.
Plot and you will find 2 regions where graph is in 3rd and 4th quadrant (y is -ve or <0)
1st region where y<=0 is x between 3 and 5 and 2nd region where y<=0 is x< -3. and these are the two answers

Saturday, November 7, 2009

Knoppix on USB

You’ll need the following to create a Portable Knoppix:

  • 1GB or Larger USB Flash Pen Drive (fat32 formatted)
  • Windows PC to perform the conversion (XP or Vista)
  • fixkp2.exe Download fixkp2.exe and run, a USB-Knoppix folder is created
  • Download the Knoppix Linux ISO and move it to the USB-Knoppix folder
  • Click fixkp2.bat from the USB-Knoppix folder and follow the onscreen instructions
  • Reboot your PC and set your system BIOS or Boot Menu to boot from the USB device, save your changes and reboot
    Upon reboot, you should have a successful launch of Knoppix Linux from your USB
    memory stick.

How to make a Damn Small Linux USB Flash Drive:

  • Download and run Dp.exe, a Dp folder is created (It is on Athena, let me know if you need it)
  • Download the dsl-embedded.zip and move it to the Dp folder Click Dp.bat from the Dp folder and follow the onscreen instructions
  • Once the script has finished, reboot your computer and set your system BIOS or Boot Menu to boot from the USB device
  • On Dell Latitude 610, I had to use the following boot options: dsl acpi=off vga=normal fb1024x768 toram
  • Type "sudo [command]" in a terminal window to run a single command with root privileges. This is generally considered the best idea. To get a root shell, type "sudo su".

  • If running using qemu on windows, modify the startup script to
  • START .\qemu.exe -L . -no-kqemu -m 128 -localtime -soundhw es1370 -kernel linux24 -initrd minirt24.gz -hda KNOPPIX -append "qemu vga=791 quiet noscsi nousb nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce frugal"