OE 5. zad

Size
2,805 Kb
Views
10,120

How do I make an oe 5. zad?

Dva sinusoidna naponska izvora spojena su prema slici. Odredite fazor napona Uab (iznos i kut) te trenutačnu vrijednost napona uab u trenutku t=0 ms.. What is a oe 5. zad? How do you make a oe 5. zad? This script and codes were developed by Mihovil Ilakovac on 31 October 2022, Monday.

OE 5. zad Previews

OE 5. zad - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>OE 5. zad</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="root"> <img src="http://storage6.static.itmages.com/i/15/1121/h_1448110472_9427904_213ae04a76.jpeg" alt="Dodatak" /> <img src="http://storage5.static.itmages.com/i/15/1121/h_1448121266_6389183_e579d7dc94.jpeg" alt="" /> <img src="http://storage9.static.itmages.com/i/15/1121/h_1448101527_9250927_f93eeafda1.jpeg" alt="" /> <div class="form-group"> Um1 = <input type="text" v-model="um1" placeholder="um1"/> V </div> <div class="form-group"> Um2 = <input type="text" v-model="um2" placeholder="um2"/> V </div> <div class="form-group"> &alpha;1 = <input type="text" v-model="alpha1" placeholder="alpha1"/> rad </div> <div class="form-group"> &alpha;2 = <input type="text" v-model="alpha2" placeholder="alpha2"/> rad </div> <div class="form-group"> f = <input type="text" v-model="f" placeholder="f"/> Hz </div> <div class="form-group"> t = <input type="text" v-model="t" placeholder="t"/> ms </div> <div> <button @click="calc">Izracunaj</button> </div> <div> u1 fazor = {{ u1_fazor.r | round }} pod kutem {{ u1_fazor.phi | uStupnjeve | round }} V <br /> u2 fazor = {{ u2_fazor.r | round }} pod kutem {{ u2_fazor.phi | uStupnjeve | round }} V <br /> <strong>Riješenja</strong><br /> Uab = {{ uab | round}} V <br /> &alpha; = {{ alpha | uStupnjeve | round }} stupnjeva<br /> uab (t = {{ t }} ms) = {{ uab_t | round }} V </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.8/vue.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjs/2.4.1/math.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

OE 5. zad - Script Codes CSS Codes

img { max-width: 100%;
}
.form-group { display: inline-block; margin-right: 15px;
}

OE 5. zad - Script Codes JS Codes

var trenutnaVrijednost = function (ef, f, t, alpha) { return ef * Math.sqrt(2) * Math.sin(2 * Math.PI * f * t * 1e-3 + alpha);
};
Vue.filter('round', function (value) { return math.round(value, 2);
});
Vue.filter('uStupnjeve', function (value) { return value * (180 / Math.PI);
});
new Vue({ el: "#root", methods: { calc: function () { var um1ef = this.um1 / Math.sqrt(2); var um2ef = this.um2 / Math.sqrt(2); this.u1_fazor = { r: um1ef, phi: parseFloat(this.alpha1) }; var fazor1 = math.complex(this.u1_fazor); this.u2_fazor = { r: um2ef, phi: parseFloat(this.alpha2) }; var fazor2 = math.complex(this.u2_fazor); var rez = math.subtract(fazor2, fazor1).toPolar(); this.uab = rez.r; this.alpha = rez.phi; this.uab_t = trenutnaVrijednost(this.uab, this.f, this.t, this.alpha); } }, data: function () { return { um1: 15, um2: 11, alpha1: 4.8, alpha2: 0.8, f: 50, t: 0, uab: 0, alpha: 0, uab_t: 0, u1_fazor: { r: 0, phi: 0 }, u2_fazor: { r: 0, phi: 0 } }; }
})
OE 5. zad - Script Codes
OE 5. zad - Script Codes
Home Page Home
Developer Mihovil Ilakovac
Username infomiho
Uploaded October 31, 2022
Rating 3
Size 2,805 Kb
Views 10,120
Do you need developer help for OE 5. zad?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Mihovil Ilakovac (infomiho) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!