El profesor se sorprenderá mucho al ver tu solución correcta😉
cos(x) - sin(x) + x - 1 = 0
x1 = -7.01515779278689e-8
x2 = 9.20761389288817e-7
x3 = -6.43624426449207e-8
x4 = -1.0313114623508e-6
x5 = 6.42057958095949e-7
x6 = 0.0
x7 = 8.7855459153029e-7
x8 = 9.22506716463427e-7
x9 = 8.54102513534737e-7
x10 = -7.46914717615299e-7
x11 = 1.02930978792168e-6
x12 = -8.74499604295462e-7
x13 = 4.61073009085442e-7
x14 = 6.29835231572082e-7
x15 = 2.03896412240207e-7
x16 = 2.49195154351723e-7
x17 = 2.86265692803169e-7
x18 = 4.25459690104094e-7
x19 = 5.82770389705986e-7
x20 = 9.87220811809369e-8
x21 = 7.33791708407628e-8
x22 = -4.73363608810755e-7
x23 = -1.11757314176239e-6
x24 = 6.86042402542741e-7
x25 = -1.12240142966794e-6
x26 = -6.77644306966894e-7
x27 = 7.24265873766716e-7
x28 = 4.0041354616483e-7
x29 = 7.85517871450183e-9
x30 = -1.26014886365326e-7
x31 = 1.32480212214793e-6
x32 = 5.05556839942351e-7
x33 = 3.73858025638326e-7
x34 = -9.76446805198552e-7
x35 = 2.71324597894847e-7
x36 = 8.5649130224534e-8
x37 = 1.31778643150681e-6
x38 = 5.11713478187132e-7
x39 = -9.58692862074862e-7
x40 = 9.46191931764435e-7
x41 = -2.57008272045686e-7
x42 = -9.25764476919708e-7
x43 = 5.21198682247576e-7
x44 = -6.81314155979556e-7
x45 = 7.98793901377664e-7
x46 = -3.50035676341907e-7
x47 = 1.51168079046567e-6
x48 = 2.41201114391353
x49 = 3.32611012574314e-7
x50 = 7.57116993953297e-7
x51 = 6.819186041458e-7
x52 = -8.30854301718112e-7
x53 = -1.08075159582609e-6
x54 = 9.94912132759356e-8
x55 = 9.3091830940331e-7
x56 = 1.30055165280382e-6
x57 = -1.07789951357402e-6
x57 = -1.07789951357402e-6