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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1df9a5c1e184d8b248de4c145625fd97011f3195 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ac2rc/ac2rc7.sce | 3e0c41dea1717767f2ea1c9e39fd51e2cc8ae821 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 123 | sce | ac2rc7.sce |
//check o/p when as zero vector is passed to the function
t=[0];
z=[5];
[k,R0] = ac2rc(t);
disp(k);
//output
//[]
|
4a9b3e8cb48e6a5bd7b6da6c8f9c0aa6668b02c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH3/EX3.11/ex3_11.sce | 0cceae906e85c9bcfbc6d7e2fd28a041887e2f1c | [] | 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 | ex3_11.sce | // Exa 3.11
clc;
clear;
close;
// Given data
n_i = 1.5*10^10;// in /cm^3
n_n = 2.25*10^15;//in /cm^3
p_n = ((n_i)^2)/n_n;// in /cm^3
disp(p_n,"The concentration of holes per cm^3 is");
disp(n_n,"Donor impurity per cm^3 is");
|
bbb164b163940f2274c71bf972460dba559a5cb3 | 7cc96234594adc8fa42f30740d8d313d5246d90a | /data/motorparams/format.sce | e20ad277c9c684da7868005f4c488a7e70eaac67 | [] | no_license | ku3i/evolution | 3d5a8585d2b99dc65525455d894884fd0c03cd83 | 7e93655f812f7f93498f9393f140774865a34901 | refs/heads/master | 2021-01-12T11:49:58.684976 | 2020-12-30T23:40:44 | 2020-12-30T23:40:44 | 70,154,387 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sce | format.sce | mode(-1)
R = csvRead("./input_data.log"," ")
[T,N] = size(R)
T = min(7000, T)
t = [1:T]'
position = 0.617 * (R(t,3) - 512) / 1024
voltage = R(t,2)
clf
plot2d(t, voltage , style=2)
plot2d(t, position, style=5)
D = [t,voltage,position]
csvWrite(D, "./input_data_formatted.log", " ")
|
a0680ce3f035c41b600ad45a63dcff2940ad9bf7 | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /Parabola&Hyperbola.sce | db467bfee912c8ccf8cffea37769c3a15890667e | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | Parabola&Hyperbola.sce | clear;
clf;
dt = 1;
t = -5 : dt : 5;
x = t.*t;
subplot(211);
plot(t, x);
xgrid(1);
xlabel("t", "fontsize", 4);
ylabel("x", "fontsize", 4);
title("Parabola x = t^2", "fontsize", 4);
// x = sqrt(t^2 - 1);
x = 1./t;
subplot(212);
plot(t, x);
xgrid(1);
xlabel("t", "fontsize", 4);
ylabel("x", "fontsize", 4);
title("Hyperbol... |
26b6460d3dd7da4bb29756acdcfe90842533f35c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH21/EX21.3/21_3.sce | 6e12126cb0c9f9535d43fe13430883261b9edeaa | [] | 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 | 21_3.sce | clc
//initialization of variables
R=53.34
T1=540 //R
n=1.4
g=n
n2=1.3
P2=90 //psia
P1=15 //psia
cv=0.171
cp=0.24;
eta=0.95
//calculations
pv=R*T1
Wk=n*R*T1*((P2/P1)^((g-1)/g) -1) /(n-1)
Wn=n2*R*T1*((P2/P1)^((n2-1)/n2) -1) /(n2-1)
Wt=R*T1*log(P2/P1)
Wx=-Wk/eta
dh=cp*T1*(1.52 - 1)
Q=dh+Wx/778
//results
printf("Heat trans... |
83a8be25d59e69dbf29831b0914a70b59f4fed5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH7/EX7.6/example_7_6.sce | 228e91db6d3888049cb76b7e27ffbe1d2e901b77 | [] | 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 | 518 | sce | example_7_6.sce | //example 7.6
clc
clear
//rb=input('Enter the value of the resistance RB in Kohms :');
//dc =input('Enter required duty cycle in % :');
//clk = input('Enter the provided clock frequency in MHz:');
rb=0.75//taking the given values for input
dc=25
clk=1
ra = (rb*100/dc) - 2*rb;//mking neccesary calculations
... |
f9fa0a14d0710572cd1c99a9c9e068e2bffc8633 | 717ddeb7e700373742c617a95e25a2376565112c | /1340/CH6/EX6.1/6_1.sce | a430983d7f037104bb85a628418c03b885082586 | [] | 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 | 740 | sce | 6_1.sce | //routh hurwitz criterion for system transfer function given by:
// g(s)=1000/(s^3+10*s^2+31*s+1030)
s = poly(0,'s');
po = syslin('c',1000/(s^3+10*s^2+31*s+1030));//creates LTI system
m = denom(po);//extracts the denominator of the transfer function
co = coeff(m);//extracts the coefficients of the denominator
... |
d2fc76c1f2f014c7609e6017b1c6320d35167514 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH9/EX9.3/9_3.sce | 5856962bef04bb5b65b46b10035f166dcebcf905 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 607 | sce | 9_3.sce | clc;
p2!p1=8;
T1=290;
y=1.4;
T2s=T1*({p2!p1}^[(y-1)/y]);
nc=0.8;
T2=[(T2s-T1)/nc]+T1;
cps=1.005;
T3=923;
Wi=cps*(T2-T1);
Wo=Wi;
cps2=1.15;
T4=T3-[Wo/cps2]
nt=0.85;
T4s=T3-[(T3-T4)/nt];
p3=8*1.01;
y2=1.333;
p4=p3/[(T3/T4s)^{y2/(y2-1)}];
disp("bar",p4,"pressure at entry of the LP.");
disp("K",T4,"temperature at the en... |
c0b900a70ca6591a2cf5b5e2cff0a1a5133b9bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH8/EX8.8/ex8.sce | d5a5dbad801d205ab11c261294daa9cc4c5effbc | [] | 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 | 525 | sce | ex8.sce | //example 3
//calculating increase in entropy
clear
clc
m=1 //mass of saturated water vapour
sfg=6.0480 //in kJ/K
T=25 //temperature of surrounding air in celsius
dScm=-m*sfg //change in entropy of control mass in kJ/K
hfg=2257.0 //in kJ/kg
Qtosurroundings=m*hfg //heat transferred to surroundings in kJ
dSsurr... |
af53c0b038e845f6f76abe48cca8d701e368ad55 | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /addBlocks.sce | ae2457309840f41adcb73725666bc7926e23d705 | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,635 | sce | addBlocks.sce | f_addNewBlock = figure("dockable", "off", "infobar_visible", "off", "toolbar_visible", "off", ...
"toolbar", "none", "menubar_visible", "on", "menubar", "none", "default_axes", "off", ...
"layout", "border", "figure_name", gettext(prodName),...
"visible", "on",'closerequestfcn','save(baseDir+''\... |
44e1f2d7a9a6fbb35b524c220639c7d8f3ec6baa | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH31/EX31.9/Example31_9.sce | 6ced3bffed78c643c65eb6330a335f63dfbd145d | [] | 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 | 337 | sce | Example31_9.sce | //Given that
N1 = 1200 //turns
N2 = N1
R2 = 1.1*10^-2 //in meter
R1 = 15*10^-2 //in meter
uo = 4*%pi*10^-7
//Sample Problem 31-9
printf("**Sample Problem 31-9**\n")
//let's assume
i = 1 //in amp
B1 = uo*N1*i/(2*R1)
phi2 = B1*%pi*R2^2*N2
M = phi2/i
printf("The mutual inductance of the two coil is equ... |
62c4da1ff8642978f001439c694f9d5e9e611caf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH3/EX3.20/example3_20.sce | f8659085d28932d25204a0e99236e830d6d7a51a | [] | 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 | 723 | sce | example3_20.sce | //example3.20
clc
disp("150 kVA, P_i=1.4 kW, P_cu(FL)=1.6 kW")
k=150*sqrt(1.4/1.6)
format(9)
disp(k,"a) kVA for eta_max = kVA*sqrt(P_i/P_cu(FL))= ")
disp("For maximum efficieny, P_cu=P_i=1.4kW and cos(phi)=1")
disp("Therefore, %eta_max=(VA for eta_max *cos(phi))/(VA for eta_max*cos(phi)+2P_i *100")
n=(140.3121*... |
9103d847aa14fb37e425a00a02c9c539e74295ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH9/EX9.15/ex9_15.sce | aaea45d62bcb6035cc909e1c9bfbfd9337240d56 | [] | 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 | 378 | sce | ex9_15.sce | // Exa 9.15
clc;
clear;
close;
format('v',6)
// Given data
Rating = 8*10^3;// in VA
phi= acosd(0.8);// in °
V1 = 400;// in V
V2 = 100;// in V
f = 50;// in Hz
Pi = 60;// in W
Wo = Pi;// in W
Pcu = 100;// in W
// The full load efficiency
Eta_f1 = ((Rating*cosd(phi))/((Rating*cosd(phi)) + Pi + Pcu))*100;//... |
d6258cf4107db01390f0e242609cf93626f41391 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH3/EX3.1/Example_3_1.sce | e866b59ff494a55f92b3bcbfb6b8a47184dbe365 | [] | 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 | 376 | sce | Example_3_1.sce | //Caption: Program to determine the Arithmetic Mean
//Example 3.1
//Page 40
clc;
x = input('Monthly Salaries of Employees');
n = length(x); //Number of Observations
X = sum(x)/n;
disp(X,'Arithmetic mean of salaries of the employees =')
//Result
//Monthly Salaries of Employees [12000,14500,8500,13500,13500,17500,11500];... |
40beef1466eb08c6a2f7a721af43ea3beb0c0589 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH7/EX7.2/7_2.sci | 1479df6241196a677c9a7376d4373677bca321b0 | [] | 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 | 295 | sci | 7_2.sci | //Inverter Circuits//
//Example 7.2//
C=1*10^-6;//Capacitance of series inverter circuit in Farads//
f=5*10^3;//operating Frequency of series Inverter in Hertz//
L=1/(C*(f^2));//value of Inductance under Resonance condition in Henry//
printf('value of Inductance at resonance=L=%fHenry',L); |
9912eb246b7b0263422aba7e55b72274085159de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH5/EX5.11/Ex5_11.sce | 42acb405c6630354c15d19d34ed4f46a32326d02 | [] | 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,137 | sce | Ex5_11.sce | clear;
clc;
disp('Example 5.11');
// aim : To determine the
// (a) original and final volume of the gas
// (b) final pressure of the gas
// (c) final temperature of the gas
// Given values
m = .675;// mass of the gas,[kg]
P1 = 1.4;// original pressure,[MN/m^2]
T1 = 273+280;// original temperature,... |
96f03f73067583f84b1602a1cbb5471e24efc406 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH9/EX9.1/Example9_1.sce | 1739215658d011d65b47b5034a88ced562d51f2f | [] | 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 | 796 | sce | Example9_1.sce | clear;
clc;
//Caption:To find Q point
//Given Data
Vcc=22.5//in V
Rc=5.6;//in K
Re=1;//in K
R2=10;//in K
R1=90;//in K
B=55;//beta
V=(R2*Vcc)/(R2+R1);//Thevenin Equivallent Voltage
Rb=(R2*R1)/(R2+R1);//Thevenin Equivallent Resistance
disp('Volts',V,'The equivallent Vbb =');
disp('ohm',Rb,'The equivall... |
8d0df112bb21a031208776fafc37e68521a11a2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH3/EX3.12/Ex3_12.sce | 7b94e8c0134cc0bc15ece53932a3aabdac5c95a6 | [] | 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 | 687 | sce | Ex3_12.sce | // exa 3.12 Pg 72
clc;clear;close;
// Given Data
sigma_w=60;// MPa
F=10;// kN
alfa=30;// degree
FH=F*sind(alfa);// kN
FV=F*cosd(alfa);// kN
t=poly(0,'t');// mm
A=t*t;// mm.sq.
sigma_d=FV*10**3/A
M=FV*10**3*120+FH*10**3*150;// N.mm
I=t*(2*t)**3/12;// mm^4
sigma_t=M*t/I;// N/mm.sq.
// Tensile stress at A=sigma_d+sigma... |
b82ca2e7f6baf778b6f630abf81a474f9e2c6660 | 567cea2cb660fcde8ef1be76f83726e67ebb0c23 | /homework5/TestSortedCollection.tst | c07d686eb1e8166f8e0233f834fee7f1065fd854 | [] | no_license | vw0389/cs351 | 3fdd0c276c851a0854e47eecb26470e7034b7b02 | c5655dc713d0f8a6f325d106e602729662fbfda6 | refs/heads/main | 2023-08-16T18:41:17.515448 | 2021-09-27T20:13:39 | 2021-09-27T20:13:39 | 408,193,869 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | tst | TestSortedCollection.tst | 2127135785=0
978402736="Jingyuan"
1180449268="Omar"
27322186="The Harrowing of Hell"
319044975="The Desperate Man"
105019561=true
1866459795="Jingyuan"
988370360="Omar"
1076862205="Potsdamer Platz"
29737522="Fitz"
570352297=2
353461707="Jingyuan"
840018027=true
1300594462="Jingyuan"
948989387="Bobby"
|
d9fbddc224e21b30e27ec886063fe8a6cbd4581c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH6/EX6.6/6_6.sce | 7fbc750c1fe850f7ba6dd5c4bf671a04b02c4fcb | [] | 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 | 442 | sce | 6_6.sce | clc
//initialisation of variables
p=9.5//lb
p1=120//lb
e=0.88//in
p2=80//lb/in^2
d=25//in
d1=0.125//in
t=14//degree C
T=e*19//C.H.U/lb
D=0.975//in
V=sqrt(2*32.2*1400*T)//ft/sec
S=5.467//ft^3
//CALCULATIONS
V1=p*S*D//ft^3
T1=(V1*144/V)//in^2
C=25*%pi//in
N=C/2.5//in
P=C/31//in
W=d1/sind(t)//in
L=P-W/... |
0d9c876e24b494ca85c4012a8830829a6a7835e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH15/EX15.7/116ex2.sce | 69fc889841cc8c7ebce7c6bb044c58ab0884e465 | [] | 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 | 196 | sce | 116ex2.sce |
//3/(a-b)-(2a+b)/(a^2-b^2)
clear;
clc;
close;
mprintf("\n on factorizing, the expression becomes \n");
//3/(a-b)-(2a+b)/(a+b)(a-b) => (3a+3b-2a-b)/(a+b)(a-b)
string('(a+2b)/((a+b)(a-b))')
|
a74b68eb80b98834b3385c4b6e4a7d9c78794804 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH2/EX2.4/Ex2_4.sce | 2a8f3fa43bf838158670892692175ce2a0ad5dd6 | [] | 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 | Ex2_4.sce | clear
p_app = 3 //kips - applied force
P_A = 2.23 //kips
p_B = -2.83 //kips - compressive force
l_ab = 6.71 //inch
l_bc = 8.29 //inch
s_ab = 17.8 //ksi - tensile stress
s_bc = -12.9 //ksi - compressive stress
E = 10.6 * (10**3) //ksi -youngs modulus
e_ab = s_ab*l_ab/E //elongation
e_bc = s_bc*l_bc/E //contraction
x = ... |
d967cce7ac403a4173cc24ef7dffd1c9de548ded | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Zaey_Wingman_Short.sce | b279fd7bc7820a136dfa716b7b5f8e1c93930627 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,061 | sce | Zaey_Wingman_Short.sce | Name=Zaey_Wingman_Short
PlayerCharacters=Training Apex Zaey
BotCharacters=Apex 200hp dodge hard.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Training Apex Zaey
AddedBots=Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
Pla... |
c2367594f93e7ef39ddbb896a74d986acfe0fae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.2/example13_2.sce | 2240042696102f42ad3f6805c0080b4d8a8908db | [] | 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 | 442 | sce | example13_2.sce | clear;
clc;
//Example13.2[Fraction of Radiation Leaving through an Opening]
//Given:-
r1=0.1;//Radius of enclosure[m]
L=0.1;//Length of Enclosure[m]
r2=0.05,r3=0.08;//Inner and outer radii of the ring[m]
//Solution:-
//Using Chart in Fig 13.7
F12=0.11;
F13=0.28;
F1_ring=F13-F12;
disp(F1_ring,"The fraction... |
6399a70dfddf2ed918762a0cb619c7d8f7047e52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH1/EX1.7/Ex1_7.sce | 2c8a1f3b982822afc086ed8e266caff0980bd067 | [] | 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 | Ex1_7.sce | clc;
clear;
R=8 //resistance in ohm
L=0.03 //inductance in H
V=240 //voltage in Volts
f=50 //frequency in Hz
reactance_RLC=9.42 //reactance of total RLC circuit in ohm in case(2)
//calculation
//for (1)
X_L=2*%pi*f*L // inductive reactance in ohm
Z=sqrt(R^2+X_L^2) //in ohm
I=V/Z
P=I^2*R
pf=R/Z
//for ... |
2b83b8c183c0e9175745e45bf405b42298cf615e | ec117c3067c517791d2aa16938bdbe68ccc4222f | /Reconstruction_surface/Tp2/crust.sce | b3ef979916c3a29c277613416e79434288736edf | [] | no_license | Mric26/M2-S1 | e870849816b2a7945b4017bb2defaf4d772835f6 | bf9acf69e3a2a8abb3fbbe140021c8971cace9b9 | refs/heads/master | 2016-08-12T16:29:55.570039 | 2016-03-31T10:28:47 | 2016-03-31T10:28:47 | 43,129,610 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,067 | sce | crust.sce | function Crust(S)
// **** A MODIFIER/COMPLETER ****
// R should contain a list of pair of indices connecting the initial points in S
// for instance:
// R = [R ; [1,2]] adds the edge connecting points 1 and 2 in the array R
R = [];
// Triangle de Delaunay sur les sommets initiaux
[T,C,r] = delaunay(S)... |
a27a0e804aab4abebe91296d78d7697c6f4c7ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH1/EX1.4/Ex1_4.sce | 6c2d8da467d63de3178b346ce41ba34ad2a6a7df | [] | 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 | 733 | sce | Ex1_4.sce | //Ex-1.4
clc
q=1.6*10^(-19)
disp("q = "+string(q)+"coulomb") //charge on an electron
I=10
disp("I = "+string(I)+"Ampere") //initializing value of current
r=64.25
disp("radius,r = "+string(r)+" mils")//initializing value of radius of wire
function[metres]=mils2metres(mils)
metres=(mils*2.54)/(1000*100)
endfunc... |
8b16e97352cb0165d29a601a3d5f79022a82fd52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH3/EX3.7/Ex3_7.sce | 3672376faf4457a5b761fc7834cce1a49b6ceb9a | [] | 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 | 947 | sce | Ex3_7.sce | clc;
//page 185
//problem 3.7
//Given input inmedance of matching networkis R1 = 10 ohm & output impedance of matching networ is R2 = 50 ohm & carrier frequency is fc = 500 KHz
R1 = 10
R2 = 50
fc = 500000
//Wc = 2*pi*fc
Wc = 2*%pi*fc
//AS R1 = R2*(X2^2)/[(R2^2)+(X2^2)], X2 = 25ohm
X2 = 25
//AS X1 = (... |
d582331bc9a8f4faf662327d9dfa850f4f5ba344 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.14/Ex2_14.sce | 22c221a9b9474b92a9fad19e80a03aaa3820b029 | [] | 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 | 509 | sce | Ex2_14.sce | clear
//
//
//
//Variable declaration
N=6000*10**2 //number of lines/m
m=3 //order
lamda1=500*10**-9 //wavelength(m)
lamda2=510*10**-9 //wavelength(m)
//Calculation
sintheta1=m*N*lamda1
theta1=asin(sintheta1)*180/%pi //angle(degrees)
sintheta2=m*N*lamda2
theta2=asi... |
991adaf84be1fb98830db2226e077c3955821e3d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.15_3.tst | 4c99734153d445594326ce16fd6ddf1a4bb7a4e7 | [] | 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 | 4,620 | tst | bow.15_3.tst | 15 4:1.0 14:0.07547169811320754 20:1.0 31:1.0 39:1.0 50:2.0 64:0.2857142857142857 125:1.0 126:1.0 230:1.0 450:1.0 553:1.0
15 4:1.0 13:0.058823529411764705 16:0.25 119:1.0 133:1.0 169:0.5 369:1.0 1220:1.0 1316:1.0 1319:1.0 1371:1.0
15 4:3.0 5:0.2857142857142857 13:0.058823529411764705 17:0.09523809523809523 20:4.0 22:0.... |
03e644e17d57f8d4ddac0c2a8adddeafded8f0e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH11/EX11.12/11_12.sce | 06cd452c3ef63d78c0757cc42c0e260cdf24911c | [] | 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 | 741 | sce | 11_12.sce | clear;
clc;
close;
disp("Example 11.12")
Tg=2750 //in K
Ttg=Tg
Tc=300 // coolant bulk temp. in K
tw=0.002 //Wall thickness in m
kw=43 //thermal conductivity of the wall in W/m.C
hg=657 //Gas side film coefficient in W/m^2K
hc=26000 //Coolant side film coefficient in W/m^2K
eg=0.05 //emissivity of the gas
s... |
0d08ad5db9d3e1a99552b0678f555e0f3e58a4b9 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160304_mismatchmap/data_20160513/graph.sce | 10250b4c352a8e1eee575b2dd1d1200365236470 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,574 | sce | graph.sce | Vto_mismatch_data1=csvRead('Vto_mismatch_data_CAB_10_1_row0_27_vdd_in12_before');
Vto_mismatch_data2=csvRead('Vto_mismatch_data_CAB_10_1_row0_27_vdd_in12_after');
histogram_edges = -0.05:0.0005:0.05;
scf(1);clf(1);
histo(Vto_mismatch_data1(:,3),histogram_edges);p = get("hdl"); p.children.thickness = 3; p.children.line_... |
6acf7ee0fb3e4ae823934098a2b03e6932ebf521 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH6/EX6.21/6_21.sce | 56258948c0bb8ca5d186b4aa184f1285694db9a6 | [] | 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 | 6_21.sce | clear;
clc;
Ymin=18*(10^-2);S=2.5;dmin=20*(10^-2);l=52*(10^-2);Zo=300;
//dmin=distance betweeen adjacent voltage minimas
ampK=round(((S-1)/(S+1))*100)/100;
ZR=fix(Zo*(1+ampK)/(1-ampK));
printf("Input impedance = %f ohms\n",ZR);
lo=2*dmin; //lo=wavelength
b=(2*%pi)/lo;
phi=(2*b*Ymin)-%pi;
theta=-fix((phi-(2*b*... |
e34d9e3f279077ee4bcc2ebe03f3e1c741b5cd71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH12/EX12.17/12_17.sce | 1f5cc99d922be34911f3bc90f12c5e5221314a9f | [] | 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 | 267 | sce | 12_17.sce | clear;
clc;
f=5*(10^6);C=400*(10^-12);R=10*(10^3);
w=2*%pi*f;
L=2/(w*w*C);
r=1/(w*w*C*C*R);
printf("-Effective resistance of the coil = %f ohms\n",round(r*100)/100);
printf("-Inductance of effective resistance of the coil = %f mH",round(L*(10^3)*1000)/1000);
|
800abef1a719e9ae91df050270aef41d04deeccd | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.48/ex48.sce | 9b67239b2359add6f636f8350f94d89dc695292c | [] | 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 | 119 | sce | ex48.sce | clear
clc
A=[-1 2 -2;1 2 1;-1 -1 0]
disp("R is matrix of transformation and D is a diagonal matrix ")
[R D]=spec(A) |
a0d138b7b52bc54cf5cbae57e0327da3d5d70cb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH4/EX4.26/Chapter4_Example26.sce | 6fdb743553400cdacdfda44f78b7bc8f57e11b68 | [] | 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,013 | sce | Chapter4_Example26.sce | clc
clear
//INPUT
a1=0*10^-4;//first horizontal displacement in cm
a2=5.6*10^-4;//second horizontal displacement in cm
a3=-4.7*10^-4;//third horzontal displacement in cm
a4=-10.8*10^-4;//fourth horizontal displacement in cm
a5=6.6*10^-4;//fifth horizontal displacement displacement in cm
a6=-9.8*10^-4;//sixth ... |
8a66da0c28ceba9cca7639a78b9d2592d29efbbe | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/erosionBinaire.sci | b83bfe5de265f2acea3c0740840958e4f8d957e2 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 969 | sci | erosionBinaire.sci | //Dilatation
function image_out=erosionBinaire(image, calque, centerX, centerY)
image1 = inversionCouleurs(image);
SizeCalcX = size(calque, 1);
SizeCalcY = size(calque, 2);
calque2 = zeros(SizeCalcX, SizeCalcY);
//Application de l'effet Miroir à l'aide de boucle for
for... |
eead1c91bb5b9e0cb7ccb95858ed2ceb546ba742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH4/EX4.7/4_7.sce | 6956c8edee833c67d9f8229fb475aeb34dda2ef5 | [] | 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 | 514 | sce | 4_7.sce | clear//
//Variables
R2 = 100 //Resistance R2 (in ohm)
I = 0.3 //Current (in Ampere)
VT = 120 //Voltage (in volts)
//Calculation
RT = VT / I //Total Resistance (in ohm)
R1 = RT - R2 //Resistance R1 (in ohm)
P1 = I**2 * R1 //Power dissipate... |
fbf0c77f27fa33d05c1ed37b89b16258cb72a71a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/percent/%lsslr.sci | a0f54a49b99a0d6bf5f7f72999a5da1c6aaef9f3 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 66 | sci | %lsslr.sci | //<s>=%lsslr(s1,s2)
//
//!
[s1,s2]=sysconv(s1,s2)
s=s1\s2
//end
|
00a3e14ace8229b70e090aa184bc86e00433400d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH4/EX4.6/ex4_6.sce | 5162227f2388ff6b5e1cb630029acbe45c9398c4 | [] | 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 | 413 | sce | ex4_6.sce | // Example 4.6
format('v',5)
clc;
clear;
close;
// given data
Vdc= 56.6;// in V
R_L= 100;// in Ω
f=120;// in Hz
C= 1000;// in µF
C= C*10^-6;// in F
V2peak= Vdc;// in V
Idc= Vdc/R_L;// in A
// The peak-to-peak ripple
Vrip= Idc/(f*C);// in V
// The dc load voltage
Vdc= V2peak-Vrip/2;// in V
disp(Vrip,"... |
06dedd5e566d5972a0db30356f0db6ee6a7bd905 | a044468ecc65367fef49fcb9aa60f126406da134 | /Planetory.sce | 95fff13b381dac554328263c18d71498f437957b | [] | no_license | Altreon/Planetory | 0680b9570e3d48bb64342ca3671ed569d062b32b | 034a39415bd12b65ac018eff4df65396cfd4fdd7 | refs/heads/master | 2020-04-17T15:16:06.832782 | 2019-01-22T13:57:16 | 2019-01-22T13:57:16 | 166,691,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,569 | sce | Planetory.sce | clear()
// Le but de ce script est de simuler le sysTtème solaire (et dans un premier
// temps, la rotation de la terre autour du soleil). La structure initiale
// est la même que le projet précédent avec le billard.
//Définition des variables utilisé dans tout le programme
G = 6.67408e-11 // La constante de gravitT... |
5302625924f2f1533961e2f4a6cc20bef5f44f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /728/CH7/EX7.4/Ex7_4.sce | cf0c5872d34b2523789aba27247015a60dfa08fe | [] | 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 | 229 | sce | Ex7_4.sce | //Caption:Calculate the value of reflected power
//Exa:7.4
clc;
clear;
close;
//Given:
P_i=4.5;//in mW
S=2;//VSWR
C=30;//in dB
p=(S-1)/(S+1);
P_f=P_i/(10^(C/10));
P_r=p^2*P_i;
disp(P_r,'Reflected power (in watts) ='); |
79603d30589399c3c3fce4f33a2a09a52b1b8920 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH19/EX19.1/F_1.sce | e68dbad7aa8e5a3387766ae6251e4321da6a36c0 | [] | 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 | 845 | sce | F_1.sce | // sum 19-1
clc;
clear;
R=1200;
b=300;
t=150;
N=500;
m=7100*10^-9*b*t;
Ar=b*t;
Aa=Ar/4;
C=(20280/t^2)+0.957+(Ar/Aa);
w=2*%pi*N/60;
V=w*R*10^-3;
siga=2*10^3*m*V^2/(C*Aa*3);
theta=30*%pi/180;
alpha=30*%pi/180;
x1=10^3*m*(V^2)/(b*t);
y1=cos(theta)/(3*C*sin(alpha));
z1=2000*R*10^-3/(C*t)*((1/alpha)-(cos(t... |
d6352569f8bd344d2e73695d74468932b53b5928 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Engineering_U._A._Bakshi_And_V._U._Bakshi_1370.zip/Electrical_And_Electronic_Engineering_U._A._Bakshi_And_V._U._Bakshi_1370/CH1/EX1.18/chapter1_18.sce | 19a1942e93b2ef96d05a2623f5097af6e3e43f3f | [] | 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 | 260 | sce | chapter1_18.sce | errcatch(-1,"stop");mode(2);//example1.18
disp("Rearrange the circuit as shown below.")
disp("The 3.333ohm and 3.6ohm resistors are in series in fig 1.87(c).")
r=3.333+3.6
format(8)
disp(r,"Therefore, the equivalent resistance R_yz(in ohm)=")
exit();
|
9b5668a741d296eb1467da1393a10835102c88a8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/macros/calpol/r2l.sci | c0e0eaf0ffcd3648a721fe37e10ec6c4b2cc3ad2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 2,095 | sci | r2l.sci | function [Es] = r2l(Fs)
//Kwakernaak's r2l : a left kernel to Fs
[F,degF]=pol2mat(Fs);
[rF,cF] = size(Fs);
if cF > rF then
error('r2l: Input has more columns than rows');
end
[roF,coF] = size(F);
to = 1e-6; // tolerance
// INITIALIZE
rs = coF;
SS = [];
rowsS = 0;
normF = norm(F,'inf');
j = 0; ... |
3d26087950ed70e7a66ba2aaefdf35dd6900d1dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.20/example14_20.sce | 040ad535e96b63678d2584f46f216a9ee72c4497 | [] | 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 | 696 | sce | example14_20.sce | clc
// Given that
k = 4 // maximum kinetic energy of electron in eV
w = 2.2 // work function of sodium in eV
h = 6.62e-34 // Planck constant in J-sec
c = 3e8 // speed of light in m/sec
e = 1.6e-19 // charge on an electron in C
// Sample Problem 20 on page no. 14.27
printf("\n # PROBLEM 20 # \n")
printf("Standard formu... |
3e4100fda8b5d6a59df5aa41a8d975a8d61268d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH3/EX3.2/ex3_2.sce | e1d02d78e37a8576bd25d76742d12c418ad2a34a | [] | 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 | 867 | sce | ex3_2.sce | // Exa 3.2
clc;
clear;
close;
// Given data
P = 350;// in kN/m^2
P = P * 10^3;// in N/m^2
m = 1;// in kg
m = m * 10^3;// in gram
V = 0.35;// in m^3
C_p = 1.005;// in kJ/kg-K
C_v = 0.710;// in kJ/kg-K
R = C_p - C_v;// in kJ/kg-K
T = (P*V)/(m*R);// in K
T = T - 273;// in degree C
disp(T,"The intial tempera... |
4c6be5ca79e4bfe30201ce40d00fe86840b8ffc1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH2/EX2.22/Ex2_22.sce | b8f4fbf77f9ad555d06cc3ad3377099ca270be78 | [] | 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 | 317 | sce | Ex2_22.sce | clear
//
//
//
//Variable declaration
x=4.2*10**-3 //distance(m)
D=60*10**-2 //screen slit distance(m)
lamda=6000*10**-10 //wavelength(m)
//Calculation
d=D*lamda/x //slit width(m)
//Result
printf("\n slit width is %0.3f *10**-4 m",d*10**4)
|
c3dd70b1f35bf569beb1df66dfaa1ca783f7df87 | 717ddeb7e700373742c617a95e25a2376565112c | /1445/CH8/EX8.18/Ex8_18.sce | 10b37b947dca4cb07716dda29a7dd6945e1f416a | [] | 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 | 948 | sce | Ex8_18.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 18
disp("CHAPTER 8");
disp("EXAMPLE 18");
//460 V 10 HP motor
//VARIABLE INITIALIZATION
v_t=460; //in Volts
p_o=10*736; //in Watts (1 metric H.P=735.5 W)
ratio=85/100; //as given in the question
eff=84/100; ... |
ccc825e00815dc05b01ed981ffd967920394408e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.10/Example4_10.sce | 7565c4c71db20acd40b82ef6020e2fde904d80e3 | [] | 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 | 550 | sce | Example4_10.sce | //Example 4.10
clc
fs=(1/(2*%pi*sqrt(0.4*0.085*10^-12)))*10^-6 // in MHz
format(6)
disp(fs,"(i) f_s(in MHz) = 1 / 2*pi*sqrt(L*C) =")
ceq=0.085/1.085 // in pF
disp(ceq,"(ii) C_eq(in pF) = C*C_M / C+C_M =")
fp=(1/(2*%pi*sqrt(0.4*0.078*10^-12)))*10^-6 // in MHz (the answer in textbook is wrong)
disp(fp,"Ther... |
e3d408a8e9a8df69f9b4c1dbb44b2be32efb403e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.20/Ex4_20.sce | 5d462a526dcc2913162eb8710e64723dd8adce0f | [] | 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 | 406 | sce | Ex4_20.sce | clc;
clear;
R=100 //radius of curvature in cm
D_5=0.3 //diameter of the 5th dark ring in cm
D_25=0.8 //diameter of the 25th dark ring in cm
n5=5 //fifth dark ring
n25=25 //twenty fifth ring
//calculation
p = n25 - n5 //difference in no of fringes
lambda=((D_25^2)-(D_5^2))/(4*p*R)
mprintf("The wavelength o... |
93e49568f7045b0ad7259743758db94f7e374242 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.20.a/data7_20.sci | 104c281667974ca92953e5f09ceb71b96ac557fa | [] | 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 | 949 | sci | data7_20.sci |
//(Threaded Joints) Example 7.20
//Number of bolts N
N = 2
//Engine speed n (rpm)
n = 2000
//Length of stroke l (mm)
l = 100
//Length of connecting rod c (mm)
c = 200
//Mass of reciprocating parts m (kg)
m = 5
//Overload percentage load (%)
load = 50
//Assume the stiffness of the bolts to be 1N/mm kb
kb... |
24d5021347f457868e5e2a886b73001229acb04d | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/AnalogRegulators/typeII.sci | 164f3c877fb5a629490488497261205e184e62d0 | [] | 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 | 1,190 | sci | typeII.sci | function [regulator,fz1,fp1,fp0]= typeII(plant,fc,pm)
//Function to calculate the Type II (Integrator, zero, pole) that can provide the phase margin (pm) at the desired crossover frequecncy(fc))
//Definition of the Laplace variable
s=poly(0,'s');
//Get the plant mag and phase response at fc
... |
275ea4dfc0ef80b4f007a1b221fdaff1d065c8d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH10/EX10.14/Ex10_14.sce | d3a431797f035d26e7686edfca9eed704d6eb13a | [] | 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 | 472 | sce | Ex10_14.sce | // Example 10_14
clc;funcprot(0);
// Given data
T_L=20+273.15;// K
T_0=T_L;// K
T_H=35.0+273.15;// K
COP_act=8.92;// Actual Coefficient of Performance
// Calculation
COP_Carnot=T_L/(T_H-T_L);// The coefficient of performance of a Carnot refrigerator or air conditioner
epsilon_RAC=(COP_act/COP_Carnot)*100;//... |
81ef727ffd12085e6902e8cd615f6350e9e2316a | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cummin/cummin15.sce | 995f6bef4dd52d773cc33519726f10296d2782e6 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | cummin15.sce | A = cat(3,[1 2; 3 4],[9 10; 11 12],[5 6; 7 8]);
M = cummin(A,3,'reverse');
//output
//-->M(:,:,1)
// ans =
//
// 1. 2.
// 3. 4.
//
//-->M(:,:,2)
// ans =
//
// 5. 6.
// 7. 8.
//
//-->M(:,:,3)
// ans =
//
// 5. 6.
// 7. 8.
//
|
67637c721b79787f59d0f78b37d0e42fbe1161bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.31/Ex2_31.sce | 6ebcda8feebc1443888004b44754f3f1a6818585 | [] | 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 | 187 | sce | Ex2_31.sce | //Ex:2.31
clc;
clear;
close;
L1=60;//in mH
L2=60;//in mH
L_a=L1+L2;
L3=120;//in mH
L_b=L_a*L3/(L_a+L3);
L4=50;//in mH
L_eq=L4+L_b;
printf("Equivalent Inductance = %d mH",L_eq); |
069db3b258a29d5ded8d897b53f8ea170a633594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH6/EX6.1/6_1.sce | bb99d1a93bd31c7bc340790378a3358677dec16f | [] | 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 | 544 | sce | 6_1.sce | clc
//initialisation of variables
u1= 1111.9 //Btu/lb
p= 170 //psia
v1= 2.675 //cu ft/lb
V1= 6000 //ft/min
g0= 32.2 //ft/sec^2
g= 32.2 //ft/sec^2
z= 10 //ft
Q= 1000//Btu/hr
u2= 914.6 //Btu/lb
p1= 3 //psia
v2= 100.9 //cu ft/lb
V2= 300 //ft/sec
g0= 32.2 //ft/sec^2
g= 32.2 //ft/sec^2
z1= 0 //ft
//CALCULAT... |
4ab48d6512be9ee20694740a8604d40d61c4e7f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH5/EX5.2/ex5_2.sce | 07c33c6af383fb4a9ca5460ded1abaf3332c77a5 | [] | 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,195 | sce | ex5_2.sce | //Chapter-5, Example 5.2, Page 157
//=============================================================================
clc
clear
function [polar] = r2p(x,y)//function to convert rectangular to polar
polar = ones(1,2)
polar(1) = sqrt ((x ^2) +(y^2))
polar(2) = atan (y/x)
polar(2) =(polar (2)*180)/%pi
endfunct... |
eed2efad8767e6636dbfa3b5f69c3c3d02aa414e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH4/EX4.22/Ex_4_22.sce | 1b96d1092c60a64583c6c47c156528f55b595fae | [] | 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 | 572 | sce | Ex_4_22.sce | // Example 4.22;//TOTAL RMS Pulse broadning
clc;
clear;
close;
M=30;//dispersion parametr picosecond per nano meter per kilometer
Sa=25;//spectral width in nm
NA=0.4;//nUMERICAL aPERTURE
n1=1.48;// Core refractibve index
n2=1.47;//cleadding refrative index
C=2.998*10^8;//Speed of light in m/s
d=n1-n2;
L=1;/... |
036ea7456e13eed1560da57bf1752895d1dd863b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH4/EX4.2/Ex4_2.sce | d36c68c631fa938d677207aa34ebb1d750d155bf | [] | 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 | 154 | sce | Ex4_2.sce | //Example 4.2, page 107
clc
disp('Part a')
N=10^4//in rad, Number of atoms tarversed
theta=(2*10^-2)/sqrt(N)
printf("\n Average deflection %e rad ",theta) |
d4faad6036d8f8d4294ce2b33858992b6086dc7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH22/EX22.13/22_13.sce | 0e987a09ff880f2cd9f287bd8b5a6228ba459e93 | [] | 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 | 733 | sce | 22_13.sce | clear//
//Variables
VCC = 10.0 //Source voltage (in volts)
RC = 2.0 * 10**3 //Collector resistance (in ohm)
RB = 100.0 * 10**3 //Base Resistance (in ohm)
beta = 50.0 //Common-Emitter current gain
VBE = 0.7 //E... |
d5b72b61cfa49406cc6e4b0bb456f118445e927a | 717ddeb7e700373742c617a95e25a2376565112c | /479/CH3/EX3.4/Example_3_4.sce | 497c963a7a4c32d21c87642fef379e87ab99482e | [] | 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 | 746 | sce | Example_3_4.sce | //Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics
//Example 3.4
clear;
clc;
//Given
W = 0;//work done during the process
P1 = 1;//Initial pressure in atm
P2 = 10;//Final pressure in atm
V2 = V1;//Initial & final volume are equal
Cv = 0.23//specific heat at constant volume in... |
e0131cb68cc697dd49fe1d00d5fe84b87b0fcfd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.47/47.sce | 5baf3735a51c7902084a2f75d78f8f83987b981f | [] | 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 | 265 | sce | 47.sce | clc
m1=3; //kg
m2=4; //kg
T0=273; //K
T1=80+273; //K
T2=15+273; //K
c_pw=4.187; //kJ/kgK
tm=(m1*T1 + m2*T2)/(m1+m2);
Si=m1*c_pw*log(T1/T0) + m2*c_pw*log(T2/T0);
Sf=(m1+m2)*c_pw*log(tm/T0);
dS=Sf-Si;
disp("Net change in entropy =")
disp(dS)
disp("kJ/K") |
e8c995b69cdc77e15268cf1733211f5f60f1e223 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH17/EX17.23/Ex17_23.sce | 5769fad12255c7046041ca8c975e86d0d8d71dda | [] | 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 | 408 | sce | Ex17_23.sce | //Initilization of variables
m=90 //kg
k=450 //N/m
lo=0.6 //m
r=0.15 //m
x=0.9 //m
y=0.4 //m
//Calculations
//Initial KE=0
I=0.5*m*r^2 //kg.m^2
s1=sqrt((lo^2)+(x^2)) //m
s2=sqrt((lo^2)+(y^2)) //m
V1=0.5*k*(s1-lo)^2 //N.m
V2=0.5*k*(s2-lo)^2 //N.m
//Applying Conservation of Energy
w=sqrt((V1-V2)/(0.5*m*r^... |
8bc53fd8287190a2227047bb3fbdecb366214488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH2/EX2.6/Ex2_6.sce | 5103755115916b6cae5875a1d4d6f98e40885de8 | [] | 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 | 948 | sce | Ex2_6.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 2 : BESICS OF MAGNETIC CIRCUITS
// Example : 2.6
clc;clear; // clears the console and command history
// Given data
N = 200 // number of turns
d_in = 7 // inner diameter of wooden toro... |
52970f1d511fdfd5c65fa478a069d1a0b8087ef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH57/EX57.05/57_05.sce | 22a52a06e9ade8ccb3d514a46bb29d45defcf680 | [] | 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 | 102 | sce | 57_05.sce | clear;
clc;
x=.05;
vs=1;
vr=1;
p=10;
d=asind(p*x);
mprintf("the power angle=/_%d degrees",d);
|
e22bbdff5759c3fdde6ad183028f189011d45a01 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH2/EX2.13/Ex2_13.sce | 0819a28a9b68bb14ffbde056c52fe36ae1864fb3 | [] | 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 | 223 | sce | Ex2_13.sce | errcatch(-1,"stop");mode(2);//Example 2_13
;
;
//deduce the missing order of a double slit
a=0.16*10^-3 //units in m
b=0.8*10^-3 //units in m
n_p=(a+b)/a
for j=1:3
printf("For p=%d n=%d\n",j,j*n_p);
end
exit();
|
92d2d56b09ff21fb2bd2f58acda5487e15afc338 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/yulewalker.sci | 22fbd778b40c68db343b4003d52b06ae39116d5a | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,309 | sci | yulewalker.sci | // Copyright (C) 2018 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
bac5d1ca03af97b64ae94b2905a2a9c77e5e2292 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH6/EX6.6/Example6_6.sce | afd0d399713d6d31d7b7671aeb6c8b3b3caee6e9 | [] | 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 | 481 | sce | Example6_6.sce | //Example 6.6
clc;
clear;
close;
format('v',7);
//Given data :
g=9.81;//constant
a=9*10^-4;//m^2
H=3;//meter
x=2.5;//meter
y=54/100;//meter
Qactual=250*10^-3/60;//Cumec
Qth=a*sqrt(2*g*H);//Cumec
Cd=Qactual/Qth;//coeff. of discharge
disp(Cd,"Coefficient of discharge : ");
Cv=sqrt(x^2)/sqrt(4*H*y);//veloci... |
d6d1013d9c55d5270eb551e2b07b374e46fabe58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH12/EX12.3/12_3.sce | 600e8ebbab04855e2b5c552b40952c5c8778a182 | [] | 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 | 437 | sce | 12_3.sce | //Eg-12.3
//pg-511
clear
clc
x = 1;
h1 = 0.1;
h2 = h1/2;
deff('out = func(in)','out = exp(in)')
//Using central difference formula
Dh1 = (func(x+h1)-func(x-h1))/(2*h1);
Dh2 = (func(x+h2)-func(x-h2))/(2*h2);
//Using equation [16],
Dnew = 4/3*Dh2 - 1/3*Dh1;
printf('The value of the derivati... |
923694a6add83eb4e39c802b21abe73e8202c60d | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH23/EX23.9/Example23_9.sce | fb391be380d14a6c0d282e42e1882c1ef25358f8 | [] | 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 | 993 | sce | Example23_9.sce | clear ;
clc;
// Example 23.9
printf('Example 23.9\n\n');
//page no. 704
// Solution
//Given
mv = 1 ;// Mass of saturated vapour - [lb]
P1 = 2 ;// Initial pressure -[atm]
P2 = 20 ;// Final pressure -[atm]
// Additional data is obtained from figure 23.6 of the book on page no. 703
H_2 = 179 ;// Specific enthalpy at 2 ... |
0f7f5bc8024d4a9fba8f78356a87a5c7fdf1ff61 | 717ddeb7e700373742c617a95e25a2376565112c | /632/CH5/EX5.2/example5_2.sce | e630e0e701934e4e2c6a496139f0700b0f660738 | [] | 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 | 169 | sce | example5_2.sce | //clc()
P = 10^7;//Pa;
T = 500;//K
R = 8.314;//Pa * L / mol K
V = N * R * T / ( P * 1000);
disp("m^3",V,"(a)Volume of CO2 calculated using ideal gas equation = ")
|
2f4f26ac3fef56bee5df20bc99e5117e74929450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH1/EX1.1.a/Example1_1_a.sce | 9b43b44cc4b61d5ff47871b1caef9cbec17c7ad1 | [] | 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 | 566 | sce | Example1_1_a.sce | //Example 1.1(a)
clear;
clc;
Ri=100*10^3;//Input Resistance
Aoc=100;//Open Circuit Gain
Ro=1;//Output Resistance
Rs=25*10^3;//Source Resistance
RL=3;//Load Resistance
Av=(Ri/(Rs+Ri))*Aoc*(RL/(Ro+RL));//Overall Gain
Vredin=(Ri/(Ri+Rs))*100;//Percentage Reduction in Source Voltage due to Input ... |
2c699a3f2acb9c88d3755fff69207f0817c13c65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH9/EX9.2/Example9_2.sce | edaecbecc99effa661009f971ed31c9c4ec40664 | [] | 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,408 | sce | Example9_2.sce | //Example 9.2.
clc
RC=2*10^3
hie=1300
hre=2*10^-4
hfe=55
hoe=22*10^-6
disp("(i) For RE = 200 ohm,")
format(7)
RE=200
x=hoe*(RE+RC)
disp(x," hoe*(RE + RC) =")
disp("Since hoe*(RE+RC) < 0.1, the approximate model is permissible.")
format(6)
AI=-hfe
disp(" AI = -hfe = -55")
Ri=hie+((1+hfe)*RE)
x... |
ad8a5648c95a678ef76cd6d072587ca2271fc75f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3.1/macros/percent/%pqs.sci | 6ec10aa3b65b9c56983adbb1e15632755aae3c5c | [
"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 | 187 | sci | %pqs.sci | function f=%pqs(p1,p2)
// f=%pqs(p,m) <=> f=p.\m
//!
if size(p1,'*')==1 then
p1=p1*ones(p2)
elseif size(p2,'*')==1 then
p2=p2*ones(p1)
end
f=tlist(['r','num','den','dt'],p2,p1,[])
|
2905ba51eb5d7623f1d333895d5177147b6c3b40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH2/EX2.7/Example2_7.sce | 3aa87d60c3962566a79399e052fdc83a7d79e91b | [] | 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 | 724 | sce | Example2_7.sce | //Example 2.7
//Program to estimate the maximum core diameter of an optical fiber
//which allows single mode operation
clear;
clc ;
close ;
//Given data
alpha=2; //Parabolic Profile
lambda=1.3*10^(-6); //metre - OPERATING WAVELENGTH
n1=1.5; //CORE REFRACTIVE INDEX
delt... |
0db0ca21b9aad3698240b556ee3bc692d60f96cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH4/EX4.4/Ch04Ex4.sce | b40ab8bb67f5f95b6a80f090b74a81a0358a2de7 | [] | 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 | 981 | sce | Ch04Ex4.sce | // Scilab code Ex4.4: Pg 121 (2005)
clc; clear;
// Part (b)
// For easy calculations, assume all variables to be unity
m_p = 1; // Mass of proton, a.m.u
m_a = 4*m_p; // Mass of alpha particle, a.m.u
Valpha = 1; // Velocity of alpha particle before collision, m/s
v_p = (2*m_a*Valpha)/(m_a + m_p); //... |
043a9620ba539e017e4b91a2ded501027087a0cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH7/EX7.27/7_27.sce | 50212b06b2f1f3df97871baad54e67df079cd816 | [] | 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,831 | sce | 7_27.sce | clc
clear
//Input data
F=11;//Fuel used per hour observed during the trial of a single cylinder four stroke diesel engine in kg
mc=85;//Carbon present in the fuel in percent
mh=14;//Hydrogen present in the fuel in percent
mn=1;//Non combustibles present in the fuel in percent
CV=50000;//Calorific value of fuel i... |
26eb57758a538a9d1391ded075ccf8566b45d190 | 08fa003be553d3d594600de9d4278b295f5aa4ae | /src/main/resources/oauth2.properties.tst | 5ec306a4cc94cda87b721a2e391f98292210894a | [] | no_license | rwnevinger/MingleIFS | 4869ef58a6b966e01a24edbb05f0b8b041b0cd16 | 08d309748817adf92037d10adaaef50872fc14c7 | refs/heads/master | 2020-04-29T09:20:21.894049 | 2019-03-24T14:24:09 | 2019-03-24T14:24:09 | 176,020,939 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 646 | tst | oauth2.properties.tst | scope=
grant_type=password_credentials
# ionapi pu attribute
access_token_url=https://mingle-sso.inforcloudsuite.com:443/ONEONCOLOGY_TST/as/token.oauth2
# ionapi ci attribute
client_id=ONEONCOLOGY_TST~ynkZwSoWycgApD0JD12Y4uZ0cdEc0YbJ8-keBxwIru0
# ionapi cs attribute
client_secret=ZTgBqPitkoqNRGk7_9N9TEvMK58l0pcREYaqTA1... |
e089ce7c1b33182f078ebf72254abfff54ce27bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3740/CH8/EX8.6/Ex8_6.sce | 4dd2e813614b23640872427cdfc0f04148a87fad | [] | 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 | 544 | sce | Ex8_6.sce | //Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 8.6
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1.48;//Dimensionless refractive index of fiber core
n2=1.46;//Dimensionless refractive index of fiber cladding
L=1e3;//Length of fiber in m
c=3e8;//... |
564b6b741e491da2b468a9c4afbc0249e526e710 | a6e16f8b4e3e9dfb7a8b6f323b7e35fb82537222 | /Pascal/Matthias Berger/PROFILER/TESTFILE/MENDEL.TST | 16f479d176aeb9598989f986ace2a61d0d03e141 | [] | no_license | pjones1063/Atari_ST_Sources | 59cd4af5968d20eb3bf16836fc460f018aa05e7c | fe7d2d16d3919274547efbd007f5e0ec1557396d | refs/heads/master | 2020-09-04T20:21:44.756895 | 2019-10-30T12:54:05 | 2019-10-30T12:54:05 | 219,878,695 | 2 | 0 | null | 2019-11-06T00:40:39 | 2019-11-06T00:40:39 | null | SHIFT_JIS | Scilab | false | false | 7,920 | tst | MENDEL.TST | { Profiler-Testversion zu G:\PROFILER.SYS\DEMOS.PAS\MENDEL.PAS }
CONST ___ = 46;
___2 =6;
VAR __ : INTEGER ;
VAR _ : ARRAY [1..___] OF REAL ;
VAR _2 : ARRAY [1..___2] OF REAL ;
VAR _h : STRING;
VAR _f : TEXT;
{ 7. Bundeswettbewerb Informatik 1988/1989 }
{ 1. Runde, Aufgabe 5 ; Autor M. Berger }... |
e9a92432d14bb0d2393f0394f9ea6c6953d428af | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.26/Ch01Ex26.sci | e22c6795b35a3bfd0340f49e337a33edcd5f7548 | [] | 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 | sci | Ch01Ex26.sci | // Scilab Code Ex 1.26 Lattice parameter of a cubic crystal: Page-33 (2010)
h = 1; k = 1; l = 1; // Miller Indices for planes in a cubic crystal
d = 2D-10; // Interplanar spacing, m
// For cubic crystals, the interplanar spacing is given by
// d = a/(h^2+k^2+l^2)^1/2;
// Solving for a
a = (h^2+k^2+l^2)^(1/2)*d... |
d7258283384565c58f89decafff3fab0429da06e | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /NZFunctions/Data-Mining/SP_LinRegrSW-NZ-UM-01.tst | ecc3a6a066fbefda29932f9878a3cc2d282c7c3b | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,906 | tst | SP_LinRegrSW-NZ-UM-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2016 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
5e60ef8def1372462af22ae328e0c95c2a6e9d85 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Design_With_Operational_Amplifiers_And_Analog_Integrated_Circuits_S._Franco_929.zip/Design_With_Operational_Amplifiers_And_Analog_Integrated_Circuits_S._Franco_929/CH6/EX6.1.a/Example6_1_a.sce | b5a34e12f1386450901da051c6f0c56e5f640db5 | [] | 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 | 218 | sce | Example6_1_a.sce | errcatch(-1,"stop");mode(2);//Example 6.1(a)
;
;
R1=2*10^3;
R2=18*10^3;
b=0.1;
fb=100*10^3;
emmax=0.01;
fmax=((((1/(1-emmax))^2)-1)*(fb^2))^(1/2);
printf("f<=%.1f kHz",fmax*10^(-3));
exit();
|
750bc24c6b479e8f7d2cd87968554e8ac2a6dfd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3856/CH4/EX4.5/Ex4_5.sce | 032b222db2b8a4b65bd50c8b12532431c4e6bb9f | [] | 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 | 736 | sce | Ex4_5.sce | //Calculate the change in Enternal energy and change in Enthalpy for heating of Xenon
//Example4.5
clc;
clear;
T1=300; //Initial temperature in K
T2=400; //Final temperature in K
m=55.40; //Mass of Xenon in g
M=131.29; //Molecular mass of Xenon
n=m/M; //Number of mole of Xenon in mol
R=... |
42f5e8967c3c6f9e370af0f461b819252349b7d3 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/final/qscatter/v.sce | b357e099c3e11c5d0b87d56203105a6b4c0fbbe8 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 156 | sce | v.sce | function [v]=v(r,sigma,epsilon)
//epsilon=5.9;//meV H-Kr interaction
//sigma=3.57;//Angstrom
v=10*epsilon*( (sigma/r)^12-2*(sigma/r)^6);
endfunction
|
b235cb6d7f35e7d6d2612cc897fdd2124824c26e | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380.zip/Electric_Machinery_And_Transformers_B._S._Guru_And_H._R._Hiziroglu_380/CH12/EX12.2/Ex12_2.sci | 47705a3632cb89ab70df214180c414171e211014 | [] | 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 | 485 | sci | Ex12_2.sci | errcatch(-1,"stop");mode(2);//Caption:Find the magnetic flux
//Exa:12.2
;
;
N_m=1500;//speed of motor (in rpm)
R_a=2;//armature resistance (in ohms)
V_s=100;
P_o=200;//rated power
K_a=85;//machine constant
P_rot=15;//rotational loss
w_m=(2*%pi*N_m)/60;
P_d=P_o+P_rot;//power developed
T_d=P_d/w_m;//torque... |
630693d0b43d7376aa10f01c1dedb631cee6483f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.51/EX5_51.sce | fccc0120237163bc8af2e52c362ae15976652a10 | [] | 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 | EX5_51.sce | //EXAMPLE 5-51 PG NO-338
I=10; //CURRENT
R1=1;
R2=1;
R3=1;
VTH=(I*R1)/(R1+R2+R3);
RTH=(R1*(R1+R2))/(R1+R2+R3);
P=(VTH/(RTH+RTH))^2*(RTH);
disp('i) Voltage (VTH) is = '+string (VTH) +' V ');
disp('i) Resistance (RTH) is = '+string (RTH) +' ohms ');
disp('i) Power (P... |
7fb02a79fd90bc7f63e86c508e4f0e615752369c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH17/EX17.10w/17_10w.sce | 8c37f0c57f60ca19f289292e1c07302cb47054de | [] | 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 | 932 | sce | 17_10w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 17.10w
//calculation of the wavelengths in the visible region that are strongly reflected
//given data
d=.5*10^-6//thickness(in m) of the glass plate
mu=1.5//refractive index of the medium
lambda1=400*10^-9//minimum ... |
e59c6ce8517c563cc12a919295187ee7c1e57a2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.18/18.sce | 1fb6d1c68e0f124caf6811d60f233197b5f97452 | [] | 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 | 230 | sce | 18.sce | clc
L=0.25; //m
D=0.15; //m
V2=0.0004; //m^3
Vs=%pi/4*D^2*L;
V_total=Vs+V2;
y=1.4;
V3=V2+5/100*Vs;
rho=V3/V2;
r=(Vs+V2)/V2; //V1=Vs+V2
n_diesel=1-1/y/r^(y-1)*((rho^y-1)/(rho-1));
disp("efficiency =")
disp(n_diesel) |
b43bdba2fbf288ae45b4d4d472cc749a680f850b | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH3/EX3.13/3_13.sce | 609040e84a67511598fa1dad0088d287bdbc127d | [] | 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 | 209 | sce | 3_13.sce | Vc_0m=10
Vc_0p=Vc_0m
disp(Vc_0p)
//KVL
i1_0p=(10-Vc_0p)/20
i2_0p=Vc_0p/20
//KCL
iC_0p=i1_0p-i2_0p
disp(iC_0p)
iC_inf=0 //capacitor is open circuit
disp(iC_inf)
VC_inf=10*20/(20+20)
disp(VC_inf) |
5fbb6c1aba3d542f705afffb21ebb1fb50d7bd8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH45/EX45.03/45_03.sce | 703ee814b82cb67d63d4784fb5726a0e395c414f | [] | 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,131 | sce | 45_03.sce | //Problem 45.03: A coil of inductance 50 mH and resistance 5 ohm is connected to a 110 V, d.c. supply. Determine (a) the final value of current, (b) the value of current after 4 ms, (c) the value of the voltage across the resistor after 6 ms, (d) the value of the voltage across the inductance after 6 ms, and (e) the ti... |
ca6282b3e8de2f6c57eece7b6ebced9580853a2f | 59e7c95649eb8894e1d6f0bcac3ca7ea2b023217 | /Equações Diferenciais.sce | aeb1510550e6225f8421afd6770f837117f99f80 | [] | no_license | nascimento-luciano/Scilab-Matlab | cb5ee9d97df3ed0f4311573df0fd37a88b3394d8 | 1cba42b68cc7954ff4c7dd6b13c7d8e6bd3d039e | refs/heads/main | 2023-03-19T21:06:18.691193 | 2021-03-18T00:57:29 | 2021-03-18T00:57:29 | 348,877,701 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Equações Diferenciais.sce | clc
clear
close
// dy/dt=y^2-y sin(t)-cos(t), y(0)=0
function ydot=f(t,y)
ydot=y^2-y*sin(t)-cos(t);
endfunction
y0=0; // valor inicial de y no tempo inicial
t0=0; // tempo inicial
t=0:0.1:%pi; //escla de tempo
y=ode(y0,t0,t,f);
plot(t,y)
|
8fa48ac3ec743819b0511ec3bf829902626e30c4 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/germanic/ang.tst | ecba078710e4fd714d3f33e4dea4ffcce9488bec | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212,979 | tst | ang.tst | rinc N;NOM;PL
rinc N;ACC;SG
rinc N;GEN;PL
rinc N;DAT;SG
rinc N;DAT;PL
rinc N;NOM;SG
rinc N;ACC;PL
rinc N;GEN;SG
gebedda N;NOM;PL
gebedda N;ACC;SG
gebedda N;NOM;SG
gebedda N;GEN;SG
gebedda N;DAT;PL
gebedda N;GEN;PL
gebedda N;DAT;SG
gebedda N;ACC;PL
flowan V;SBJV;PL;PRS
flowan V;IND;SG;1;PST
flowan V;IND;SG;3;PST
flowan ... |
692367871563cd68ad199aaf5eba815b3f0ea9a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.14/14.sce | 849651c64fd3532f59977dd5172f66ab5365c8ec | [] | 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 | 232 | sce | 14.sce | clc
R=287; //J/kg K
y=1.4;
p_atm=100; //kN/m^2
p1=284+p_atm; //kN/m^2
T1=297; //K
D=0.02; //m
A2=%pi/4*D^2;
rho_1=p1*10^3/R/T1;
m_max=0.685*A2*sqrt(p1*10^3*rho_1);
disp("Maximum flow rate =")
disp(m_max)
disp("kg/s") |
fdb7e9ebe626ae06b23f3a64f466e1521093707f | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0019.tst | bdc5f86ebf491db948fe190d0447088d1e516a90 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 402 | tst | 0019.tst | spLiTtEr y {}
fIlter Gt { a8:aE:d5:dA:df:CC
>= fE:7B5e::aB:4F:Af:159.224.4.241 OR bitAnd ( ) nOt BITAND ( D, ) or 253.0.3.254/63 >= 7 or ::Cb:acDe:d5:Bb:cD:cC:F/6 = h OR H ( -7.e86, ) oR 252.0.204.252 >> Jp }
FIlter Bxk {C }
KR -> ZAYin
GroUPEr WNRQrP {MODuLE r{ } AGGrEgatE Min(z.a) aS N ,D.w }
uNGROUPe... |
4dff078ad0d91648854df1d90703cb1bcce081ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.24/10_24.sce | 2334824a09e7b86470379e3e6b71f699d52d3919 | [] | 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 | 507 | sce | 10_24.sce | clc;
clear;
KE=0.04*1.6*10^-19 //energy in J
m=1.675*10^-27 //mass of neutron in kg
h=6.63*10^-34 //Plancks constant in J-s
c=3*10^8 //velocity of light in m/s
//calculation
lambda=(h/sqrt(2*m*KE))/10^-9
mprintf("The de-Broglie wavelength is = %1.3f nm\n",lambda)
v_g=h/(lambda*10^-9*m)
mprintf("The group ve... |
bebc213c4f5344c69fdc4a05f6e181ccf2a62963 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2789/CH9/EX9.9/Ex9_9.sce | cff2ffda0312dff89706d2189aeb14ec6a48df86 | [] | 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 | 375 | sce | Ex9_9.sce | clear;
clc;
//page no. 302
p = 14.7;//psia
T = 60;// degreeF
l = 2000;//ft
b = 18;//in
h = 12;// in
v = 10;// fps
R_h = (b*h)/(2*12*(b+h));
Re = v*4*R_h*0.0763/(32.2*0.000000375);
f = 0.019;
h_L = f*(l/(4*R_h))*v^2 /(2*32.2);
del_p = 0.0763*h_L;
printf('loss of head = %.1f ft of air\n and the pressure... |
96d0ae06e0fc0414f42870d304315d59242e2448 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH3/EX3.6/Ex3_6.sce | a427ae48b7ff913a2d496e9a2b087dee11f05204 | [] | 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 | 528 | sce | Ex3_6.sce | // Example 3_6
clc;funcprot(0);
// Given data
T_1=20;// °C
T_2=100;// °C
p_1=0.100;// MPa
p_2=1.00;// MPa
rho=515;// kg/m^3
c=1.76;// kJ/kg.K.
// Solution
deltau=c*((T_2+273.15)-(T_1+273.15));// The change in specific internal energy in kJ/kg
v=1/rho;// The specific volume in m^3/kg
deltah=deltau+(v*((p_2... |
6098c280d5c9c6ead4ac88bf97ea6f696abcb8eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH14/EX14.4/Ex14_4.sce | dc1d6904737089e9d111c0a5bfb74bbc8311d085 | [] | 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 | 384 | sce | Ex14_4.sce | //Example 14.4//
a0=1.0;//m^3 // composite
d=a0-a
mprintf("d= %f m^3",d)
pA=2.70;//Mg/m^3 //density of aluminium (at 20degree C)
a1=3.97;//Mg/m^3 //density of Al2O3
a=0.1;//m^3 //meter //For 1m^3 we shall have 0.1m^3 of Al2O3
ma=a1*a
mprintf("\nma = %f Mg",ma)
b=0.9;//m^3 //cubic meter
ma1=pA*b
mprintf("\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.