preTEST4A

3106 days ago by MATH4R2012

#1B) solve(x^4-1==0,x) 
       
#1A) plot(x^4-1,-2,2) 
       
#2A+2B) var('t') plot([80*t-16*t^2,96],0,6) 
       
solve(80*t-16*t^2==96,t) 
       
#2D) t=-80/(2*-16);t 
       
#2C) 80*t-16*t^2 
       
#2E) solve(80*x-16*x^2==0,x) 
       
#3+4) var('a,b,c') l = [[0,-1500],[4,-522],[7,54],[12,775],[18,1184],[23,1132],[29,653]] f(x) = a*x^2+b*x+c q = find_fit(l,f,solution_dict=True) show(q[a]) show(q[b]) show(q[c]) points(l,color='purple') + plot(f(a=q[a],b=q[b],c=q[c]),(x,0,30),color='red') + plot(100,0,30) 
       



s=solve(f(a=q[a],b=q[b],c=q[c])==100,x);s 
       
show(s[0].rhs().n()) show(s[1].rhs().n())