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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6922e44ffc17c23b664b0f6ca02921d6ec326fcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH7/EX7.5/example75.sce | 46d3707d6495f3270b389a5d60411dee9850b185 | [] | 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 | 178 | sce | example75.sce | //Example 7.5
clc;
syms Wo n z;
x1=exp(sqrt(-1)*Wo*n);
X1=symsum(x1*(z^-n),n,0,%inf);
x2=exp(-sqrt(-1)*Wo*n);
X2=symsum(x2*(z^-n),n,0,%inf);
X=(X1+X2)/2;
disp(X,'X(z)='); |
200652663cd373e01b2374bd8c73e4ac4a6a4823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH12/EX12.15/example15_sce.sce | d971e3c099bb521f6df5914c577667401075223f | [] | 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 | sce | example15_sce.sce | //chapter 12
//example 12.15
//page 407
printf("\n")
printf("given")
Vgsoff=-6;Idss=20*10^-3;Yfs=4000*10^-6;Id=2*10^-3;Vcc=20;Zi=500*10^3;R2=560*10^3;Rl=80*10^3;Vbe=.7;Vce=3;
Vgs=Vgsoff*(1-sqrt(Id/Idss))
Vds=(-Vgsoff)+1-(-Vgs)
Vr3=(Vcc-Vds)/2
Vr4=Vr3;
R3=Vr4/Id//use 3.9kohm as standard and recalculate Vr3 and... |
41fa90033ced255792514ca01ab05a81dadc5a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH11/EX11.11/ex11_11.sce | 1db9834eb40c65aa5cf3d19e639688f102bb7c0b | [] | 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,181 | sce | ex11_11.sce | clear;
//clc();
// Example 11.11
// Page: 293
printf("Example-11.11 Page no.-293\n\n");
//***Data***//
T_inlet = 68;//[F]
T_outlet = 110;//[F]
// from the figure 11.13 we read that at 68F the solubility of CaCO3 and CaSO4.2H2O are
s_inlet_carbonate = 60;//[ppm]
s_inlet_sulphate = 2020;//[ppm]
// At... |
c6f9dca7ded14cab1cdba9d1cd6ddad6a44b2059 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH26/EX26.4/example26_4.sce | ce7c3264f7afe948ffe3f798b37b5f4babb39d79 | [] | 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 | 133 | sce | example26_4.sce | i=2.6;
r=300;
x_l=400;
z=sqrt(r^2+x_l^2);
p=i^2*z;
disp("the apparent power drawn (in kVA) by the circuit is"); disp(p*10^(-3)); |
d2d5b8e63d9782d09e24c340a19e456028d1f63e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3764/CH7/EX7.05/Ex7_05.sce | c02347b5a2aec25195b4e9da8e6f62e9e3886253 | [] | 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,768 | sce | Ex7_05.sce | clc
//
//
//Variable declaration
p=180 // Internal gage pressure(psi)
t=(5/16.0) // Length(in)
r=(15-t) //... |
1e86b6e59499a32e7c68e7ab00a34da7d7e9e398 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH7/EX7.5/7_5.sce | 4a8211d3aca8e688ab38aab682ee54b82b945058 | [] | 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 | 546 | sce | 7_5.sce | clc
//initialisation of variables
x1= 4
x2= %pi/x1
L= 400 //mm
h= 5 //m
d=20 //mm
W= 1000*10^3 //KN
Ys= 200000 //N/mm^2
Yc= 15000 //N/mm^2
//CALCULATIONS
As= x1*x2*(d^2)
Ac= L^2-As
sigmas= (Ys*W)/(Ac*Yc+As*Ys)
sigmac= (Yc*W)/(Ac*Yc+As*Ys)
delta= (sigmac*h*10^3)/(Yc)
//RESULTS
printf ('As= %.f mm^2',As)... |
91c1b1ddc0b80b875095fa37d79ce44a3c476d95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH10/EX10.12/Ex10_12.sce | 017f4d73c22861d10bdd5110937963045ff56fbf | [] | 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 | 224 | sce | Ex10_12.sce | clear
//Given
n=10
I=3
A=7.85*10**-3
B=10**-2 //T
//Calculation
//
M=n*I*A
U1=-M*B*cos(0)
Uf=-M*B*cos(90)
w=-U1
t=M*B*sin(90*3.14/180.0)
//Result
printf("\n Work done is %0.1f *10**-3 Nm",t*10**3)
|
d216ad8fbdbfc9a0e002cbf035f7ea643cd53c65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH2/EX1.6/EX1_6.sce | d06d858d24ec998631e51e9d140795f99a39516f | [] | 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 | 352 | sce | EX1_6.sce | // Grob's Basic Electronics 11e
// Chapter No. 01
// Example No. 1_6
clc; clear;
//The charge of 12 C moves past a given point every second. How much is the intensity of charge flow?
// Given data
Q = 12; // Charge=12 Columb
T = 1; // Time=1 Sec i.e every second
I = Q/T;
disp (I,'The Inte... |
aa08090b7141cb7ba99b128001ff37008e42f035 | 717ddeb7e700373742c617a95e25a2376565112c | /806/DEPENDENCIES/1054.sci | 574bb71bc8fd922eecb58f4cfe7217ec6d412dfa | [] | 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 | 78 | sci | 1054.sci | l=1.5//m(Length of rectangular weir)
D=2.25//m(Upstream depth)
Q=0.45//m^3/s |
93b96140b8bd425037cf3c2c8c114a457150ceda | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V3/ode.sce | 11225ef98de8233a6041a940a1ce6aa7b16f1314 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,687 | sce | ode.sce | // Simulação via integração numérica do espaço de estados
C = [[1,0,0,0];
[0,1,0,0];
[0,0,1,0];
[0,0,0,1]]
D = [[0,0];
[0,0];
[0,0];
[0,0]]
function entradas = u(t) // Entradas para simulação via integração numérica do espaço dos estados
if t < 4 then
u1 = 0
u2 = 0
... |
92fbc226cc1e1fbb58236e129264a64be765fe1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH10/EX10.2/example10_2.sce | 5864f44a9536416c45921420b78d7f84d141608b | [] | 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 | 225 | sce | example10_2.sce |
//example 10.2
//page 366
clc; funcprot(0);
//initialisation of variable
z=1;
b=3;
y=1.5;
S=0.0009;
n=0.012;
A=(b+z*y)*y;
P=b+2*y*sqroot(1+z^2);
R=A/P;
Q=A/n*R^(2/3)*S^0.5;
disp(Q,"flow rate (m^3/s)");
clear
|
47d8bfaad391c7c7aa06d6a32446a1202747a017 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter5/Ch_5_Eg_5.19.sce | 774994477cd13a7a0fba2007b54ae604ee721a7a | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | Ch_5_Eg_5.19.sce | //To draw a spiral curve
t=0:0.1:10;
r=10;
x=r*sin(t);
y=r*cos(t);
z=t;
param3d(x,y,z,35,45,"X@Y@Z",[2,4])
e=gce();
e.foreground=color('red');
param3d([0,0],[0,0],[0,10]);
e=gce();
e.line_style=4;
|
75218038dbe09972ea4c71321062416511eb5d66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.4/Ex10_4.sce | c8d51fadf2073144c049d91ba5fac532947a0cc2 | [] | 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,049 | sce | Ex10_4.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 4
clear ;clc;
//Given data
T = 298 // reaction temperature in K
H_SO2 = -296.83 // heat of formation of SO2 in kJ
H_SO3 = -395.72 // heat of formation of SO3 in kJ
H_CO = -110.53 ... |
46a2c14985c5392674baaf6b84d6166365372965 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH7/EX7.11/7_11.sce | 2c713b887b99e22ce8e6a21afd6ca5e48dc95b38 | [] | 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 | 342 | sce | 7_11.sce | //7.11
clc;
Vm=675*2^0.5;
Ia1=30;
N1=350;
N2=500;
Ia2=Ia1*N2/N1;
printf("Armature current of the semi converter=%.2f A",Ia2)
Va1=(1+cos(90.5*%pi/180))*Vm/%pi;
Eb1=Va1-Ia1*(0.22+0.22);
Eb2=Eb1*Ia2*N2/(Ia1*N1);
Va2=Eb2+Ia2*(0.22+0.22);
alph_a=acosd(Va2*%pi/Vm-1);
printf("\nFiring angle of the semi converter=... |
bc435892acbe37d12dd4ed2dbc5067d4140b449e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH4/EX4.11/Ch04Ex11.sce | c2399614a639afc12b66bfd070cf84bb4f647592 | [] | 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 | 913 | sce | Ch04Ex11.sce | // Scilab Code Ex4.11: Page-122 (2006)
clc; clear;
m = 9.1e-031; // Mass of an electron, kg
e = 1.6e-019; // Charge on an electron, C
lambda = 1.0e-09; // Mean free path of electron in metal, m
v = 1.11e+05; // Average velocity of the electron in metal, m/s
// For Lead
n = 13.2e+028; // Electronic co... |
8aeb242772cbc9f3cda63080dab0f57604274ee0 | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 3/Q1.sce | da6c7b1a27ad0010e2fbbbfa57a624c6eb2c6426 | [
"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 | 1,866 | sce | Q1.sce | clc; clear;
// --------------------
// Part a
s = poly(0, 's');
A = -1:0.01:1;
scf();
for i=1:size(A, 2)
a = A(i);
[N, D] = simp(s + 5 + a, s^2 + 11*s + 30);
sla = syslin('c', N, D);
t=0:0.05:10;
plot(t, csim('step', t, sla), color('blue'), 'LineWidth', 2);
xlabel("$t$", 'fontsize', 3);
ylab... |
f1f8e757bf422e8202b22c62c068eca3b8a74dcc | 270c239ad1a53c003654a7b02b6ed1e7d2ae17bd | /salt/20300/DCC/Workflow/saltcheck-tests/init.tst | 6969fee94d229c698bfa11396f72c8430130e498 | [] | no_license | smerugumala/SumTFinalBuilds | 8f024c5e2a7cea534789f9d61ddaafbce97b57fd | f75bd81ab050d1a5c71c2af61aaa309b68c0f054 | refs/heads/main | 2023-02-11T22:26:24.576871 | 2021-01-08T12:10:18 | 2021-01-08T12:10:18 | 327,892,208 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,019 | tst | init.tst | {% import "20300/DCC/Workflow/vars.sls" as base %}
{% set trialset = salt['network.ipaddrs']( ) %}
{% set val= trialset | replace("[u'", "") %}
{% set machine_ip= val| replace("']", "") %}
{% set dcc_master = grains['dcc_master'] %}
{% set auth = grains['auth'] %}
check_service_running:
module_and_function: service.s... |
83bcfb1767fb46bd3fc31d24ced87ecbfaf195fa | 673c6d30a59cf3e0f70b434accbf882c229490c1 | /noise_cancelling_headset_code/EDL_Asg (2).sce | 7e9f48f19b10faea85eb3f4069f868d9aed0d5a8 | [] | no_license | Adbhut-Vipin-Bhardwaj/EDL_microcontroller_code | fd1802dfd316a6f75271d6777d116ef67102659e | 35f7879fbc3ffb2712d4afd6f811c2cd29cd897d | refs/heads/main | 2023-04-18T13:44:45.899632 | 2021-05-06T13:13:37 | 2021-05-06T13:13:37 | 358,373,659 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,624 | sce | EDL_Asg (2).sce | clear
clc
dat = csvRead("C:\Users\Immanuel\Documents\SCILAB\EDL.csv");
frange = dat(2:41,1)
Mdb = dat(2:41,12)
phdeg = dat(2:41,16)
f1 = 100;
f2 = 1000;
eta1 = 0.1;
eta2 = 1;
//comp = 50*((1+%i.*frange./f2)./(1+%i.*frange./f1))^10;
//comp = 10*((1+%i.*frange./f2)./(1+%i.*frange./f1))^4;
comp = 2.5*((1+2.*... |
c1b8ca656712c06a843718b42f3e373cc31324a5 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH17/EX10.17.12/Ex10_17_12.sce | e6a70010abfd0b363b7b1eb084360a15ab95005e | [] | 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 | 213 | sce | Ex10_17_12.sce | //Section-10,Example-2,Page no.-CT.41
//To calculate Entropy change(dl_S).
clc;
n=10
C_v=(3/2)*R
T_2=323
T_1=298
V_2=2
V_1=1
R=8.314
dl_S=n*((C_v*log(T_2/T_1))+(R*log(V_2/V_1)))
disp(dl_S,'Entropy change(JK^-1)')
|
347f644209945e85e99cb21671cb9ba92f24c1ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.11/Ex4_11.sce | 4bd67c4c5a08a54c924d4a102e4c5d8d3414c0c3 | [] | 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 | 448 | sce | Ex4_11.sce | clear
//
//i1=20*sin(314t+60),i2=-10*sin(314t),i3=15*sin(314t-45)-->angles are in degrees
//I1=(7.7072+j12.25),I2=(-7.072),I3=7.5-j7.5
//adding phasor currents I1,I2 and I3
//I=7.702+j12.25-7.702+7.5-j7.5=7.5+j4.75
printf("\n I=7.5+j4.75. Its value in polar form is obtained as 8.8776 at angle 32.34")
//i=2**0.5*8.8776*... |
a137d30ac4762765222bbd32bffc98265fc77ae2 | d2b4190265ddc2ddd6f63bacfdafae9504390fd0 | /UnitStepFunc.sce | 28b0c7f52e3c50c0c2fd3bc48cb6005d1f2b4159 | [] | no_license | santushtisharma10/AppliedMathematics_with_Scilab | 8dd80f3a36298d844a42a37619e309b53022204d | 28b4de4244768c0bb0eba1daea86d69021d89400 | refs/heads/main | 2023-05-29T04:40:42.507269 | 2021-06-04T13:25:58 | 2021-06-04T13:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | UnitStepFunc.sce | clc;
x = [-1 -2 -3 -4 -5 0 1 2 3 4 5 ];
y = [0 0 0 0 0 1 1 1 1 1 1 ];
plot(x,y, 'ro')
xlabel(' VALUES OF x');
ylabel('VALUES OF y');
title('UNIT STEP FUNCTION');
|
3020e6c70b3e806ec366c0841874707c5a7949d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH1/EX1.11/Ex1_11.sce | fadc1342f20695b1dfbff03e22949a3ffd0f1ecb | [] | 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 | 334 | sce | Ex1_11.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 1 Introduction to Electronics Pg no. 33
//Solved Problem 4
clear;
clc;
//Given Data
R=10;//resistance in ohms
P=4;//power in watts
//Solution
I=sqrt(P/R);//current in amperes
printf("Maximum safe current is I=%.3f Amperes.",I);//Displaying upto 3 place... |
72374112df05428f1a5549f4b62c812de85ab54f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.a.3/Example_a_7_3.sce | 680fb3ec2f13dd892e3df8af0c768664eceea8e3 | [] | 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 | 587 | sce | Example_a_7_3.sce | //Example_a_7_3 page no:271
clc;
Vmag=10;
Vang=0;
R1=-%i*5;
R2=4-(%i*5);
R1mag=sqrt(real(R1)^2+imag(R1)^2);
R2mag=sqrt(real(R2)^2+imag(R2)^2);
R2ang=atand(imag(R2)/real(R2));
Ztmag=6.24;
Ztang=29.26;
Itmag=Vmag/Ztmag;
Itang=Vang-Ztang;
Inmag=Itmag*R1mag/R2mag;
In=0.466-(%i*1.149);
Zn=4+((3+(%i*5))*(-%i*5... |
9dfdc8bde7a215b6e44343540c9c75cbbf17b987 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.14/Ex5_14.sce | 7552a146ae4e71e16a82e034a7f20f4a3939721e | [] | 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 | 270 | sce | Ex5_14.sce | //pagenumber 294 example 14
clear
hie=2*10^3;//ohm
beta1=100;
colres=5*10^3;//ohm
volgai=beta1*colres/hie;
disp("voltage gain = "+string((volgai))+"<180");
disp("input impedance = "+string((hie))+"ohm");
disp("current gain = "+string((beta1)));
|
02b530b88bbf16fd8634c4eb7bf8d72868b256be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2153/CH8/EX8.3/ex_8_3.sce | b9e370fb0680fb588c41f4a038bf4c4d7ea0bfa5 | [] | 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 | 396 | sce | ex_8_3.sce | // Example 8.3: yield strength of material
clc;
clear;
close;
ys1=120;// yeild strength in MN/mm^2
ys2=220;// yeild strength in MN/mm^2
d1=0.04;//diamtere in mm
d2=0.01;//diamtere in mm
A=[2 10; 1 10];
B=[240;220];
x=A\B;
si=x(1,1);// in MN/mm^2
k=x(2,1);//
d3=0.025;//in mm
sy= si +(k/sqrt(d3));//yeild strength for a g... |
1ad81952d77b575fcea2cf951b681ea54ddcb818 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH13/EX13.2/Ex13_2.sce | 74db58be344d32d9606b76a31e4fa7abea028fb2 | [] | 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 | 123 | sce | Ex13_2.sce | errcatch(-1,"stop");mode(2);//Ex:13.2
;
;
c=3*10^8;
f=150*10^6;
wl=c/f;
printf("The wavelength =%d m",wl);
exit();
|
0b080a83de7e8a0db19c44aaf181e5a74e7ab02f | 449d555969bfd7befe906877abab098c6e63a0e8 | /800/CH4/EX4.2/4_2.sce | 43bcc3a401fbd93e99e7582859f575cd7e530388 | [] | 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 | 446 | sce | 4_2.sce | //clear//
clc
clear
exec("4.2data.sci");
FA0 = FC/X;
vA0 = FA0/CA01;
vB0 = vA0;
v0 = vA0+vB0;
V = v0*X/(k*(1-X));
// CSTR in parallel
V1 = 800/7.48;
Tau =V1/(v0/2);
Da= Tau*k;
Xparallel = Da/(1+Da)
// CSTR in series
Tau =V1/v0;
n=2;
Xseries = 1- (1/(1+Tau*k)^n);
disp("Reacto... |
4ff2e3886ea284afe52a443342fe298d0d10f962 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/arma/arspec.sci | ab826430f7a138fe04189dd3045e4922b97e4d17 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 265 | sci | arspec.sci | //<>=arspec(z)
//<>=arspec(z)
// Estimation de la puissance spectrale d'un processus
// ARMA z
// test de mese et de arsimul
//!
[lhs,rhs]=argn(0)
m=18
[sm,fr]=mese(z,m);
plot2d([fr]',[20*log(sm/sm(1))/log(10)]', [-1,1],"121",...
"log(p) : estimee ar");
//end
|
958b95af71942779608548e0032b93ebd36bc4d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH7/EX7.1/ex7_1.sce | 3fa17fa7fd3ac2737a53be1bb15bd2a2036f6f6d | [] | 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 | 718 | sce | ex7_1.sce | // Example 7.1
format('v',6)
clc;
clear;
close;
// given data
V_CC= 10;// in V
R_E= 430;// in Ω
V_BE= 0.7;//in V
V_B= 5;//in V
// The collector saturation current,
I_Csat= V_CC/R_E;// in A
// The collector emitter voltage,
V_CEcutoff= V_CC;// in V
// The collector current,
I_C= (V_B-V_BE)/R_E;// in A
//... |
44f3c34a5700e6571a1dd29f411e76f93cdefdb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH3/EX3.26/Chapter3_example26.sce | dfb4a3df9daa5a239705d63822adc258c531da55 | [] | 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 | 440 | sce | Chapter3_example26.sce | clc
clear
//Input data
r=7//Compression ratio
v=1//Specific heat at constant volume increases by 1 percent
g=1.4//Ratio of specific heats
//Calculations
e=(1-(1/r^(g-1)))//Air standard efficiency
dee=-(((1-e)*(g-1)*log(r)*(v/100))/e)*100//Change in efficiency to the original efficiency
x=-(dee)//For Output p... |
d8171020acddc9602d191a3946a506e6bbb6ee1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.9/11_9.sce | b0ee151d9648366d80afa7cbfec0d1205a3f4431 | [] | 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 | 285 | sce | 11_9.sce | clear;
clc;
close;
disp("Example 11.9")
g=9.8 //in m/s^2
Is=421 //in s
Qr=120000000
v=5000 //in m/s
c=g*Is
disp(c,"(a)Effective exhaust speed c in m/s :")
ep=2*(v/c)/(1+(v/c)^2)
disp(ep,"(b)propulsive efficiency :")
eo=c*v/Qr
disp(eo,"(c)Overall efficiency :") |
1498e836bf6ff597e20beccbcf4d1bfda99f2940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH2/EX2.11/11.sce | abf977ce3b37fa979ba010d2d08801c0b5ac2148 | [] | 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 | 285 | sce | 11.sce | clc
m=6; //kg
T1=25; //0C
T2=125; //0C
disp("(i) Heat transferred")
Q=integrate('m*(0.4+0.004*T)','T',T1,T2);
disp("heat tranferred=")
disp(Q)
disp("kJ")
disp("(ii) Mean specific heat of the gas")
c_n=Q/m/(T2-T1);
disp("Mean specific heat=")
disp(c_n)
disp("kJ/kg.0C") |
6afd2205778785a4488acfd50d1e7b4fe659cd4b | b983ae3ffa0de712cc7fc921e6662953dcdd20bd | /Exo3.sce | 4263840416e059fcd2555af0c67bec8f46dce8c6 | [] | no_license | amarHDev/TP-Calcul-numerique | 84a7c6b938e88068617f42882724d61558e4113c | af55cefdb20ad0f429fc0af682f4dbdd0fd9207e | refs/heads/main | 2023-01-28T15:43:36.536393 | 2020-12-03T02:35:19 | 2020-12-03T02:35:19 | 314,210,607 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Exo3.sce | //n = 100;
xdata = [10:10:100];
for n = xdata;
i=n/10;
A=rand(n,n);
B=rand(n,n);
tic();
C3B= matmat3b(A,B);
times1(i) = toc()
tic();
C2B= matmat2b(A,B);
times2(i) = toc()
tic();
C1B= matmat1b(A,B);
times3(i) = toc()
tic();
Cnorm=A*B;
times4(i) = toc()
end
xtitle("Comparaison temps execution d... |
85c03a29eb2d2b2cd20663f1c179e76a493de4fd | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH14/EX14.5/Ex14_5.sce | 32d33021b14896ad9e5efb9a461271eaf605c6e1 | [] | 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 | 358 | sce | Ex14_5.sce | // Variable declaration
alpha = 0.05 // level of significance
n = 10
R = [5,8,6,10,3,7,9,4,2,1]
S = [5,8,6,10,4,7,9,3,2,1]
// Calculation
RS = 0
for i = 1:10
RS = RS + R(i)*S(i)
end
rs = (RS - n*((n+1)^2)/4.0)/(n*(n^2-1)/12.0)
// Result
printf ( "rs value: %.3f i.e. there is strong assoc... |
06d46c74de3d477c37bd5c11df82d38e292e19c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH3/EX3.9/ex3_9.sce | 82486ff0caed5ef0ef8a946c5fc448c6e0a0853d | [] | 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,136 | sce | ex3_9.sce | // Exa 3.9
format('v',5)
clc;
clear;
close;
// given data
disp("(i) For 200 Ω load resistance");
R_L= 200;// in Ω
Vz= 12;// in V
Vout= Vz;// in V
Vin= 25;// in V
R_S= 180;// in Ω
// The value of I_S
I_S= (Vin-Vout)/R_S;// in A
// The value of I_L
I_L= Vout/R_L;// in A
// The value of I_Z
I_Z= I_S-I_... |
9f41a30ee7ca6f37b22b3a4366f51364caf239e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH10/EX10.5/5.sce | d0ee7a2831c8407c587b95566ffaf369b237cb6e | [] | 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 | 666 | sce | 5.sce | clc;
//Example 10.5
//page no 103
printf("\n Example 10.5 page no 103\n\n");
//a hydrometer is a liquid specific gravity indicator with the value being indicated by the level at which the surface of the liquid intersects the sten when floating in avliquid
F=0.13//the total hydrometer weight, N
SG=1.3//sp. gravity... |
8ffec47e95ebd99f1b79d386afca9d14b251e35e | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/math/equa_diff/equa_diff_1.sce | 4cd39cd29cb2a81a66c3de5912d7f3bcbdb39354 | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 1,098 | sce | equa_diff_1.sce | // Résolution d'une équation différentielle
// y' + b y = c
// on cherche la solution y(x)
// S. Celles
// 08/12/2004
clear
x_ini=0; // MODIFIABLE defaut : x_ini=0;
x_pas=0.1; // MODIFIABLE defaut : x_pas=0.1;
x_fin=10; // MODIFIABLE defaut : x_fin=10;
x=[x_ini:x_pas:x_fin]'; // le prime sert à transposer pour av... |
12cddcc1baafae85c03bc9bbe95b858be2f6f5be | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Kitchen/justin.sce | 8439d1c3e650f4404331ef9449de880c6727dcd6 | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,927 | sce | justin.sce | #************************************************************
# Scenario of Ikea
#
# date : Mon Nov 23 15:46:58 2009
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT HUMAN
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.... |
2dd49c827d0065b97a3aabdc794b8c90e85f4ffb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.35/ExampleA35.sce | c8aa89f2b4544f1909f87e98704c9cd7b656f3e1 | [] | 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 | 536 | sce | ExampleA35.sce | clc
clear
//Page number 485
//Input data
t1=127;//The temperature of the black body in degree centigrade
t2=27;//The temperature of the walls maintained in degree centigrade
s=5.672*10^-8;//Stefans constant in SI units
//Calculations
T1=t1+273;//The temperature of the black body in K
T2=t2+273;//The te... |
18455f4df552a91d40db1ca2b3ea75e96c62b92c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH11/EX11.4/11_4.sce | 347ca0c6b15e1a9eb25fb94c69a6a02ab0dab5dd | [] | 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 | 338 | sce | 11_4.sce | clc
//initialisation of variables
ti= 149 //C
t0= 27 //C
D0= 0.1149 //m
l= 1 //m
h0= 23 //W/m^2 C
hi= 227 //W/m^2 C
k= 0.19 //W/m C
Di= 0.0889 //cm
//CALCULATIONS
D1= D0*100
D2= Di*100
R0=(1/(D0*%pi*l*h0))
Rins=(log(D1/D2)/(2*%pi*k*l))
Ri=1/(Di*%pi*l*hi)
q= (ti-t0)/(R0+Rins+Ri)
//RESULTS
printf ('Heat... |
e12c1c14ab0c6a6283bbd477d877d5bfd92e4d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /4/DEPENDENCIES/Frequency_response.sce | 1082e2363b1e2dcfde18bb22d41e253d9480d453 | [] | 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 | 403 | sce | Frequency_response.sce | clear;
close;
clc;
W = -%pi:(1/500):%pi;
z = exp(sqrt(-1)*W);
H = z./(z-0.8);
Mag_H = abs(H);
[Phase_H,m] = phasemag(H);
//phasemag used to calculate phase and magnitude in dB
subplot(2,1,1)
plot2d(W,Mag_H)
xlabel('Frequency in Radians')
ylabel('abs(H)')
title('Magnitude Response')
subplot(2,1,2)
plot2d(... |
e0e373dd4d2ea801d812abec9ed6b17151f7ef6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH8/EX8.15/8_15.sce | a7bc6ca0d76128431208cbf6de087dcee7c4a0c7 | [] | 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 | 716 | sce | 8_15.sce | P=15E3
a=3000/250
/////OC Parameters
Poc=105
Ioc=0.62
Voc=250
/////SC Parameters
Psc=360
Isc=5.2
Vsc=157
Y0=Ioc/Voc
Gi=Poc/Voc/Voc
Bm=sqrt(Y0*Y0-Gi*Gi)
Z=Vsc/Isc
R=Psc/Isc/Isc
X=sqrt(Z*Z-R*R)
///////////Referred to HV side
GiHV=Gi/a/a
disp(GiHV)
BmHV=Bm/a/a
disp(BmHV)
disp(R)
disp(X)
... |
54f0e5290246f01cdf43c6f26e3c2c3d43c52ef2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/24_2data.sci | e9555e1e944f7cf0130c097dd6f10ddc4245a33e | [] | 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 | 100 | sci | 24_2data.sci | L11=300;
L12=320;
L1=12000;
L2=15000;
A1=50000;
A2=95000;
A21=49000;
A22=A2-A21;
theta=15*(%pi/180); |
077a9613e3c768840e9118123fec714390f6ab3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.41/41.sci | 5ed59b317c64c68540950f514304efcc51fa6695 | [] | 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 | 470 | sci | 41.sci | clc;
clear all;
disp("heat transfer coefficient")
Fd=10.5;//N
ts=95;//degree C
ta=25;//degree C
U=30;//m/s
rho=1.06;//kg/m^3
cp=1005;//J/kg.K
v=18.97*10^(-6);// m^2/s
Pr=0.696;
//ReL=U*L/v
//Cf=0.072/ReL^0.2
//A=L^2;
//F=Cf*0.5*rho*A*U^2;
//10.5=2.05*L^0.8
L=(10.5/2.05)^(1/1.8)
ReL=U*L/v;
Cf=0.072/ReL... |
e7a6f4d87bae68039b97f9f2852bba4da67a2d4e | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/LocalRegions/Tests/LocProject_Diff2D_Tri_Ortho_Basis_P6_Q7.tst | f974b0f8eeb6bfca5b4214dd397e1c47153d41fc | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 524 | tst | LocProject_Diff2D_Tri_Ortho_Basis_P6_Q7.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>LocProject_Diff2D Tet Ortho Basis, P=6, Q=7</description>
<executable>LocProject</executable>
<parameters>-s triangle -b Ortho_A Ortho_B -o 6 6 -p 7 7 -c 0.0 0.0 1.0 1.0 0.5 1.0 -d</parameters>
<metrics>
<metric type="L2" id="1">
... |
df250907acf78c5051cf401229cbb1a970abf7fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH8/EX8.1/ex8_1.sce | 4ad0a10199c1c7e9594f7f7b4c5c61683bc3a746 | [] | 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 | 425 | sce | ex8_1.sce | // Exa 8.1
clc;
clear;
close;
format('v',6)
// Given data
a = 3;// in cm^2
a = a * 10^-4;// in m^2
d = 20;// in cm
N = 500;
phi = 0.5*10^-3;// in Wb
miu_r = 833.33;
miu_o = 4*%pi*10^-7;
l = %pi*d;// in cm
l = l * 10^-2;// in m
S = l/(miu_o*miu_r*a);// in AT/Wb
//Calculation of the current with the hel... |
5ad17b0c587ea4173169195600ac589e422ab02b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH20/EX20.6/Ex20_6.sce | 6a590cc5058e90f5c5d79ee573ed45ec5d6989e2 | [] | 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 | 180 | sce | Ex20_6.sce | //Example 20.6
clc
emf=120//in Volt
R=10//in Ohm
e_back=70
I=emf/R
disp("Solution a")
disp(I,"Maximum Current in A=")
disp("Solution b")
I=(emf-e_back)/R;
disp(I,"Current in A=") |
a415513c737fa8b05b016a0f8e21238abb6b8fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH26/EX25.7/EX25_7.sce | 7a3056cc75aa2be35a41890bafec47af3f13836d | [] | 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 | 612 | sce | EX25_7.sce | // Grob's Basic Electronics 11e
// Chapter No. 25
// Example No. 25_7
clc; clear;
// In Fig. 25–9, assume that with a 4-mVac input signal for VT, the voltage across R1 is 2 mV when R1 is 225-kOhms. Determine Zeq and Q.
// Given data
vin = 4*10^-3; // Input AC signal=4 mVac
R1 = 225*10^3; // Resist... |
53a803cc21e339a0fa426462f8619ffbd3f30a2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.13/Ex4_13.sce | 689fe8f1f890ee2cd33100b97e88df1f031810d9 | [] | 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 | 597 | sce | Ex4_13.sce | // Example 4_13
clc;funcprot(0);
// Given data
P_1=8000;// kPa
T_1=300;// °C
P_2=1600;// kPa
h_1=2785;// kJ/kg
h_g=2794;// kJ/kg
// Calculation
// By using steam tables
T_2=201.4;// The final temperature in °C
h_f2=859;// kJ/kg
h_fg2=1935;// kJ/kg
h_2=h_1;// kJ/kg
x_2=(h_2-h_f2)/h_fg2;// The quality of ... |
1c14b5eba2bcb824b710734f30a7e345f31e41a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.21/exa6_10_21.sce | 9d4a6c79860c9ac859b34bbc20d62294e4d70a46 | [] | 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 | 652 | sce | exa6_10_21.sce | //caption:determine_steady_state_error_and_error_coefficient
//example 6.10.21
//page 191
s=%s;
syms t;
r=2+3*t+2*t^3;
//since for 'r' only upto 2nd order derivative is non zero, so only coeff. C0 C1 C2 exist
G=sym('1/(s*(s+2))');
A=1/(1+G);
A=simple(A);
disp(A,"E(s)/R(s)=");
C0=limit(A,s,0);
B=sym('((1)/(s... |
e79dcdc71a24f1f8ad3d77f5e35c9d65f3238491 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.12/example11_12.sce | b5ef70cf0aaba59cc706ec6868e921d91b37203e | [] | 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 | 647 | sce | example11_12.sce | //Chapter 11
//Example 11_12
//Page 282
clear;clc;
d_in=2;
d_out=8;
e1=5;
e2=4;
e3=3;
g_max=40;
d1=e1*d_in/e2;
d2=e1*d_in/e3;
printf("GRADED CABLE: \n");
printf("d1 = %.2f cm \n", d1);
printf("d2 = %.2f cm \n", d2);
v=g_max/2*(d_in*log(d1/d_in)+d1*log(d2/d1)+d2*log(d_out/d2));
sv=v/sqrt(2);
printf("Permissible pe... |
a0a728d970bc62920e1d730fca849946da7f774b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH5/EX5.20/Ex5_20.sce | 4f3410a03f13499fc90094c513f0a0cd351f0bea | [] | 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,378 | sce | Ex5_20.sce | // Calculating the number of turns and no load current
clc;
disp('Example 5.20, Page No. = 5.101')
// Given Data
E = 6600;// Primary winding voltage (in volts)
f = 60;// Frequency (in Hz)
Ai = 22.6*10^(-3);// Area of cross section (in meter square)
Bm = 1.1;// Maximum flux density of core (in Wb per meter square... |
1a03c059e470e5b67125b5383e4307acf996f62a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3863/CH13/EX13.6/Ex13_6.sce | e916e3048c173ca6fb8652fcb4df088bdcba8648 | [] | 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 | 640 | sce | Ex13_6.sce | clear
//
//Given
//Variable declaration
L=3*1000 //Length in mm
w=10 //Uniformly distributed load in N/mm
a=2*1000 //Length of Uniformly distributed load from fixed end in mm
I=1e8 //Moment of Inertia in mm^4
E=2e5 //Youngs modulus in N/sq.mm
//Calculation
/... |
7f5bc0a9b102e106fc4bb95630032e58f6800e72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH23/EX23.3/Chapter23_example3.sce | e8486dd97fd9e72b6fc408a2fa68402e1c4bdd32 | [] | 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 | 714 | sce | Chapter23_example3.sce | clc
clear
//Input data
n=6//Number of cylinders
d=0.089//Bore in m
l=0.1016//Stroke in m
vc=3.183//Compression ratio
rn=55//Relative efficiency in percent
m=0.218//Petrol consumption in kg/hp.hr
Pm=(8.4/10^-4)//Indicated mean effective pressure in kg/m^2
N=2500//Speed in r.p.m
//Calculations
an=(1-(1/(vc-... |
c643e3d754898d467e30929b3604754825c12d96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH2/EX2.17/Ch02Ex17.sci | e957c56fd6bece4af942339f5b4aeae7eb2741d1 | [] | 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 | 720 | sci | Ch02Ex17.sci | // Scilab Code Ex2.17 First excitation energy of hydrogen atom: Pg: 58 (2008)s
n1 = 1; // Principle quantum number of first orbit in H-atom
n2 = 2; // Principle quantum number of second orbit in H-atom
m = 9.1e-031; // Mass of the electron, C
e = 1.6e-019; // Charge on an electron, coulomb
h = 6.624e-0... |
bb383d3b77be4aeeb1d4032e444e812ecf4a54a2 | 25033eda4e7cd13f945f94c5dc35f15825066b42 | /ExactCure/CMAES/CMAES.sce | 03add8efcfc791c8a767bae752ecff7fcb61c1ab | [] | no_license | julienguegan/Internships | a26cb9efa2f1715832511a7aa94d25bfc675388b | ad51d5845ed8fd41e29259c95e8beff80bac65cf | refs/heads/master | 2020-12-20T21:54:29.099157 | 2020-01-25T19:20:10 | 2020-01-25T19:20:10 | 236,217,889 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,747 | sce | CMAES.sce | clear
exec('C:\Users\Julien Guégan\Desktop\PFE\algorithmes\fonctions test.sce',-1)
function [xmin,cpt] = purecmaes(f, x0, s0, lambda, mu, itermax, tol)//CMA-ES
// -------------------- Initialization --------------------------------
// User defined input parameters (need to be edited)
N = length(x0); ... |
678828402c868323c6e87c0e818e5dce04eb7083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH6/EX6.16/Ex6_16.sce | a9f3fe42e043f5f1ade93853bf2640bb6100c8ab | [] | 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 | 624 | sce | Ex6_16.sce | //Chapter 06: Counting
clc;
clear;
function result=combination(n,r) //function definition
i=n
num=1
denominator=1
l=(n-r)+1
u=n
for i=l:u //to compute the value of the numerator
num=num*i
end
for j=1:r //to compute the value of the denominator
denominator=denominator*j
end
result=num/denominator
return result
endfun... |
16d97de6cef620e4c42e11eb1fa11f6130f51260 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH12/EX12.4/Example12_4.sce | 15394b3346d488a6f5824f903bfcdf52faaaae97 | [] | 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 | 257 | sce | Example12_4.sce | //chapter12,Example12_4,pg 358
NA=0.5
n1=1.48
n2=sqrt((n1^2)-(NA^2))
printf("refractive index of cladding\n")
printf("n2=%.2f ",n2)
alpha=asin(NA)
alpha=alpha*(180/%pi)
printf("\nacceptance angle\n")
printf("alpha=%.2f deg",alpha) |
bcb5167fd3e696d7829ccb010a3b70a5bb2c1c4c | edb7443807ec401bb6e2d8c0f63cd7669068420d | /InterfaceDC-DCcomparison.sce | fccb9e8d329ea3d5661ebdea405a26b58ca12b07 | [] | no_license | gslama/DCDC_Testbench | 8848dd53b09969967b23a4fe1f3d0b8b55ddca69 | 36167c5854f80a949e416aff1a0091057ba8b34b | refs/heads/main | 2023-07-28T08:05:23.754438 | 2021-09-16T15:15:37 | 2021-09-16T15:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 36,299 | sce | InterfaceDC-DCcomparison.sce | clf reset;clear;clc;close;close;close;
myfigure=figure(1)
//------------------------------------------Declaration of constant---------------------------------------------------------------------------------------------------------------------------------------------------------------------
global("nom1");global("nom... |
77498349e6ee4c0032752b00dc7d75ac8f12ab55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.1/Chapter4_Example1.sce | 53b49c86b9ca98adc744d476f366b4f39bab83bd | [] | 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 | 373 | sce | Chapter4_Example1.sce | clc
clear
//Input data
r=8.5;//The compression ratio
sv=1.4;//The specific heat at constant volume in percent
//Calculations
n=1-(1/r)^(sv-1);//The efficiency of the otto cycle
ef=[((1-n)/n)*(sv-1)*(log(r))*(sv/100)]*100;//The percentage change in efficiency of an otto cycle and is negative
//Output
prin... |
2fcd678366d135f52d7448b9fc1b2305f33d7714 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.20/5_20.sce | aa0b2b963e9f1c899a028b0beefaff7496981fcf | [] | 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 | 767 | sce | 5_20.sce | //pathname=get_absolute_file_path('5.20.sce')
//filename=pathname+filesep()+'5.20-data.sci'
//exec(filename)
//Mass in tank A(in kg):
ma=0.6
//Mass in tank B(in kg):
mb=1
//Temperature in tank A(in K):
Ta=90+273
//Temperature in tank B(in K):
Tb=45+273
//Pressure in tank A(in bar):
pa=1
//Pressure in tank ... |
7657bec252a6f3f473d6181041ead495e1c2b22a | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/Thermal/foster4_s.sci | c7ba7f392c29527ef4aea922eaae7d2a53c53006 | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 596 | sci | foster4_s.sci | //Function of 4 order Foster Network
//The coefficient vector will be of the form [R1 C1 R2 C2 R3 C3 R4 C4]
//The output will be a linear system in s so I can work with it
function [Z]=foster4_s(c)
s=poly(0,'s');
//we extract the coefficients
R1=c(1);
C1=c(2);
R2=c(3);
C2=c(4);
R3=c(5);... |
ab459d4a71f6f88ea4bf7ddc3cab74977eb8d6f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH3/EX3.33/3_33.sce | 5e574355ed31027bfc0144510391787c996c7c6c | [] | 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 | 250 | sce | 3_33.sce | clear//
//Variables
P = 36 //Power (in watt)
V = 230.0 //Voltage (in volts)
//Calculation
R = V**2/P //Resistance (in ohm)
//Result
printf("\n Resistance of the heating element is %0.0f ohm.",R)
|
063427d70b269779f0638598877915aa23e08cc7 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/YE70NQR/ATWM1_Working_Memory_MEG_YE70NQR_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | 62b101b764d47eb9fbdfec793797d0367622ac7a | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,384 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
dcdf695f26607d8c53d0b57ea650a27dcfb37cb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.16/15_16.sce | cc8ee3dc36dcc6867ca52ac68381a0ebb0b83186 | [] | 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 | 757 | sce | 15_16.sce | //To find equivalent system
clc
//Given:
h=650/1000, l1=(650-25)/1000 //m
m=37.5 //kg
tp=1.87 //seconds
//Solution:
//Refer Fig. 15.18 and Fig. 15.19
//Calculating the radius of gyration of the connecting rod about an axis passing through its centre of gravity
kG=sqrt((tp/(2*%pi))^2*(9.81*h)-h^2) //m
//Calcul... |
0be352f35fd0fb819abe4a5ca2dff061cf496ad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2273/CH1/EX1.4/ex1_4.sce | 58f6fc03f25cf07337ea84ee6c2f26cc68903264 | [] | 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,050 | sce | ex1_4.sce | //Calculate volume of conductor required in 1 phase 2 wire and 3 phase 3 wire system
clear;
clc;
//solution
//given
pf=0.8;//power factor
pMVA=(2.5*10^6);//volt ampere
v=(33*10^3);//volts
l=50*10^3;//m//length of the line
p=pMVA*pf;//watts//power trasmitted = power in MVA* p.f.
w=0.2*p;//watts//line losses = ... |
f322f34dd624bad1cd42236329a99a2a078658fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.10/example8_10.sce | 35c4fb7ab6549412416cc3557a0a3122c45a4ed2 | [] | 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 | 541 | sce | example8_10.sce | //Chapter 8
//Example 8_10
//Page 177
clear;clc;
shunt_cap=0.15;
line_cap=0.1;
n=3;
v1=13.25/40.55;
v2=12.5*v1/13.25;
v3=14.8*v1/13.25;
pv1=v1*100;
pv2=v2*100;
pv3=v3*100;
eff=1/n/v3*100;
printf("V1 = %.3f V \n", v1);
printf("V2 = %.3f V \n", v2);
printf("V3 = %.3f V \n\n", v3);
printf("(i) Voltage expressed as ... |
2a74a0312cf645152cca0980b894a90a04d0b064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH2/EX2.7/EX2_7.sce | 2b43bd80ad1203ea5907555aa9f430697fefefb4 | [] | 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 | 282 | sce | EX2_7.sce | //Finding of Pressure
//Given
//Left Limb
h=0.6;
rho=1000;
g=9.81;
//Right Limb
h1=0.45;
spgr1=13.6;
h2=0.30;
spgr2=0.88;
//To Find
P=(h1*spgr1)+(h2*spgr2)-(h);
disp("Pressure is ="+string(P)+" cm of water");
p1=P*rho*g;
disp("Pressure is = "+string(p1)+" N/m^2");
|
55efb7d84d8a61664ddfc1fbf0599655f9ee6bee | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.15/EX4_15.sce | b68ae17865e1916069e33823bacec0b59bd942fd | [] | 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 | 681 | sce | EX4_15.sce | //Calculating new full load speed
//Chapter 4
//Example 4.15
//page 310
clear;
clc;
disp("Example 4.15")
f=50;.....................//frequency of induction motor in hertz
P=4; //number of poles
Nr=1440; //rotor speed in rpm
R2=0.1; //rotor resistan... |
f389797c1dfeef0d9c704e0aa0dfdd5227af80f9 | 6c7a728e11a427c93b15669517131a79a0703108 | /api/gateway/scripts/test_gateway.tst | 3e9d222703bc915b6ef4fb90dc18b22be5edf1b7 | [] | no_license | ZVlad1980/adm_scripts | 0b9fe4ff166213dc649d555c81e8d65b858074e4 | 9978a098c8140f5722b51e799969b76e2d68b42e | refs/heads/master | 2020-03-31T08:45:49.405822 | 2019-04-30T05:04:03 | 2019-04-30T05:04:03 | 152,071,490 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | tst | test_gateway.tst | PL/SQL Developer Test script 3.0
18
-- Created on 11/30/2018 by VZHURAVOV
declare
-- Local variables here
i integer;
begin
-- Test statements here
logger.set_session(
p_channels => logger.GC_CH_BOTH,
p_msg_level => logger.GC_LVL_DEBUG
);
/*pdh_gateway_pkg.launch(
p_module => 'ReportGenerator'... |
9551049f64019e018e05d1edf85bd551f872d85d | 4bbc2bd7e905b75d38d36d8eefdf3e34ba805727 | /ee/contrib/dspic/macros/misc/fullobs.sci | 657975c0e091f7910db48bf6825c08c780e05dbc | [] | no_license | mannychang/erika2_Scicos-FLEX | 397be88001bdef59c0515652a365dbd645d60240 | 12bb5aa162fa6b6fd6601e0dacc972d7b5f508ba | refs/heads/master | 2021-02-08T17:01:20.857172 | 2012-07-10T12:18:28 | 2012-07-10T12:18:28 | 244,174,890 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sci | fullobs.sci | function [A_f,B_f,C_f,D_f]=fullobs(A,B,C,D,poles)
// Find the full order observer for the system A,B,C,D, with observer poles "poles"
L = ppol(A',C',poles)'
A_f = A-L*C;
B_f = [B-L*D,L];
[m1,n1]=size(A_f);
[m2,n2]=size(B_f);
C_f = eye(m1,n1);
D_f = zeros(m1,n2);
endfunction
|
3d1ef415e2102654fbac42b01c8402979b71aa87 | 08ee8059476493a308f8e13adcbace48d7bcfc92 | /Scilab_packetTracer_codes/ASK.sce | e61a78465a90f1d5430ba2f62871c349010be81c | [] | no_license | Rushi-Bhatt/Self-Study | 7ed44b7821154b7906c7d532255ea648ec9d6299 | 90cc75440328ba21769ffac878f46feadeb2f06f | refs/heads/master | 2021-01-11T15:29:31.739065 | 2017-02-08T22:17:57 | 2017-02-08T22:17:57 | 80,360,471 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sce | ASK.sce | x=[1,0,0,0,1,0,1]
l=length(x);
a=gca();
a.data_bounds=[0,-10;10,+10];
for i=1:l
if(x(i)==1)
n=i:0.001:i+1
y=3*sin(2*%pi*n/.05)
plot(y)
else
plot(i:i+1,0)
end
end
xgrid(5)
|
12f1986d2a47b293c953948a955504fbf7296cc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH5/EX5.1/ex_5_1.sce | 31ca32a772205a95682a310d6636e7aeadf53f00 | [] | 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 | 818 | sce | ex_5_1.sce | clear;
clc;
disp("for 8-KHz sampling,the frequencies present are...(in KHz)");
Fs=8; //sampling frequency
Fst=3.5 //single tone frequency
disp(Fst);
disp(-Fst);
disp(Fs-Fst);
disp(-(2*Fs+Fst),(2*Fs+Fst),-(Fs+Fst),(Fs+Fst),(Fs-Fst));
disp("...etc...");
disp("in this case, if the LPF is designed with cut-... |
91555f86ece2354f064fa4bc1de0afa176c7537e | 519e9f150ad545fb1477c968ebca12ac98c0b1ef | /LoopStatement.tst | b25d7b48b95dd4cd84c2c465252e804ae3a3c497 | [] | no_license | bhanushashank/Hack_Computer | 5f877b72474bbed568f4871d76811ba41195d1c5 | 8c1996bcf5c9ff42f6f16ed24b6586f894784831 | refs/heads/main | 2023-06-16T04:51:55.973740 | 2021-07-17T09:58:08 | 2021-07-17T09:58:08 | 386,899,862 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,005 | tst | LoopStatement.tst | load HackComputer.hdl,
output-file LoopStatement.out,
compare-to LoopStatement.cmp,
output-list
RAM64[16]%D1.10.1
RAM64[18]%D1.10.1
RAM64[19]%D1.10.1
RAM64[20]%D1.10.1;
ROM32K load LoopStatement.hack,
// start = 1, inc = 1, end = 100
set RAM64[16] 1,
set RAM64[18] 1,
set RAM64[19] 100,
// No.of... |
9fc272b9cb408a74c1d46db94342f7caf27c5145 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/elem/cotg.sci | 6f3a95983c285bc30dfc429aee459e581c909d44 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 102 | sci | cotg.sci | function t=cotg(x)
//Eelemt wise cotangent of x
if type(x)<>1 then error(53),end
t=sin(x).\cos(x)
|
e57381d2f93ba3645d2b28cec30dc95cc08db953 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.13_17.tst | 09150b75cee3a5336d9254352445d8add99b1654 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 234,727 | tst | 5.13_17.tst | 13 1207:1 1389:1 1426:1 1451:1 1629:1 1996:1 2333:1 2716:1 3491:1 3559:1 3923:1 4865:1 5161:1 6516:1 6764:1 7034:1 9348:1 10324:1 11094:1 12282:1 12750:1 12786:1 12923:1 13110:1 13563:1 13851:1 13928:1 13988:1 14068:1 14114:1 16291:41 16306:1 16809:1 17024:1 17595:1 18314:1 19128:1 19322:1 19610:1 19737:1 19876:1 20022... |
04577b1415c071fdc73f04356ab2bb307a98861a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH1/EX1.9/ex1_9.sce | 8922c7ef9dd8d655ca1a25326a56cbb9fac20588 | [] | 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 | 377 | sce | ex1_9.sce | //Exa:1.9
clc;
clear;
close;
V=200;//in volts
I_1=20//in amperes
R_a=0.5;//in ohms
E_b1=V-I_1*R_a;//in volts
N1=700;//in rpm
I_2=sqrt(1.44)*I_1;//in amperes
E_b2=V-I_2*R_a;//in volts
N2=N1*(E_b2/E_b1)*(I_1/I_2);
disp(int(N2),'(a) Speed (in rpm)=');
I_3=10;//in amperes
E_b3=V-I_3*R_a;//in volts
N3=N1*(E_b... |
21fa9e0a9a030d769895e48e5dfd5c712e98bb7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH1/EX1.6/Ex1_6.sce | 9ed0a1446fc721ce22bd251b7d0ed14656bc0bb6 | [] | 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 | 351 | sce | Ex1_6.sce | //Example 1.6, apge 39
clc
g=9.8//in m/s^2, constant
l=.1//in m
m=0.01//in kg
h=6.63*10^-34//Joule-sec
theta=0.1//in radians
v=(1/(2*%pi)*sqrt(g/l))
printf("\n Oscillation frequency of pendulam %f per sec.",v)
E=m*g*l*(1-cos(theta))
printf("\n Energy of pendulum at its maximum potential %e Joule.",E)
Delta_e=h*v
printf... |
764750a6620ed806989f85b60819f4339ecc6575 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH4/EX4.2.3/4_2_3.sce | 9330e4184efdb2e30045a6495c648e49c3da2bf3 | [] | 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 | 521 | sce | 4_2_3.sce | clc;
// page no 128
// prob no 4_2_3
//Parallel tuned ckt tuned at resonant freq f=120 MHz
f=120*10^6;
c=25*10^-12;//capacitance of 12 pF
Q=30;//Q-factor of the ckt is 30
BW=10*10^3;//cahnnel BW of the receiver is 10 KHz
k=1.38*10^-23 //Boltzman constant in J/K
T=290;//Room temp
//Determination of effective n... |
a298b80a3cece2581487148df7acbb67feb59129 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.16/Ex5_16.sce | 6c575a235a97f07d6348e57a65d51a2f0ec2cb11 | [] | 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 | 647 | sce | Ex5_16.sce | // Scilab Code Ex5.16: Page-292 (2008)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
e = 1.602e-019; // Energy equivalent of 1 eV, J
lambda = 0.40e-010; // de-Broglie wavelength associated with the moving electron, m
m = 9.11e-031; // Rest mass of an electron, kg
V = (h/lambda)^2/(2*m*e); // Vol... |
46de4877c5dbe80ae0237fdb44b9008f7a8eb215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2744/CH11/EX11.6/Ex11_6.sce | 4635cd5ce78245138fe9e6ae2fc332804cfa857a | [] | 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,172 | sce | Ex11_6.sce | clear;
clc;
t = 1/2;// inches
a = 1/2;// inches
P = 42;// tons
d = 3/4;// inches
f_t = 7.5;// tons/in^2
f_s = 6;// tons/in^2
f_b = 12;// tons/in^2
P_s = 2*0.25*%pi*d^2 *f_s;// tons
P_b = d*t*f_b;// tons
n = P/min(P_s,P_b);
n = round(n+1);
b1 = P/(t*f_t) + d;// inches
b = round(b1);
e = (b-d)/b;// efficie... |
ddcf39aa7401e193a519170f0d566b2ab4a30809 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3822/CH6/EX6.7/Ex6_7.sce | c4ab4b79a68d50b86d32afac13422476fb2caa0c | [] | 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 | 864 | sce | Ex6_7.sce |
//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 6.7
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
A=(100)*(50);//area in u-meter^2
Id=10e-9;//Measured dark current in nanoampere
eta=0.6;//Quantum efficiency is 60%
lamda=1.2e-6;//... |
b7753b6e9296eec2efc0665ce8a11784e9caf51c | 46b2e0d9f2de6dc4ce132cc405494354129e9fb3 | /Gauss elimination.sce | 931bb97dbd01c5cd7186726be5d7715818adcd72 | [] | no_license | nilaybhatia/Scilab-pracs | 967f03fc5aa8ad000e221944f17e9b4a81b38883 | a885af1da65d57bd66a6f9d546cd9595ca652b43 | refs/heads/master | 2020-04-09T07:23:47.318916 | 2018-12-08T16:58:25 | 2018-12-08T16:58:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,751 | sce | Gauss elimination.sce | n=input("Number of variables? ")
A=input("A=")
b=input("b=")
//A=[1 2 3 -1; 2 3 -3 -1; 3 2 -4 3; 2 -1 2 3]
//b=[10;1;2;7]
a=[A,b]
for i=2:n
for j=1:i-1
a(i,:)=a(i,:)-(a(i,j)/a(j,j))*a(j,:)
end
end
printf ("Executed")
disp (a)
transformed_A=a(:,1:n)
transformed_b=a(:... |
4512e338d4744d8d268fb11f76f198380f11fff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH19/EX19.1/19_1.sce | 5caa4a3279d8b73f0baa2ca528cb28503cb06a12 | [] | 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 | 829 | sce | 19_1.sce | clear;
clc;
V=400e3;
X=96;
Y=.001 * exp(%i * 90/180*%pi);
Sb=500e6;
Pr=2;
Z=complex(0,X);
Zb=V*V/Sb;
A=1+(Z*Y/2);
B=Z/Zb;
Vs=1;
Vr=.95;
d1=asin(Pr*abs(B)/(Vs*Vr));
Qr1=((Vs*Vr)/abs(B)) * cos(d1) - (abs(A)* Vr*Vr/abs(B))
Qs1= (abs(A)* Vs*Vs/abs(B)) - ((Vs*Vr)/abs(B)) * cos(d1)
mprintf("\n(a) Qr... |
5f6a984635a23e752d4667d2a3de5eccd60cf2e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH4/EX4.13/Example_4_13.sce | a8af3d078d6f680a39d6cd8fbf592db1230a0dcd | [] | 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 | 512 | sce | Example_4_13.sce | // Chapter4
// Page.No-136, Figure.No-4.24
// Example_4_13
// Change in output offset voltage
// Given
clear;clc;
delta_Vio=5*10^-6; // Change in input offset voltage
delta_t=1; // Unit change in time
delta_Iio=2*10^-9; // Change in input offset current
t=4; // Time elapsed(weeks)
R1=1*10^3;Rf=100*10^3;Rl=10*... |
93679ddf88e1d33405a966ed5f5aa8ecc53cf188 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH9/EX9.1/ex9_1.sce | ebfc47ad67f4787a4ed3ad664656e874f966e929 | [] | 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 | 287 | sce | ex9_1.sce | clc;
clear all;
deltas = 10e8; // Difference between principal stress in newton per square meters
c = 1e-12; // The stress optic coefficient in squared meters per newton
N = c*deltas;
disp('',N,'The difference between the refractive indices along with the principal stresses is')
|
d9b98b7ecf628101106082e508a31702b5b00e32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH9/EX9.19/Example9_19.sce | b6d9bda71376e0be4b6d47ea2ae548ebb3ab8ff3 | [] | 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,011 | sce | Example9_19.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 9: POLYPHASE INDUCTION (ASYNCHRONOUS) DYNAMOS
// Example 9-19
clear; clc; close; // Clear the work space and console.
// Given data
P = 8 ; // Number of poles in WRIM
f = 60 ; // Operating frequency of the W... |
a4e4020972eec1382010ed4644789da1ff963065 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH1/EX1.5/Ex1_5.sce | e8419bb25923b80099849d9eec6588c7e0495ee7 | [] | 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 | 467 | sce | Ex1_5.sce | // Ex1_5 Page:13 (2014)
clc; clear;
c = 3e+08; // Speed of light in vacuum, m/s
v = 0.9*c; // Speed of beam of particles, m/s
delta_t = 5e-06; // Mean lifetime of particles as measured in the Lab frame, s
delta_tau = delta_t*sqrt(1-(v/c)^2); // The proper lifetime of the particles from Time Dilation Relati... |
7e48efe43cefbf4d7ea08350962fb26ac2287f8b | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/HH_RG.sce | a9484382ba09878d77c81e15280a8c3d5389b954 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | HH_RG.sce | style.fontSize=12;
style.displayedLabel="HH_RG";
pal1_1=xcosPalAddBlock(pal1_1,"HH_RG",[],style);
|
259c56dfff8a0f982342d943476f31d9ffa114e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH2/EX2.12/Example2_12.sce | 4297205a18f91f5eabeaafeec7f53a36e32d45d1 | [] | 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 | 604 | sce | Example2_12.sce | //Example 2.12
//Program to determine relative refractive index difference using ESI
//technique
clear;
clc ;
close ;
//Given data
lambda_c=1.19*10^(-6); //metre - CUTOFF WAVELENGTH
w0=5.2*10^(-6); //metre - SPOT SIZE
n1=1.485; //MAXIMUM REFRACTIVE INDEX OF THE CORE
... |
addaf7fbcc140542f419000b7effe4b7f135aed8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1325/CH13/EX13.6/13_6.sce | d44cf551a828e20efd795060baa125bbabc83736 | [] | 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 | 201 | sce | 13_6.sce | //To find governor effort and power
clc
//given
c=0.01
W=120//lb
w=15//lb
k=.720
h=8.944//in
Q=c*(W+2*w/(1+k))
x=(2*c/(1+2*c))*(1+k)*h
P=Q*x
printf("Governor power = Q*x = %.3f in lb",P)
|
d92b87eb29025fdd8c33043c11a7525e909a724c | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH14/EX14.7/Example14_7.sce | 0f718403d587a78c365d5886e7704056872532d8 | [] | 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,132 | sce | Example14_7.sce | exec ("Gravitation.sci",-1)
//Given that
//Both the stars are moving around the centre of mass of the two particale system
//m1 = mass of visible star
//m2 = mass of invisible star
//r1 = distance of m1 from center of mass
//r2 = distance of m2 from center of mass
//r = r1+r2 distance between both the stars
/... |
faf5047f2b6b301764181710e58cb9c0ab01b769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH6/EX6.5.1/Ch06Exa6_5_1.sci | d640fe3bc022971a3060488873ee10b277b9be3e | [] | 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 | 455 | sci | Ch06Exa6_5_1.sci | // Scilab code Exa6.5.1 : To calculate the difference between the electron's speed and speed of light. Page 265 (2011)
v = 2.999999997e+08; // Velocity of the electron, m/s
c = 3e+08; // Velocity of light,m/s
D = c-v; // difference between electron's speed and speed of light,m/s
printf("\nThe difference between ... |
ec9e49c0320d3d2fdc0ae82076bf973315dad3ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.32/ex6_32.sce | a6db419d6f010b800bb04f9b533fcd9c7aba4d64 | [] | 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,788 | sce | ex6_32.sce | // Exa 6.32
clc;
clear;
close;
// Given data
P1 = 15;// in bar
P2 = 0.15;// in bar
T_sat = 198.3;// in degree C
T_sat = T_sat + 273;// in K
h_fg1 = 1947;// in kJ/kg
h_fg2= 2369;// in kJ/kg
h_g1 = 845;// in kJ/kg
h_f2 = 232;// in kJ/kg
f_g2 = 7.985;// in kJ/kg-K
x1 = 0.8;
Phi_f1 = 2.315;// in kJ/kg-K
Phi... |
67cb1eaa0366df37aa7a68545cffa017e53fe32d | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.3.e/5_03_example.sci | 95a55d9de6b54a4fbe7cc9680febf7ef9cca216d | [] | 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 | 305 | sci | 5_03_example.sci | //Example 5-3 Performance of Hydraulic Turbine-Generator
h = 50 //depth of water [m]
mdot = 5000 //water mass flow rate [kg/s]
Wdot_elect = 1862 //electricity generated [kW]
eta_generator = 95 //generator efficiency [%]
rho = 1000 //density of water [kg/m^3]
g = 9.81 //gravitational acceleration [m/s^2]
|
fe1022d76b4e3bdbc292157c056ca93ab13f0cdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH3/EX3.4/EX4.sce | f5555db2bfdd862c75cc532aca70226addad5b8e | [] | 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 | 940 | sce | EX4.sce | // Example 3.4: (a) DC load current
// (b) DC power in load
// (c) Rectification efficiency
// (d) Percentage regulation
// (e) PIV of each diode
clc, clear
Vrms=40; // Input in volts
Rf=1; // Forward conduction resistance of diodes in ohms
RL=29; // Load resi... |
ce657ea868c0f35c665a956a15297d964f09d476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH9/EX9.12/9_12.sce | 62aed33a98581f385ece7299ca9192a9e8e6229c | [] | 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 | 838 | sce | 9_12.sce | clc
//initialisation of variables
t1=303 //temparature in k
p2=4.08 //pressure in bar
p1=1 //pressure in bar
t5=303 //temparature in k
x=0.3247 //x=v2/v1 where the relation is v2=v1*(1/rp)^1/n
y=0.0385 //y=v3/v1
vo=0.2862 //vo=volume of air delivered/v1
vf=0.8299 //vf=vome of free air /v1
n=1.25
p3=17.5 //pr... |
8a696fe3f32c0ac1c3d0913a0ae50622a2e5d3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.21/5_21.sci | 6cbb7a6699b70e82db81140006b8be2580360e3d | [] | 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 | 135 | sci | 5_21.sci | // Calculate the resistance
clc;
R25=100;
ath=-0.05;
dth=35-25;
R35=R25*[1+ath*dth];
disp(R35,'resistance at 35 degree C(ohm)=') |
76fa7c58e47fad1c6cb76b30af03844d5c2422de | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.43/43.sce | acba2a3e9cbed9922b62ab65f0a30fef72c812ce | [] | 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 | 403 | sce | 43.sce | clc
C1=12; //m/s
p1=1*10^5; //N/m^2
v1=0.5; //m^3/kg
C2=90; //m/s
p2=8*10^5; //N/m^2
v2=0.14; //m^3/kg
dh=150; //kJ/kg
Q=-11.67; //kJ/s
m=0.2; //kg/s
disp("(i) Motor power required to drive the compressor")
W=m*[-dh + (C1^2-C2^2)/2/1000] +Q;
disp("Power=")
disp(-W)
disp("kW")
disp("(ii)Ratio of inl... |
904b56d4e04487a29a18ee2c98c95b9e0e24e186 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH3/EX3.3/Ex3_3.sce | 9c766dc032fc30500298946df5cb81cffb8b109e | [] | 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 | 444 | sce | Ex3_3.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_3(b).sce.
clc;
clear;
R=1;
L=1;
C=0.1;
//case (b)
s=0;
//Z=R+(L*s)+(1/(C*s))
Z=0; //Z=s/(s^2+s+10)
//voltage across the resistancce and inductance are zero... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.