calculate math problem help
Mostrar comentarios más antiguos
how to write a code to caculate this tipe of problem: 4^2/(4+5^2)+6/74.
Thanks.
Respuestas (2)
Kritarth Sinha
el 5 de Jul. de 2022
0 votos
Hello Idan,
You can directly write the following expression as it is in matlab and it runs fine for me.
x=4^2/(4+5^2)+6/74.
Hope this will help.
1 comentario
idan
el 5 de Jul. de 2022
Garmit Pant
el 5 de Jul. de 2022
Editada: Garmit Pant
el 5 de Jul. de 2022
Hello idan
You can directly type this in a live script or the command window of MATLAB and it will give you the answer.
4^2/(4+5^2)+6/74
Depending on different parentheses placements, the answer will differ so add parentheses according to your intended calculation.
4^2/((4+5^2)+6/74)
4^(2/(4+5^2)+6/74)
1 comentario
idan
el 5 de Jul. de 2022
Categorías
Más información sobre Resampling Techniques en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!