.

Wednesday, February 12, 2014

(* Example Input For Polynomial 1 Is 2.3,4.4,5.5,6.6

ML (* example scuttlebutt for multinomial 1 is 2.3,4.4,5.5,6.6 polynomial # 2 3.3,4.4,6.6,7.7,8.8,9.7 *) (* program add two polynomials together *) (* to come through you must have SML installed for windows pc and save this file as a on c: drive run sml and fabricated character use(filename.txt); *) open TextIO; shimmer swrite s = output (stdOut,s); fun deleteall _ [] = [] | deleteall v (h::t) = if v=h then deleteall v t else h::deleteall v t; exception CONV; fun convert1 #0 = 0 | convert1 #1 = 1 | convert1 #2 = 2 | convert1 #3 = 3 | convert1 #4 = 4 | convert1 #5 = 5 | convert1 #6 = 6 | convert1 #7 = 7 | convert1 #8 = 8 | convert1 #9 = 9 | convert1 _ = raise CONV; swrite ********* ENTER 1ST POLYNOMIAL *********** ; val t = input stdIn; val poly1 = map convert1(deleteal l #n(deleteall #,(deleteall #.(explode(t))))); swrite *********...If you want to get a good essay, order it on our website: OrderCustomPaper.com

If you want to get a full essay, visit our page: write my paper

No comments:

Post a Comment