blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
266561ee321913397cfa1b833b6c13a395978a57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.24/example2_24.sce | 29048a0fa75a91198253e848f5615cdb13b5aa30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | example2_24.sce | // Find the diffusion length
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-24 in page 101
clear; clc; close;
// Given data
C_D=1.5*10^-6; // Diffusion capacitance in F
D_p=13; // Constant
eta=2; // Constant
V_t=0.026; // Voltage at room ... |
fc765b1dd4be340e2c8f1df4f2ec631eca9b91e8 | 05b2bd67239938195f6ea021fd482c06f69c9145 | /p3.sci | 946f9f99f7ec0a9c9e326ff70e29ceeec74445c7 | [] | no_license | ZimmSebas/Metodos | 213aa8af793726409cf0346c3315663aa59ae835 | 5fb6f28413064194ae8f625da48914b471bb50f7 | refs/heads/master | 2020-03-31T15:18:35.349807 | 2019-12-21T23:19:21 | 2019-12-21T23:19:21 | 152,331,779 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,946 | sci | p3.sci | function y = dosc(x)
y = sin(x) - x^2/2
endfunction
//Método de la bisección, toma minimo, maximo, funcion, epsilon y epsilon funcion
function med = bisecc(mini,maxi,fun,eps,epsf)
if(fun(maxi).*fun(mini) > 0)
error('Intervalos del mismo signo');
end;
m = ((mini+maxi)/2);
while(maxi-m >... |
494a59a73f426a3371e111b81d215fcf958f1320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH5/EX5.1/Ex5_1.txt | fd11d407547e6c6d8fd52ab466ef49ebbb1473a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | txt | Ex5_1.txt | //Caption:Determine the minimum distance between two end plates
//Exa:5.1
clc;
clear;
close;
//Given:
a=3;//in cm
c=3*10^10;//in cm/s
f=10*10^9;//in Hz
P_01=2.405;
d=%pi/sqrt(f^2*4*%pi^2/c^2-(P_01/a)^2);
disp(d,'Minimum distance (in cm) ='); |
77829899ab67a42acda958c60aac99d0341d1b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH4/EX4.03/4_03.sci | cbfb4b25e5cee1f990bd6035c045d0a131694f17 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 800 | sci | 4_03.sci | //laplace//
printf("since S2 is the referance stator winding , Es2=KVcos0 \n where Es2 & Er are rms voltages \n')
k=1
Theta=60;
disp(Theta,"Theta=")
V=28;
disp(V,"V(applied)=")
printf("Es2=V*cos(Theta) \n")
Es2=k*V*cos(Theta*(%pi/180));
disp(Es2,"Es2=")
printf("Es1=k*V*cos(Theta-120)\n")
Es1=k*V*cos((Theta-1... |
7c219d8ae47b3c1de1d60d73e2b9510418aef513 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 9/Q5.sce | 1bd3d50582aaafeb5cf814ff0a4dd7aa73ee6d00 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | Q5.sce | clc; clear;
s = poly(0, 's');
g = (10*s + 2000) / (s^3 + 202*s^2 + 490*s + 18001);
G = syslin('c', g);
scf();
show_margins(G, 'bode');
K = 9 * 18001 / 2000;
g1 = K*g;
G1 = syslin('c', g1);
disp(sprintf("The proportional added to get sse of 10%s = %.4f",'%', K));
[gm, fg] = g_margin(G1);
[phm, fp] = p_margin(G1);
disp(s... |
4456989c425de178092c43fe996529e29141e4f1 | d2f78245a2b280448680f5f264ad5e73ebb04932 | /AFISMC_Controller/AFISMC_obsv_beam_new.sce | d4b94dcb37a03bdf12ab4681fd6701f7c3fe0567 | [
"BSD-2-Clause"
] | permissive | hbx5233/AFISMC | 2240dd3461ea96c71e7a9425a2ed21bb11a64c0a | bb7f501867a1fdf54d229a361e753e6f945269fc | refs/heads/master | 2022-04-24T02:56:20.404213 | 2020-04-20T12:17:20 | 2020-04-20T12:17:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,304 | sce | AFISMC_obsv_beam_new.sce | clc
clear
A=[-209.443458108676,450.728478793718,0,0,0,0;-450.728478793718,-209.443458108676,0,0,0,0;0,0,-2.25680753735172,467.128469627320,0,0;0,0,-467.128469627320,-2.25680753735172,0,0;0,0,0,0,-0.460680331454473,87.5968670596031;0,0,0,0,-87.5968670596031,-0.460680331454473];
B=[-9.64474367821996,2.65660382188316;-7.... |
687965b3851d8e4c7b43f718002f1d429403ef56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH14/EX14.8/Example_14_8.sce | 53ce6a2fdf3cfa5b6280e136d6536164e27499aa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,889 | sce | Example_14_8.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Exampl_14.8
//Solution : Program to Determine the Phase equlibrium data for the System
A12=4.62424;
A21=3.35629;
alpha12=3.78608;
alpha21=1.81775;
B11=-996;
B22=... |
7169c937fec209230134a7a35119da582d5b8a56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.62/Ex1_62.sce | b3456a1e32a8fde6232ffb6e34429cd6c8442ae2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | Ex1_62.sce | // Ex 62 Page 403
clc;clear;close;
// Given
R=150;//ohm
Vrms=200;//V
Rd1=65;//ohm
Rd2=140;//ohm
Vm=Vrms/sqrt(2);//V
//v=Vm*sin(theta)
Rf=R+Rd1;//ohm
Rb=R+Rd2;//ohm
//i_f=v/Rf;//A
//i_b=v/Rb;//A
Irms=1/2/%pi*(integrate('(sqrt(2)*sin(theta))**2','theta',0,%pi)+integrate('(sqrt(2)/3*sin(theta))**2','theta',%pi,2*%pi))
... |
6029c41012843eb798578625a53927626acd84a5 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_draw_remoterobot.sci | 1dadbccfcf40878342bae43c64af267047de4431 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,720 | sci | kiks_draw_remoterobot.sci | function [] = kiks_draw_remoterobot(id,kx,ky,ang,n,r)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// --------------------------------------------... |
2885778c233f6e2e96981ce13a034a38ab2474ce | a7df4100475b96e7670094f49788307220742c9d | /Nand To Tetris/Course Material/projects/00/Mux8Way16.tst | fc1b51c20088904f835135a9202e34418a4b7f8c | [] | no_license | alecjcook/LabVIEW | 39ccfedd57d1027ec8b1788a6cdb4898a6bf0c04 | b235f2b6fceb3f74bfeea6e1c0651be7cab0e687 | refs/heads/master | 2021-01-16T18:29:51.436920 | 2014-05-18T15:06:18 | 2014-05-18T15:06:18 | 12,083,067 | 6 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 990 | tst | Mux8Way16.tst | // This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by Nisan and Schocken,
// MIT Press. Book site: www.nand2tetris.org
// File name: projects/00/Mux8Way16.tst
load Mux8Way16.hdl,
output-file Mux8Way16.out,
compare-to Mux8Way16.cmp,
output-list a%X1.4.1 b%X1.4.1 c%X1.4.... |
72f13e22226c428f24407ec365d1ae9425388575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /60/CH4/EX4.4/ex_4.sce | 5d04187e4574de2651882d03d57b4c32de1b5fcf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | ex_4.sce |
//Example (pg no.136)
// x1 + 2(x2) = 3
//2(x1) + 4(x2) = 6
A=[1 2;2 4]
//coefficient matrix of above equations
b=[3 6]'
x=A\b
//for corresponding homogenous system
// x1 + 2(x2) = 0
//2(x1) + 4(x2) = 0
A=[1 2;2 4]
//coeffi... |
a9038ba939fa5cbde18c09bb4920628be11e1eb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/armac1.sci | 75b8ee7c3aeebe92805524bffa6afd6ba79071cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 441 | sci | armac1.sci | // Scilab description of an ARMAX process
// Form:
// A(q) y(t) = [B(q)/F(q)] u(t-nk) + [C(q)/D(q)] e(t)
// [A(q)*F(q)*D(q)] y(t) = [B(q)*D(q)] u(t-nk) + [C(q)*F(q)]e(t)
// A1(q) = [A(q)*F(q)*D(q)]
// B1(q) = [B(q)*D(q)]
// D1(q) = [C(q)*F(q)]
function process_ar = armac1(a,b,c,d,f,sig)
ny = 1; nu =1;
a1 ... |
df67cec89171eba07a64d02382fafea28e621cf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH8/EX8.9/ex8_9.sce | 1626aa6cc878bf851675459773cedc5a0d6eae91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | ex8_9.sce | // Exa 8.9
clc;
clear;
close;
format('v',7)
// Given data
N = 500;
R = 4;// in ohm
d_mean = 0.25;// in m
a = 700;// in mm^2
a = a * 10^-6;// in m
V = 6;// in V
miu_r = 550;
miu_o = 4*%pi*10^-7;
l_i = %pi*d_mean;// in m
S = l_i/(miu_o*miu_r*a);// in AT/Wb
I = V/R;// in A
// Calculation of mmf
mmf = N*I... |
b1194d099826482faa4dc3f765ebd1a5fffbf54f | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH14/EX14.6/ex6.sce | ec041b50a82c89c8738668157035e3fe43b1b8a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | ex6.sce | //ques6
//isothermal steady state processes
clear
clc
//from table A.2
P1=8;//pressure at state 1 in MPa
P2=0.5;//pressure at state 2 in MPa
T1=150;//Temperature at state 1 in K
Pr1=P1/3.39;//Reduced pressure at state 1
Pr2=P2/3.39;//Reduced pressure at state 2
Tr1=T1/126.2;//Reduced temperature
T2=125;//tem... |
65faa88bca5866bbaa2472f88d414ec3f41eb118 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH2/EX2.2/exa_2_2.sce | 089ad76fa901f079a8e39f5b96a7960860b7d6b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | exa_2_2.sce | // Example 2.2
clc;
clear;
close;
// Given data
guagePressure= 1500;// in kN/m^2
atmPressure= 100;// in kN/m^2
P1= guagePressure+atmPressure;// in kN/m^2
V1= 0.1;// in m^3
V2= 0.4;// in m^3
// Formula P1*V1 = P2*V2
P2= P1*V1/V2;// in kN/m^2
NewGuagePressure= P2-atmPressure;// in kN/m^2
disp(NewGuagePressur... |
a454ad364136853ec2584dc22bd04c0bba5d8028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH7/EX7.14/7_14.sce | 7f4d6cb49a8a70e0583cd20dd5121d4470d84749 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | 7_14.sce | uo=(4*%pi)*1E-7
ur=1600
lc=160/100
lg=0.8/1000
A=5/10000
N=1200
Rc=lc/(uo*ur*A)
Rg=lg/(uo*A)
R=Rc+Rg
L=N*N/R
disp(L) |
b26a8bed92d37108247b9f37511ef4288d87a305 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.9.a/data10_9.sci | 68bd80f734b42956d3114ee81d8b783f75115205 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sci | data10_9.sci |
//(Springs) Example 10.9
//Diameter of the safety valve dia (mm)
dia = 50
//Blow off pressure of the valve Pb (MPa)
Pb = 1.5
//Initial compression of the spring delta1 (mm)
delta1 = 25
//Maximum lift of the valve l (mm)
l = 10
//Spring index C
C = 6
//Ultimate tensile strength of the spring Sut (N/mm2)
Sut = 1500
//Fo... |
73c2adcbb16fef76eb5497c55bebfcaac08f955b | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/MissionC1.sce | 81ef7b0ba8121afdcb5b5f2259c48c28c715c377 | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | MissionC1.sce | //Load scripts from folder
funcprot(0)
getd("../scripts");
//Global variables
imgPos = "../images/"; //The position of the source images
renderPos = "render/"; //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"Contours.pbm");
imgout = normalisation(contours(imgin))
//Show the c... |
08396cc64ac407741f1c795adfe4085a74e0a131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH4/EX4.13/ex4_13.sce | 5810a057c46d31e6d79a415df95acba579e5a760 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | ex4_13.sce | // Example 4.13, Page No-226
clear
clc
// TF is H(S)= 4/(s^2 + 3.3*s + 0.9)
// This is a theorotical problem
|
6f6f58944ae1b8416d360aa018313bbdf6773b98 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/P2_numerico_oberdan/M9 - Riemann-Simpson-Trapezio-erros/riemmann.sci | aeea2fd58d6a2eef491e6536bca701723308b6b6 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,111 | sci | riemmann.sci | clear
/** Somas de riemmann a esquerda
* a: limite esquerdo
* b: limite direito
* n: numero de iteracoes
*
* S: area apos integrar a funcao
*/
function S=riemmann(a,b,n)
h=(b-a)/n;
x=linspace(a,b,n+1);
S=0;
for i=1:n
A=f(x(i))*h;
S=S+A;
end
endfunction
// Devolve a integral de... |
17cf9809f91d267f27c0d31e6154bb3ba97a7e52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.42/EX17_42.sce | 5e16eb4c561eb6ed57f75f50a3fe345e5b14d05b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 3,061 | sce | EX17_42.sce | clc;funcprot(0);//EXAMPLE 17.42
// Initialisation of Variables
Cpw=4.18;..............//Specific heat of water in kJ/kgK
n=1;................//No of cylinders
N=350;.......//Engine rpm
pmi=2.8;..........//Mean effective pressure in bar
bl=590;..........//Brake load in N
mf=4.3;............//Fuel consumption in k... |
bff462fcff727636757bb3cb0f2bf9aeec84b660 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH1/EX1.2/Ex1_2.sce | 05689ac787964d18d8ca05bcb5fed3abe57557f0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sce | Ex1_2.sce | clear all;
clc;
s_p = 200;//steam pressure in lb/in^2
l = 4;//length in inches
b = 4;//breadth in inches
p = 14000;//permissible streaa in lb/in^2
P = s_p*l*b;//Pull on each bolt in lb-wt
A = P/p ;//necessary area of bolt-section
d = sqrt(4*A/%pi) ;//minimum diameter in inches
printf('The minimum diameter d of... |
50fc61519ab7dd737c3e277624ff00f48270b6c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH3/EX3.17w/3_17w.sce | 3e77faa4e5776b030bba75a493305638e623abbd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 901 | sce | 3_17w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 3.17w
//calculation of time taken and position of the arrival on opposite bank
//given data
dyaxis=.5//displacement(in km) along Y axis
vrg=2//velocity(in km/h) of the river with respect to ground
vmr=3////velocity(i... |
aa97606ec5100b1d417a88deb61a27b66883b47a | dbd504f73f233675d0c8c2c8c5730e866aabcd96 | /codes/wireless sim.sce | 4a10f560a01def3428f7d1b87e94dd7aa3659f04 | [] | no_license | surajdurgesht/Wireless-Communication-Lab | f5019be42d24fe6568e98d666efd901283a0c7a7 | e8fac339daf91d24ee0dd9e22e9236fcbb68dac3 | refs/heads/master | 2020-06-04T19:07:54.824459 | 2019-06-16T06:30:21 | 2019-06-16T06:30:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | wireless sim.sce |
h=100;
t=10;
P=0:10:100;
N_o=grand(1,10000,"exp",2);
S=10^(P/10);
for i=1:1:length(S)
K=(S(i)*h^2/N_o);
X(i)=sum(K<t)/10000;
end
plot2d("ln",X,S,style=2);
plot(X,S);
|
dad38d76e0c2029c3330d2a8f75e65baad3bf41e | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH8/EX8.1/Ch8Exa1.sci | 10decdd7060782985927b5a5e41a08d2370cd8ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 812 | sci | Ch8Exa1.sci |
//Part (a)
r= 0.113; //bond length, nm
Mc= 1.99*(10^(-26)); //mass of C12, kg
Mo= 2.66*(10^(-26)); //mass of O16, kg
Mco= (Mc*Mo)/(Mc+Mo); //mass of CO, kg
I= Mco*((r*(10^(-9)))^2); //moment of inertia, kg.m^2
J=1; //lowest rotational state
h= 6.63*(10^(-34)); //Planck's constant, J.s
hbar= h/(2*(%pi)); //re... |
046f3fdb260ae74287937057cdce1c0434af2449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH5/EX5.1/Ex5_1.sce | 053fc67dbdc72c46f4d5e9a8a9ec68abaf9414ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex5_1.sce | clc;
clear;
k=2
lambda=5*10^-5 //wavlength in cm
theta=30 //angle in degrees
//calculations
e=(k*lambda)/sind(theta) //in cm
mprintf("No. of lines per centimeter = %.0e",(1/e)) //The answer provided in the textbook is wrong
|
c09b2df4efb41890171956d23e9a2b38b6b21b40 | 79b6b573a5fd59b14ecaa36d2b39e3872e98d0c3 | /src/Assets/Donnees_scene.sce | b5dc33ba062e63bf251558692ee271339ab3ad68 | [] | no_license | ColinEspinas/Processing-3D-Viewer | ff27605c0aaf79e27cd002c82c7462192ba38c94 | 9515f1362aba55e696b63e385f5ac009cc2ec557 | refs/heads/master | 2020-08-21T16:42:37.488970 | 2019-12-16T23:01:47 | 2019-12-16T23:01:47 | 216,201,337 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Donnees_scene.sce |
a 0.8 #intensite ambiante dans scene
d 250 #distance camera image
#sources lumineuses
#l 400 400 100 0.5
#l -100 -150 -200 0.7
#l 150 -100 500 1.2
l 250 -300 -150 0.7
#l 150 -100 -300 1.2
#l -150 200 -300 0.7
l -150 200 500 1.2 |
f2327408806b63ebb5cd9916f6e4851ff91f92a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH1/EX1.49/example49.sce | 8f31d31492e9f653273d28aee72b1763ab6203b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | example49.sce | //to find transfer function using mason gain formula
printf("syms R1 R2 C1 C2 \n //gains of forward path\n P1=1/(R1*R2*C1*C2*s^2);//forward path1 gain\n //gain of individual loops\n L1=-1/(R1*C1*s);\n L2=-1/(R2*C1*s);\n L3=-1/(R2*C2*s);\n //gain of two non touching loops\n g1=1/(s^2*R1*R2*C1*C2);\n //since all the l... |
036a1949ca6a111caddef58db9dfbd8160220cf9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH12/EX12.7/Ex12_7.sce | 8537f2f4ca5dfa44e95ba64e7d8fb9cc411b3f74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | Ex12_7.sce |
//Variable Declaration
Tant=35 //Antenna noise temperature(kelvin)
Te1=150 //Receiver noise temperature(kelvin)
L=5 //Cable Loss (dB)
T0=290
G1=10**5 //LNA Gain
F=12 //Receiver Noise figure(dB)
//Calculation
L=10**(L/10) //Converting L into ratio
F=10**(F/10) //Converting F into rati... |
1cdce0af019b82a57f28560d16c19583e9526ca1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /824/CH10/EX13.8/13_8.sci | 4ac55841a73cbf2a4d3e4fc7e0f553ee84e004eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | sci | 13_8.sci | //Moved to it's proper location in Ch 13 |
ba6f3737bac8c8c577a703e77fa5c9a925af2553 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH2/EX2.9/2_9.sci | b2b0047e6726538d8febc9ad37df05d764977cda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 511 | sci | 2_9.sci | clc();
clear;
//To determine the density of free electrons
rho=9000; //density in kg/m^3
w=65; //atomic weight
v=1; //volume in m^3
n=(rho*v)/(w/(6.022*10^26)); //number of atoms
a=1.4; //average numb... |
b26156d965ea78c72f72fd7e6a84fb1d1e03e7b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH11/EX11.3/Ch11Ex3.sci | 5618fdadbf38a2d0471712eabbcf939984dcfc1d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sci | Ch11Ex3.sci | // Scilab Code Ex11.3: Page-250 (2010)
h = 6.626e-034; // Planck's constant, Js
k = 1.38e-023; // Boltzmann constant, J/K
// Stimulated Emission = Spontaneous Emission <=> exp(h*f/(k*T))-1 = 1 i.e.
// f/T = log(2)*k/h = A
A = log(2)*k/h; // Frequency per unit temperature, Hz/K
printf("\nThe stimulated e... |
b9810c9c7256d6398124aaa435adec2954a8ede2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH14/EX14.1/Chap14_Ex1_R1.sce | d2e04e283a9b53197c61629ad6fd9a46bd428a13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,341 | sce | Chap14_Ex1_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-14,Example 1,Page 489
//Title: Standard Gibbs free energy change and equilibrium constant
//================================================================================================================
clear
... |
781ee2d89b63a0477d9bdc63a12465bf4da138d2 | 70edbf624e390623eeb8c508529d6a1a1f984193 | /ex2/Tarefa2.sci | 963b16217e663681bb3b2bfc2414015ff6347b22 | [] | no_license | phpavelski/Lab_Medicoes_Controle | a78407efd0c55df05de6d15e7491e7f15af42d96 | 95995962d826363bf434268e4c5c5971c69f38eb | refs/heads/master | 2022-12-11T16:48:11.769962 | 2020-09-07T00:20:06 | 2020-09-07T00:20:06 | 293,382,235 | 0 | 0 | null | 2020-09-07T00:02:53 | 2020-09-07T00:02:52 | null | UTF-8 | Scilab | false | false | 457 | sci | Tarefa2.sci | //PME3402 - Laboratório de Medição e Controle Discreto / Atividade Aula 2
//Tarefa 2
//Grupo 4 - Integrantes:
//Caique de Oliveira Kobayashi - 9793461
//Heitor Fontana de Godoy - 10335677
//Lucas Hattori Costa - 10335847
//Lucas Pinheiro Paiva Cavalcante - 10274270
//Pedro Henrique Pavelski - 10335621
clc
clear
xdel... |
7979d1ab5151fdceb11e139acc77a141423d8677 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_e_vrt_col_d/~BivLCM-SR-bfi_e_vrt_col_d-PLin-VLin.tst | b556203743daac7b4ff032b74d9c728f650beadd | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfi_e_vrt_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.529298D+00
... |
6eab3b5b2745b11cb493400a5b07333a22c08643 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH6/EX6.2/Ex6_2.sce | 655914baacfb349d33ffbbd63d31f1e0164b69cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Ex6_2.sce | //Ex:6.2
clc;
clear;
close;
X_c=3.18;
R=100;
V_rip=1*(X_c/sqrt(R^2+X_c^2));
printf("Ripple voltage = %f V",V_rip); |
b60d5c748e7462c8dba1c30912446cae6f585444 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH6/EX6.3/ex6_3.sce | 1b14d0f5e79522eb518ef03ecc49fb38b46a4c52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | ex6_3.sce | //Part A Chapter 6 Example 3
clc;
clear;
close;
R=8.314/32;//kJ/kgK
p1=125;//kPa
p2=375;//kPa
T1=27+273;//K
T2=T1;//K
delta_S=-R*log(p2/p1);//kJ/K;//kJ/kgK
disp("Change in entropy = "+string(delta_S)+" kJ/K");
|
b33b674af8bf5b13be32e49b5674c9157c30b6cc | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP4/newton.sci | 84b2fc6fa4955ffd0525ca94d9429f1acc121ccd | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sci | newton.sci | function[x, k] = newton(foncjac, tol, Kmax, x0)
if Kmax - floor(Kmax) ~= 0 | Kmax < 0
error('Kmax must be an int');
end
if tol < 0 | abs(tol) < %eps
error('wrong tol');
end
for k = 1:Kmax
[f, J] = foncjac(x0);
correction = J\-f;
x = x0 + correction;
... |
4d1cc85318397b8ed0cede6af14af863bba64686 | 0480f6392643f10964ff6b301b2be49036bfe7d9 | /fsk.sce | b7930d7cf7e901d19ac5cf051cf5523d61ecd2ec | [] | no_license | vbv15/helloworld | 02f13332442310e95126067564516a8500b072c3 | 7982e10b0195afc1adb582ec623d95bd8f9556cb | refs/heads/master | 2021-06-28T01:18:01.725621 | 2016-11-11T02:49:46 | 2016-11-11T02:49:46 | 42,517,937 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 210 | sce | fsk.sce |
t=(0:0.01:5*%pi)';
tc=(2*%pi)/10;
fc=1/tc;
k=(squarewave(t)+1)*(1/2);
y=k.*cos(2*%pi*fc*t);
k1=((-1)*squarewave(t)+1)*(1/2);
ta=(2*%pi)/2;
fa=1/ta;
y1=k1.*cos(2*%pi*fa*t);
p=y+y1;
plot(t,p);
|
ad556d751ae09cdb2b0a42c7c4e698ad1f9c569d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH9/EX9.4/Ex9_4.sce | c7adbb5756c0c0218dca37934c1d967178f2342d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | Ex9_4.sce | clear
//
//
//
//Variable declaration
Hc=200*10**3 //critical magnetic field(A/m)
Tc=12 //critical temperature(K)
H0=250*10**3 //critical magnetic field(A/m)
//Calculation
T=Tc*sqrt(1-(Hc/H0)**2) //maximum critical temperature(K)
//Result
printf("\n maximum critical temperature is %0.3f K",T)
|
af51fa51863bbe16c9ffe5c0a6397cb816f4db99 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testisinf.sce | 4843b29d4705e52697f1e61247dc45960afb7d68 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sce | testisinf.sce | // comparing real numbers to infinity
%inf==%inf
%inf<=%inf
1<=%inf
1>-%inf
// using isinf
A=[0 %nan 1 %inf 2 -%inf %nan ]
A==%inf
isinf(A)
|
7449ddf58c4c0e8ff78e23db2297993bfa28bb68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH3/EX3.4/example3_4.sce | b38954a28aa4f2bda8a82b4264c50cca4f87150e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | example3_4.sce | clear;
clc;
// Stoichiometry
// Chapter 3
// Material Balances Without Chemical Reaction
// Example 3.4
// Page 62
printf("Example 3.4, Page 62 \n \n");
// solution
m = 1 //[kg] dry neem leaves (basis)
m1 = .01/100 //[kg] beta cartene content of leaves
Ex = (m1*100)/.41 //[kg] extract quantity
Tc1... |
0dafe7cc0cdb43f680e9a7d4e78e64b592b79b1e | f934e15695c77d0a1015c230c5ed65c4f16a2425 | /band pass butterworth.sce | 8ea30ee9a91b210e75ef05a19ee689b23a5c9426 | [] | no_license | manasdas17/Scilab-for-Signal-Processing- | 6efc5adb507243c7302f7b4f3f12d12060112038 | 5f6e6ce941c0a11212a83674b5d35d97a2cf4396 | refs/heads/master | 2021-01-10T07:49:58.006357 | 2016-04-07T07:45:26 | 2016-04-07T07:45:26 | 55,673,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | band pass butterworth.sce | //By Manas,FOSSEE,IITB
//function which designs an iir digital filter using analog filter designs and bilinear transformation .
hz=iir(3,'bp','butt',[.15 .25],[0 0]);
[hzm,fr]=frmag(hz,256);
plot2d(fr',hzm')
xtitle('Discrete IIR filter band pass 0.15<fr<0.25 ',' ',' ');
q=poly(0,'q'); //to express the result... |
1b39f7de511b7b05262b3ae16f542223fa924dfe | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH13/EX13.11/11.sci | f6cc4549b43eb8712e8d341c7afa2d8cd3717ab6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sci | 11.sci | clc;
clear all;
disp("evaporation rate calculation")
U=2.8;// m/s
L=300/1000;//m
rho=1.205;//kg/m^3
v=15.06*10^(-6);//m^2/s
D=4.166*10^(-5);//m^2/s
Re=U*L/v;// Reynolds No.
Re
if Re<5*10^5
disp("flow is laminar")
end
Sc=v/D;// Schmidt No.
Sc
Sh=0.664*((Re)^0.5)*(Sc)^(0.33);
Sh
L=320/1000;//m
hm=Sh*D... |
b63e6570664f9ff9cf488daa9df7410703279a3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.10/exa_1_10.sce | fa9fbca56246c49185bf826b9fa40263bba93bbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 699 | sce | exa_1_10.sce | // Exa 1.10
clc;
clear;
close;
// Given data
format('v',7)
V_CC= 9;// in volt
V_EE= 9;// in volt
V_BE= 0.7;// in volt (Assuming value)
R_C= 47;// in k ohm
R_C= R_C*10^3;// in ohm
R_E= 43;// in k ohm
R_E= R_E*10^3;// in ohm
Ri_1= 20;// in ohm
Ri_2= Ri_1;// in ohm
v_in1= 2.5;// in mv
v_in1=v_in1*10^-3;// ... |
97008bcc1eb590144c1dfdac0eeb4f3ba4161637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH3/EX3.11/Example_3_11.sce | 3192a9b75fe7ee2d7bd0fd44672428216cbbdb57 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 649 | sce | Example_3_11.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.11
clear;
clc;
//Given
H1 = 680.6;//Enthalpy of entering steam at 6Kgf/cm^2 &200 deg cel in Kcal/Kg
u1 = 60;//velocity at which steam entered the nozzle in m/sec
u2 = 600;//velocity at which steam left the nozzle in... |
704dee8131122eb7988ceeb901d0c9eb8a69c0fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH31/EX31.1/Ex31_1.sce | 0500825ed43f3c416b22209abe8b5d455010a6c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | Ex31_1.sce |
//To Calculate the Capacitance of the capacitor
//Example 31_1
clear;
clc;
Q=60*10^-6;//Charge on the capacitor
V=12;//Potential difference between the plates
C=Q/V;//Formula for finding the capacitance of the capacitor
printf("Capacitance of the capacitor=%f *10^-6 F",C*10^6);
|
83855b55e67701ed4d924cca7ecb030789027155 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testpilefile.sce | ba85ce85fb4a39211f7c8cb373bdab533f08a373 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | testpilefile.sce | // stack representation
L=[] // empty stack
L=[1,L] // add 1 to the stack
L=[2,L] // add 2 to the stack
L=[3,L] // add 3 to the stack
x=L(1),L(1)=[] // "unstacking"
// queue representation
F=[] // empty queue
F=[F,1] // add 1 to the queue
F=[F,2] // add 2 to the queue
F=[F,3] // ad... |
db2dc32533d26a3367f3e5ebbe49c47e839b5a04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH5/EX5.2/Ex5_2.sce | af4b968f45fb3498c1d177d1347d74655b21dc38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | Ex5_2.sce | //Ex:5.2
clc;
clear;
close;
i=15*10^-3;
R=(21-2.2)/i;
v=18.8;//in volts
P=i*v*1000;
printf("Resistor %d ohms of %d mW",R,P); |
db525bed67b7a78d000eb5d7e95165c78e98ab86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH20/EX20.14/20_14.sce | 360be08a2f0e65d35347c62397316ec2bc37e958 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | 20_14.sce | clear;
clc;
rb=75000e3;
ro=50e6;
v1=11e3;
v2=66e3;
xa=.25*rb/ro;
xb=.75;
xt=.1;
v=1;
xeq=inv(inv(xa)+inv(xb))+xt;
i=v/xeq;
i=round(i*100)/100;
ia=i*xb/(xa+xb);
ib=i*xa/(xa+xb);
ia=round(ia*100)/100;
ilt=rb/(sqrt(3)*v1);
iht=rb/(sqrt(3)*v2);
i=i*iht;
i=fix(i)
ia=ia*ilt;
ilt=rb/(1.73*v1);
ib=ib*ilt;... |
94f43066da6c86cb6ca2b4556388c2fb48dfcec7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH12/EX12.3/Ex12_3.sce | 8612017e796987a796605f6c3d240cd5a4dcdfd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 389 | sce | Ex12_3.sce | //Chapter 12: Polymers and Polymerization
//Problem: 3
clc;
//Declaration of Variables
d1 = 920 // density,in kg per m cube
d2 = 961.97 // density,in kg per m cube
dp = 44 // density %
// Solution
mprintf("dp = [d2 * (p - d1)] * [100/p * (d2 - d1)]\n")
... |
2ccf2e2cd1a4c822b50e55f1d032c369b3449e14 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_hrz_col_d/~BivLCM-SR-bfas_ap_hrz_col_d-PLin-VLin.tst | c837823e45cf269e20f480a7bbfda61255da77fb | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_hrz_col_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.254114D+00
... |
8c80c4c16f5f8f5b0db6f7386ccf119d377bb21e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH3/EX3.38/3_38.sce | b660a3be6083ff0bec4334385bff06541d7eeead | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 3_38.sce | clc;
clear;
//Example 3.38
v=23.13*10^-6 ; //[m^2/s]
k=0.0321 ; //[W/m.K]
Beta=2.68*10^-3; //[K^-1]
Tw=443 ;//[K]
T_inf=303 ; //[K]
dT=Tw-T_inf; //[K]
g=9.81 ; //[m/s^2]
Npr=0.688; //Prandtl number
D=100 ; //Diameter [mm]
D=D/1000 //Diameter [m]
Nra=(g*Beta*dT*(D^3)*Npr)/(v^2)
Nnu=0.53*(Nra... |
3c6ce1f0402280b92f1baa1c32902cdce08cb454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.13/ex1_13.sce | 925670fd73af33f5cb8224731e351a1af5bcfbdc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,120 | sce | ex1_13.sce | //Chapter-1, Example 1.13, Page 25
//=============================================================================
clc;
clear;
//INPUT DATA
m=80000;//mass of water lifted by pump in Kg/min
g=9.81;//gravity constant in m/sec^2
h=2;//pump is in operation for two hours a day
d=30;//pump is in operation for 30 days... |
a8c451d266f444d321a97bbb41b37f4121d19db5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH6/EX6.1/Ex6_1.sce | d111dd953c48bc301fa31c8a7c5d1bfd43d4ae16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 839 | sce | Ex6_1.sce | clear ;
clc;
// Example 6.1
printf('Example 6.1\n\n');
printf('Page No. 142\n\n');
// given
L = 2.5;// Length of tubes in metre
Do = 10*10^-3;// Internal diameter of tubes in metre
m = 3.46;// mass flow rate in kg/s
Th = 120;// Temperature of condening steam in degree celcius
Tl_i = 20;// Inlet temperature ... |
c96479c474bfe047ee1da608348f33242a0b9d3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2465/CH3/EX3.16/Example_16.sce | cee4cbed1afb62d638c02d23dcc54d672580ac15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 598 | sce | Example_16.sce | //Chapter-3,Example 16,Page 61
clc;
close;
//Reaction.....U(235) + n(1) ---> Kr(95) + Ba(139) + 2*n(1) + Q
m_U= 235.124 // Isotopic mass of Uranium in a.m.u.
m_n= 1.0099 // mass of neutron in a.m.u.
m_Kr= 94.945 // Isotopic mass of Kripton in a.m.u.
m_Ba=138.954 // Isotopic ... |
d98ac9bfa9c33df7f19adf3e671b031f3c436736 | 367fb86cc145c187bc8aa89afab0f15f7e8826e4 | /functions/cv_threshold_mean.sci | 37e701988e66aa075da6e8cdcc98883cf49c99f4 | [] | no_license | rishubhjain/funcforscilab | 19180cefb15a88df5cd55d91c2e50ab1829e4860 | 3f9fb8b1f467e1e89da1297bee8bd14645da5605 | refs/heads/master | 2021-01-23T00:15:23.622940 | 2015-04-22T09:32:28 | 2015-04-22T09:32:28 | 31,612,595 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 163 | sci | cv_threshold_mean.sci | function[img_ret]=cv_threshold_mean(image,maxValue)
pyImport adaptive_threshold
img_ret=adaptive_threshold.adaptive_thresh_mean(image,maxValue)
endfunction |
8674bb7d2577853ad6895c88bb2b66bba1e1578c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.16/Ch05Ex16.sce | d7e79ed3b34d0e56aa8cd2241884cea7986a901d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,117 | sce | Ch05Ex16.sce | // Scilab code Ex5.16: Pg 166 (2008)
clc; clear;
R_1 = 30; // Resistance, ohm
R_2 = 70; // Resistance, ohm
R_in = 200; // Internal resistance of meter, ohm
V = 12; // Supply voltage, V
// Using voltage divide... |
1c23c7fa98bb0894637d905e944d261fe388686d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH7/EX7.3/Ex7_3.sce | bf97b140ee62d3ee73f213d6eaa56f8cb1a9edc5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 941 | sce | Ex7_3.sce |
//calculating resistance, reactance and impedance of choke coil
I=7.5//current flowing through the circuit
V1=110//voltage across non-inductive resistor
R=V1/I
V2=180//voltage across choke coil
Z=V2/I
Zt=230/I//impedance of whole circuit
r=(Zt^2-R^2-Z^2)/(2*R)
Xl=sqrt(Z^2-r^2)
mprintf("Reactance of coil=%f o... |
dff28ec04d5fb106665f9f372f70ccb2e75f3143 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH4/EX3.13/EX3_13.sce | 879dec6cd73f85ec0260280dee6191a46d692c58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | EX3_13.sce | // Grob's Basic Electronics 11e
// Chapter No. 03
// Example No. 3_13
clc; clear;
// How much current is needed for a 600-W, 120-V toaster?
// Given data
V = 120; // Applied Voltage=120 Volts
P = 600; // Power of toaster=600 Watts
I = P/V;
disp (I,'The Current I in Amps')
|
ca56397f7dbb5e4c736f83b84a09f3bb502d074d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH5/EX5.6/Ex5_6.sce | bc32feedfcd3f9fa475b66c9a9a91a986b628f51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 702 | sce | Ex5_6.sce | //Ex5_6
clc
Vdc = 15
disp("Vdc = "+string(Vdc)+"V")//applied D.C. voltage
//Half Wave Rectifier
Vm = %pi*Vdc
PIV = Vm
disp("Vm = Vdc*pi = "+string(Vm)+"V")//D.C. voltage for half wave rectifier
disp("PIV = Vm = "+string(PIV)+"V")//peak inverse voltage for half wave rectifier
//Full Wave Rectifier
Vm = %pi*Vdc... |
f1065b33c381501448aa0c344bcbe68699aa0040 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH10/EX10.7/10_7.sce | ec8cf7ff8e717b88431893a7dbb5c2cf2f322562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 435 | sce | 10_7.sce | clc
clear
//Initialization of variables
p1=14.7 //psia
t1=60 //F
p2=60 //psia
t2=440 //F
m=10 //lb/sec
//calculations
disp("From mollier charts,")
h2=216.3 //Btu/lb
h1=124.3 //Btu/lb
W21=h2-h1
power=W21*m
hp=power*3600/2545
cp=0.237
W212=cp*(t2-t1)
power2=W212*m
hp2=power2*3600/2545
//results
printf... |
7d403e06f67baace918d1a899c46331449d7005e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.13/Ex10_17_13.sce | 4e9634a564d109e832880180af4a4ae86f1ea9c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex10_17_13.sce | //Section-10,Example-3,Page no.-CT.42
//To calculate Entropy change(dl_S).
clc;
R=8.314
C_v=(3/2)*R
C_p=C_v+R
n=5
T_1=323
T_2=298
P_2=380
P_1=760
R=8.314
dl_S=n*((C_p*log(T_2/T_1))+(R*log(P_1/P_2)))
disp(dl_S,'Entropy change(JK^-1)')
|
5f22f91808ac873d42a44c6f91a2586a015d70e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.15/10_15.sce | 47069316935294d57b19e0147a08739ca3ce1267 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | 10_15.sce | //Example 10.15
//Fourth Order Runge Kutta Method
//Page no. 324
clc;clear;close;
deff('y=f(x,y)','y=x^2+y^2')
y=1;h=0.1;
for i=1:2
x=(i-1)*h
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h/2,y+K2/2);
K4=h*f(x+h,y+K3);
disp(K4,'K4 =',K3,'K3 =',K2,'K2 =',K1,'K1 =')
y=y+(K1+2*K2+2*K3+K4)/6
printf('\ny... |
35c811eec3e536bf8f1757c6ecea3142c9fe5a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.12/example3_12.sce | c49cf410d092dc2d0a9be80d1d644b2447cbaebe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 737 | sce | example3_12.sce | //example3.12
clc
disp("R1=0.9 ohm, R2=0.03 ohm, X1=5 ohm, X2=0.13 ohm")
disp("K=N2/N1=1/6 as N1:N2 is 6:1")
r=0.03+(0.9*(1/6)^2)
format(6)
disp(r,"Therefore, (R_2e)[in ohm]=R2+R1''=R2+(K^2)*R1=0.03+(1/6)^2*0.9=")
x=0.13+(5*(1/6)^2)
format(8)
disp(x,"(X_2e)[in ohm]=X2+X1''=X2+(K^2)*X1=0.13+(5*(1/6)^2)=")
disp... |
ee64423cb5cc42715071c71184255b8c6f9a6428 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/OpenCV/scripts/scilab/v2/script_generalisation.sci | 715f230c1fcd3773ea0ddce7d6a5125c1457e1d2 | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 21,604 | sci | script_generalisation.sci |
//a function to choose randomly a number nb_config of observations
//to remove in the range [1,l] (l being the total number of observations ; i.e., the number of line)
//inputs :
// - nb_config : number of observations to be removed
// - l : total number of observations
//outputs :
// - idx_config : randomly chosen... |
7408b81d9e6976c13245ba550398e48dbc73a293 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.20/Ex6_20.sce | 70f9690d5348207fd8d3d0b4b3540620d2bbe24c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex6_20.sce | //radius of the outer conductor
//given
clc
C=70D-12//F/m
Zo=75//ohm
L=Zo^2*C//inductance
epsilon_r=2.3
a=0.292//mm//radius of inner conductor
b=a*10^(Zo*sqrt(epsilon_r)/138)//Zo=(138/sqrt(epsilon_r))*log(b/a)
b=round(b*1d+4)/1d+4///rounding off decimals
disp(b,'the radius of the outer conductor')
|
07618d268d95987ac9a0d8fbfddbb053e09a9af5 | 53bdf5ec3d505c23a6dbff1555c838c03e7ce670 | /Assignment 4/Q1.sce | fe15251055ac7227e53d54e481b86b16c53d5522 | [] | no_license | dishvyas/AI | 6e7fb662a04b99d5fca4380f97ac94eb5b18debe | a0903084fe210faee4b571b4cade5e5d410ad504 | refs/heads/master | 2020-05-22T00:50:06.362841 | 2019-05-12T20:29:20 | 2019-05-12T20:29:20 | 186,180,759 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 367 | sce | Q1.sce | clc;
clear;
rand('seed',0);
N = [2,2,1];
x=[0.89, 0.79; 0.85, 0.74; 0.84, 0.72; 1, 1; 0.04, 0.07; 0.03, 0.02; 0.02, 0.01;0.01, 0.01;
0.0086, 0.0053; 0.0061, 0.0026; 0.0044, 0.009; 0.008, 0.0087]';
t=[1 1 1 1 0 0 0 0 0 0 0 0];
disp(size(x))
lp=[0.1, 0];
W=ann_FF_init(N);
T=400;
W=ann_FF_Std_online(x,t,N,W,lp,... |
13f92b4f2dbb63dccf1a1ace4bea65fb40f4f01e | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH2/EX2.8/Example2_8.sce | 60121924ddf4f6837435371fc590abd652b2580d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 307 | sce | Example2_8.sce | //Resistance R, Voltage V
close();
clear;
clc;
R1 = 6;//ohm
R2 = 1;
R3 = 2;
R4 = 3;
R5 = 10;
V1 = 10;//V
V2 = 20;
//Solving Nodal equations
A = [1/R1+1/R2+1/R3 -1/R3;-1/R3 1/R3+1/R4+1/R5];
C = [V1/R1;V2/R5];
B = inv(A)*C;
V3 = B(1,1);
V4 = B(2,1);
I = (V4-V2)/R5;
mprintf('I = %0.2f A',I); |
0c0f5fac8b9befcee117f3d8f20eab68d8e4106c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH1/EX1.12/Ex1_12.sce | 50ba22d123723f38c75e5b727a0b0357186f04ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 291 | sce | Ex1_12.sce | clear
//
//this is a derivation by substitution problem
//al1=al0/(1+al0*t1)
//al2=al0/(1+al0*t2)
//where t1 and t2 are different temperatures al0,al1 and al2 are temperature coefficients
//substitute al0 in al2
//on deriving and solving for al2 we get,
printf("\n al2=al1/(1+al1*(t1-t2))")
|
58a6b7c6123d4cab3068e6dee7183a183498f603 | 8c9e7e9371ab3ab1b8d07c51188e55b24a7634c2 | /EXP-1_60002190039_DURVANG_VIJAY_PARAB_plotting_elementary_signals.sce | 7c642c35050930ed0cd9410a8b4f485968700c84 | [] | no_license | durvangparab967/SYSTEMS-AND-SIGNALS-EXPERIMENTS | 0b82f8d1e90b5f4b36366e34ff703738ad4cd32b | ab23491f9aaeebb230832826a3b5e5d6788c5b1d | refs/heads/main | 2023-01-22T11:25:20.906104 | 2020-11-25T10:13:44 | 2020-11-25T10:13:44 | 315,895,563 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,979 | sce | EXP-1_60002190039_DURVANG_VIJAY_PARAB_plotting_elementary_signals.sce | //Plot various elementary signals in continuous and discrete domain
//Unit Step
clc;
clf;
clear all;
n=-10:10;
x=[ zeros(1,10), ones(1,11) ];
a= gca();
subplot(2,1,1)
plot2d3(n,x);
title( 'Plot of Discrete Time Unit Step ' );
xlabel( ' n ' );
ylabel( ' u[n] ' );
n1=0:10
x1 = [ones(1,11) ];
a = gca();
su... |
3f4efc3fdebd85b0964f6e159db59543aec20907 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH23/EX14.23.18/Ex14_23_18.sce | a19fbf1101edc9defecdac740070411d5744e79a | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 664 | sce | Ex14_23_18.sce | //Section-14,Example-2,Page no.-PC.112
//To calculate the pH in the following cases.
clc;
V_1=150 //volume of 0.1 NaOH solution
V_2=150 //volume of 0.2 HCl solution
N_1=0.1
N_2=0.2
V=V_1+V_2 //Total volume of the solution
m_eq=(V_2*N_2)-(V_1*N_1) //Total milliequival... |
c3f1fd37c9bc58a22f9b90f21d6914e7ced1563e | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH10/EX10.1/Example10_1.sce | f77f06ea6914505c050b1596b67dc202c9740fa5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,902 | sce | Example10_1.sce | clear;
clc;
// Illustration 10.1
// Page: 494
printf('Illustration 10.1 - Page: 494\n\n');
// solution
//****Data****//
// a:water b:isopropyl ether c:acetic acid
xF = 0.30;// [mol fraction]
yS = 0;// [mol fraction]
S1 = 40;// [kg]
B1 = 40;// [kg]
//*******//
// Equilibrium data at 20 OC:
// Wa:... |
2043b564477e16cb1ff3adba0cefecbc726459e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH14/EX14.2/exp_14_2.sce | 1e5287b65aa90c52bebebe9f6aa6555bc5f8adb0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 684 | sce | exp_14_2.sce | clear;
clc;
z12=complex(.05,.20);
z23=complex(.075,.25);
c1=.025;
c2=.005;
w1= (.1568*10^(-4));
w2= (.1679*10^(-4));
w3= (.0668*10^(-4));
w4= (.0702*10^(-4));
W=[w1 0 0 0; 0 w2 0 0; 0 0 w3 0; 0 0 0 w4];
v1=1.05;
v2=1.05;
v3=(1.05);
h1=(v1/z12);
h2=(v2/z12);
h3=(v2/z23);
h4=(v3/z23);
H=[h1 0 0 0; 0 h2 ... |
40974ec0c9264f30202f1ad3980608e76ca0d726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.8/Ex7_8.sce | 63e85e0e24c08c5898d43e98bc323fc557f4e8f5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,422 | sce | Ex7_8.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.8\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.8 (page no. 329)
// Solution
//We will take as a basis 100 lbm of mixture.
//Dividing colomn 2 by 3 gives us mass/molecular weight or moles of each constituents.The total number of moles... |
a048efd9d1ffa965f2e7ffa200adaec21cab1996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.13/Ex19_13.sce | 37182261d3644f5ec467ff1fa9c27b6a93c2ef78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | Ex19_13.sce | //Ex19_13 Pg-962
clc
dec=175; //binary input
oct=dec2oct(dec) //decimal output
disp("The octal equivslent of 175 is")
disp(oct)
|
01b41f4ad509e0b3274e05bae7a2cd36958161b3 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436.zip/Industrial_Instrumentation_K._Krishnaswamy_And_S._Vijayachitra_1436/CH5/EX5.19/ex5_19.sce | ddf0c6607adde7fdc7d4e7417fa694376d7674eb | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 164 | sce | ex5_19.sce | errcatch(-1,"stop");mode(2);//Example 5.19, page no-317
e=0.2*10^-3
B=0.08
l=10*10^-2
v=e/(B*l)
printf("V = %.3f m/sec = %.2f cm/sec",v,v*100)
exit();
|
11a4e13ecbaf4d67c7e91a6d36352d51ae4d6b71 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/SSCTIE/SSCTIE2.sce | 234ae0206b8e3bbdeda5201e8cc9f03fdffc58b6 | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 562 | sce | SSCTIE2.sce | fssc=33e3;
f0=6e9;
a=0.005;
favg=f0*(1-0.5*a);
t=[0:1e-7:1/(2*fssc)];
foft=favg-2*f0*a*fssc*(t-0.25/fssc); //Triangular
thetadelta=f0*a*t/2-f0*a*fssc*(t^2); //Triangular
//foft=favg+f0*0.5*a*cos(2*%pi*fssc*t); //Sine
//thetadelta=(f0*0.5*a/(2*%pi*fssc))*sin(2*%pi*fssc*t); //Sine
tie=thetadelta/... |
41b0909dae7e23d01a60b169e024d9a9780849dd | b67defe3c1cae63dd1a79578f840d069568034e6 | /scilab/mulapproxluck.sci | 93f79f9bb504ca4f1e5faa1026bd375292f762c9 | [] | no_license | wmacevoy/luck | bf5d93ce00e8136634d715057a97706d3aa804b3 | 47e5c8eb1782a1b4f3f5b9e7583290d9a842532e | refs/heads/master | 2023-05-03T14:46:51.353817 | 2023-04-25T03:13:44 | 2023-04-25T03:13:44 | 33,452,250 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | mulapproxluck.sci | function L=mulapproxluck(x,p)
[nprobs,nsamps]=size(x);
ntrials=sum(x,'r');
mu=p*ntrials;
z=(x-mu) ./ sqrt(mu);
R2=sum(z.^2,'r');
one=ones(1,nsamps);
L=cdfgam("PQ",R2/2,((nprobs-1)/2)*one,one);
endfunction
|
3344ab0f08e15a3ba059962cdf71e9aeeab8ad73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH1/EX1.25/Exa1_25.sce | e1441d2428024cc433361dba2dd0f4e0e892877e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Exa1_25.sce | //Exa 1.25
clc;
clear;
close;
//given data
BETAmin=80;//unitless
BETAmax=120;//unitless
IE=400;//in uA
VT=25;//in mvolts
VEE=15;//in volts
VCC=15;//in volts
VBE=0.7;//in volts
VEB=-0.7;//in vol
IE1=IE/2;//in uA
IE2=IE1;//in uA
IBmax=IE1/(1+BETAmin);//in uA
IBmin=IE1/(1+BETAmax);//in uA
Iiomax=IBmax-IBm... |
2c317ab75ffecd7478274324aa23ff2a5a9f20c4 | 74084a1c6ef810ee05785941963c7dc1725783cf | /test/CT3.prev.tst | 0dbc294a9f66c0728adf63b5268b399b17857d64 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/common | 338d245dc6a1ef093748fa577129ac30822ec70b | da1e36931decdbdfe201d88207d5a01c207f8c5a | refs/heads/master | 2022-03-21T14:56:42.582874 | 2022-02-07T10:39:22 | 2022-02-07T10:39:22 | 59,970,966 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | tst | CT3.prev.tst | call
-in
2011-07-21 17:39:00
call
my.pr1
-in
2 double quoted
-in:int
29647
-in
3 single quoted
;
|
50cd168bb3dea0cfdb70ee8ba14ab8db367d8ae4 | d47ef89d1d0330681dd97a1ca4cb131d64b6d609 | /code/held_karp.sce | 22d612fe9c5d52db645a0af6c4ff9b735c6e4003 | [] | no_license | jere1882/TSP_Heuristics | a035a28bc786a19d0d5fd17364f81d46d70d9c17 | ca58cb77b986d03b4a92d86161ce812df8d85b17 | refs/heads/master | 2022-11-25T05:35:45.053166 | 2020-08-02T23:45:28 | 2020-08-02T23:45:28 | 284,557,182 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36 | sce | held_karp.sce |
// *** ESCRIBA EL CODIGO AQUI! ***
|
48d338dd480215a1001ff940ff6285e0cdb303be | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH7/EX7.3/Ex7_3.sce | 1055014ad9f94ad8bad4e57f66c10fee1a584c79 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,099 | sce | Ex7_3.sce | // Given :-
T = 373.15 // initial temperature of saturated liquid in kelvin
T0 = 293.15 // in kelvin
P0 = 1.014 // in bar
// Part(a)
// From table A-2
ug = 2506.5 ... |
2ec9a78a9a81ca452cbd9b0075af03611f5cf9ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.3/Ex4_3.sce | 597d04004675cda795a5dc98f359ec71d81764a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Ex4_3.sce |
clc; funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
b=40.0;//distance in degrees
p=6.0;//disatnce in degrees
//calculation
a=%pi/2-asin(cos(b*%p... |
864f1d20962a10466926ca25e59114a0f1ab878e | 29ebda219499e5b5e13800b6e5083ff775eb8196 | /Control_levi.sce | b5fe2eaae3ec95ef78e28b8a3897bea678f76efe | [] | no_license | izlervaldivia/Maglevtrains | 8b9a002694c5658f9561f93a17d7a555b8fd120f | 7282faae4998e7a9a18a6107275379cc61c64a51 | refs/heads/master | 2022-12-01T05:54:23.048728 | 2020-08-17T03:59:03 | 2020-08-17T03:59:03 | 288,067,147 | 1 | 0 | null | 2020-08-17T07:36:19 | 2020-08-17T02:40:21 | Scilab | UTF-8 | Scilab | false | false | 3,906 | sce | Control_levi.sce | //Evaluacion LQG Train
// load the data
clc
clear
load("maglevtrainLTI.sod","X","U","sys")
Ap=sys.A;
Bp=sys.B;
Cp=sys.C;
Dp=sys.D;
Dp=0
Cp=[1 0 0]
tri = trzeros(sys)
w = logspace(-3,3);
svi = svplot(sys,w);
scf(1);
plot2d("ln", w, 20*log(svi')/log(10))
xgrid(12)
xtitle("Valores singulares de la plant... |
501b2b0169369c2279ad5a45648b8de8e3ba8509 | 848985a0f79ca7b51ae07d2a69da499a3093257a | /Assignment-4/Rayleigh.sce | b98d31fc1d8667d4c85caecd53cb1239f37de4e5 | [] | no_license | Gituser143/Linear-Alegebra-SciLab-Assignment | db69f6cf6a2431e553dbd1f067a329dcb7979f41 | 6eef13de5aa3b2f45b0faaff826648738985377a | refs/heads/master | 2020-12-30T04:18:21.185190 | 2020-04-04T07:24:22 | 2020-04-04T07:24:22 | 238,857,772 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Rayleigh.sce | //Largest eigen value
clear; clc; close();
a = [0 0 0; 0 0 0; 0 0 0]
for i=1:3
for j=1:3
a(i,j) = input('Enter the values:')
end
end
disp(a,'A = ')
//initial vector
u0 = [1 1 1]';
disp(u0,'The initial vector is')
v = a*u0
a1 = max(u0)
disp(a,'First approximation to eigen value is ')
whi... |
94632e96ef3987be76f3cecefb95a2a2672f73f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH2/EX2.7.12/ex_2_7_12.sce | aec4a85ee9424cdf8e6a117640b89d04e638c8e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | sce | ex_2_7_12.sce | //Example 2.7.12;//pulse width
clc;
clear;
close;
//given data :
format('v',5)
v=200;//in volts
il=100;//latch current in mA
l=0.2;//inductance in henry
dit=v/l;//in amp/sec
dt=(il*10^-3)/dit;//in seconds
disp("part (a)")
disp(dt*10^6,"minimum pulse width required to turn on the SCR is in micro seconds")
r=20;//in ohms... |
29dccab6a008264656548d17a53675f15f5e9e6d | cc6cc2c2fcdfa476aa883265aa05e06d82c1110a | /2018.1/MAT/lista-scilab/8.sce | 7b876e1a315aa01fc66c1fc1df3a42b0324c92b0 | [] | no_license | devarthurribeiro/ads-ufrn | 39038c2089d5d784fa121c4094e6d694dcb5a545 | 9a9881acf756be4f844e72e581543daf3a649641 | refs/heads/master | 2020-03-17T15:16:28.940709 | 2018-10-02T12:26:27 | 2018-10-02T12:26:27 | 133,704,315 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 86 | sce | 8.sce | x = [10:10:1000];
y = 1.2*x+6;
plot(x,y);
x = [10:10:1000];
y = -1.2*x+6;
plot(x,y);
|
3fd996d29ba3acb39ac9d7056e54849de0b9d16c | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH13/EX13.2/13_2.sce | 4e1171778318b4842708244d7e179b4f7793863b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 776 | sce | 13_2.sce | clc;
// page no 444
// prob no 13_2
//Voice transmisssion occupies 30 kHz.Spread spectrum is used to increase BW to 10MHz
B1=30*10^3;//BW is 30 kHz
B2=10*10^6;//BW is 10 MHz
T=300;//noise temp at i/p
PN=-110;//signal has total signal power of -110 dBm at receiver
k=1.38*10^-23;//Boltzmann's const in J/K
//Dete... |
5a050ec3af77f7deefd0965a2eb75314052563e8 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/minv/scilab/pm_10.sce | a0a3659e5a86722b334c9cb9de441f1cd5a17409 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | pm_10.sce | // Updated(18-7-07)
// 11.3
C = [1 0.5]; dC = 1; j=2;
A = [1 -0.6 -0.16]; dA = 2;
zj = zeros(1,j+1); zj(j+1) = 1;
[Fj,dFj,Ej,dEj] = xdync(zj,j,A,dA,C,dC)
|
60aaae30b4e3eb6b0d4bf0c3fc9d8f32506d8fde | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/auto/obsv_mat.sci | 4e531b43a7af04cf779214896114df83d23583aa | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 549 | sci | obsv_mat.sci | function o=obsv_mat(a,c)
[lhs,rhs]=argn(0)
select type(a)
case 1 then
if rhs=1 then error('2 arguments : a,c'),end
[m,n]=size(a)
if m<>n then error(20,1),end
[mb,nb]=size(c);if nb<>n then error(60),end
//-compat next case retained for list/tlist compatibility
case 15 then
if a(1)<>'lss' ... |
4e0b49b951ec4ee31a60f7912629b0f82120394e | 43772f2bf6438bafd09a75fa971439a099f9b50f | /MonaLisa.sce | bd99456cf2c4289a01e90657a2d1055e867caf06 | [] | no_license | oriolorra/MonaLisaCountPixels | 3b0f3052210e25691e20e1559b4b44c9d4425c25 | 9c7789847d25648b811009fea9f21e0bfb756eb8 | refs/heads/master | 2021-01-10T05:56:35.238580 | 2015-11-03T16:14:03 | 2015-11-03T16:14:03 | 45,261,300 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,238 | sce | MonaLisa.sce | // Distance Vector
dist = (0.75:0.25:15)
//Num. elements dist. vector
sz = length(dist)
//Width Mona Lisa Painting
width = 0.53
//Height Mona Lisa Painting
height = 0.77
//Focus lenght
f = 0.008
//Dimension of a pixel
sp = 0.00000408
//Total pixels width & height sensor
wp = 1288
hp = 728
//Loop for each distance
for... |
224dc9317baf8a977d660e4f6b791d502f896be0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH6/EX6.6/6_6.sce | 449f4fe6f6bd54740326adff11dd7020d058940f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,625 | sce | 6_6.sce | clear;
clc;
printf("\t\t\tExample Number 6.6\n\n\n");
// turbulent heat transfer in a short tube
// illustration6.6
// solution
p = 101325;// [Pa] pressure of air
Ta = 300;// [K] temperature of air
d = 0.02;// [m] diameter of tube
u = 40;// [m/s] velocity of air
L = 0.1;// [m] length of tube
dT = 5;// [... |
364675e3d132d4329d47aa6beb6a38b7741a85f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH4/EX4.2.b/example_4_2b.sce | 99e444ab3906c0b5ae5b6fbec7b46f4069ffdb85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 914 | sce | example_4_2b.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 4
// Principles of Fluid Flow
// Example 4.2(b)
// Page 180
printf("Example 4.2(b), Page 180 \n\n")
L = 3 ; //[m]
D = 0.01 ; //[m]
V = 0.2 ; //[m/s]
// (b)
V1=0.7;
v1 = 1.306 * 10^-6 ; // [m^2/s]
printf("(b) If the velocity ... |
6b1d89b7dc03f6031bfc6654e819465e335b6fc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH13/EX13.5/Ex13_5.sce | e2aa8dad63c11c3c7f15d723f36c80266d0d1c39 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,388 | sce | Ex13_5.sce | clc
clear
//DATA GIVEN
r1=750/2000; //radius of larger pulley in m
r2=300/2000; //radius of smaller pulley in m
d=1.5; //distance between the centres of pulley in m
Tms=14; //maximum safe tension in N/mm
b=150; //width of... |
1cd85db3580ebdc6545fd432b5ed2a6650f071dc | e5bea7afb93323d75e9314d0be7a05720badf57b | /projects/02/ALU-64cases.tst | 28d38e91916fc048ad6688934228760a2eee7d09 | [] | no_license | afsalptl/ecs | afdd8884aabd11298e15fe6cee561ac665da6f98 | 8af565807df4c1b75edf676ec0e74b97e7e02358 | refs/heads/master | 2021-01-09T20:49:45.178751 | 2016-07-18T19:35:33 | 2016-07-18T19:35:33 | 44,654,884 | 0 | 1 | null | 2015-10-21T07:51:08 | 2015-10-21T05:36:19 | Assembly | UTF-8 | Scilab | false | false | 5,061 | tst | ALU-64cases.tst | load ALU.hdl,
output-file ALU-64cases.out,
compare-to ALU-64cases.cmp,
output-list x%B1.16.1 y%B1.16.1 zx%B1.1.1 nx%B1.1.1 zy%B1.1.1
ny%B1.1.1 f%B1.1.1 no%B1.1.1 out%B1.16.1 zr%B1.1.1 ng%B1.1.1 ;
set x %B1100110011001100,
set y %B1010101010101010;
set zx 0,
set nx 0,
set zy 0,
set ny 0,
set f 0,
set no ... |
1172600dd1ee8d9749fbc5195d60c049ec98a726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.24/ex2_24.sce | f8c065bd253ce0b5ffb85ed99cf92db090e6ca60 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | ex2_24.sce | // Exa 2.24
clc;
clear;
close;
format('v',5)
// Given data
R1 = 3;// in ohm
R2 = 2;// in ohm
R3 = 1;// in ohm
R4 = 8;// in ohm
R5 = 2;// in ohm
V = 10;// in V
R = ((R1+R2)*R5)/((R1+R2)+R5);// in ohm
Rth = R + R3;// in ohm
R_L = Rth;// in ohm
disp(R_L,"The value of load resistance in ohm is");
|
35840a913b3219b05ca137dc90966ab60ea75bb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH6/EX6.14/ex6_14.sce | fe0448f6cf699e944beab23e22670401e472fa6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | ex6_14.sce | clc;
disp("The filter must attenuate the signal by a factor of 10."); //displaying result
f=300*10^6; //frequency in Hz
disp(" If R = 100 Ohm ,then the reactance of the capacitor should be about 10 Ohm."); //displaying result
c=1/(2*(%pi)*f*10); //calculating capacitance
disp(c,"At 300 MHz, this is in Farad = ... |
7d0bffec44d4e7b7c0bde44efc061e24ba0dd29f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH5/EX5.14.u1/Ex5_14_u1.sce | 5c247d9c76929092520aed63d473e8d01d31bde6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | Ex5_14_u1.sce | //Example 5_14_u1
clc();
clear;
//To calculate the effective temprature of neutrons
a=0.352 //units in nm
h=1
k=1
l=1
d=a/sqrt(h^2+k^2+l^2) //units in nm
theta=28.5 //units in degrees
lamda=2*d*sin(theta*(%pi/180)) //units in nm
h=6.63*10^-34 //units in m^2 kg s^-1
m=1.67*10... |
27ba9c81d089a07b80bdbba7debb97013929fa78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.94/EX2_94.sce | 7ea71a652dccd26381f09329421614f0bcf7cfff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | EX2_94.sce | //EXAMPLE 2.94 PG NO-139-140
L=0.6; //LENGTH
a=20*10^-4; //AREA
MU=(4*%pi*10^-7);
R=L/(MU*a);
N1=1500;
N2=500;
i=250;
M=(N1*N2)/R;
e=M*(i);
disp('R = '+string(R)+' ');
disp('mutual induction is = '+string(M)+' H');
disp('E.M.F INDUCE is = '+string(e)+' V');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.