Unless your mother and father agree to this emancipation, it is likely that the court process could take 6 months or more. You might very well be 18 by the time that happens.
If you have the desire to succeed and go to college, perhaps your parents will allow you to live with a friend while you do so.
Uh ... this friend you want to live with wouldn't happen to be a romantic interest, would it?
Also, not getting along with your parents will be a POOR Reason to use with a judge. Very few teens get along with their parents so that just won't cut the mustard. You will have to find something a tad more compelling.
The pamphlet that was linked spells out the five things that must be in place before a judge will consider granting your petition. Read it and find out what those are. Be prepared to explain to the judge how all those conditions will be met, and how it will be accomplished without going on welfare or committing illegal activity.
As for costs of school, this is from californiacolleges.edu:
How Much Does It Cost to Attend a Community College?
An enrollment fee is charged to every student who takes courses for credit. The current fee charged to state residents is $20 per unit. A full time student enrolled for 12 units for 2 semesters would currently pay $480 per year in enrollment fees. Students should note that these fees are occasionally subject to change by the California State Legislature.
There are also additional expenses — for books, supplies, housing, food, transportation, parking, health services, transcripts, and child care, if applicable. In addition to receiving student financial aid to meet college expenses, eligible students can receive a fee waiver to cover the cost of the enrollment fees. Talk to your college financial aid office or check with the admissions office if you need help paying your expenses.
The fees just underwent a change, I believe, so expect them to have risen.
Also, understand that schools apply use fees, parking fees, student union fees, facility use fees, etc. It is not uncommon for the cost to be $800 or so each semester, and at LEAST $100 for books or supplies per class (some more, very few less). So, assume about $1,200 per semester not counting transportation (be it gas, bus fees, car payments, etc.), food and drink, etc. And, if you apply for student aid, and mom claimed you as a dependent last year, you may be unable to gain that aid. I am not sure how long you have to be off your parents' income tax to be considered independent, but I am certain it will be MORE than one year.
You have a lot to consider. Do not rush into growing up.