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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a9ec8fda06d79f9d8fd1ff282501302d2cf4107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH5/EX5.8/Example_5_8.sce | 95c5c2ec831698f4b410312b650048e6f3b4f3e1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 637 | sce | Example_5_8.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 5.8
//Caption : Program To Find the Maximum Possible Work for Ideal Condition
//Given Values
//Saturated Steam
//At T=373.15K
H1=2676;//[KJ/Kg] from Steam... |
5ac39aec2c356e3530021a607a763b7ded17693e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH16/EX16.1/EX16_1.sce | a61e0ec1e1ea934c9e075fbb10279398aefdf5cb | [] | 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 | 344 | sce | EX16_1.sce | //Chapter 16, Example 16.1
clc
//Initialisation
e=5 //emf i volt
r=1000 //resistance in ohm
//Calculation
i=e/r //current in amp
v=0.75 //voltage across diode from graph shown
//Results
printf("Current = %d mA\n",i*1000)
printf... |
dba43899d61c21bb8f3f6e42544da33eb2a43267 | 704a8e9047b24c6e005fdc6206aacf6b3ea623bb | /UE/S1/bin/ANALYSE/triangulaire.sci | 4799eb1f53b883056c8d87f8d69b06a672ed9e56 | [] | no_license | GuangYueCHEN/ENSIIE | e84ffd6be1718b958bc72cef791a77dc49fa057f | f2014c0cf5b1adda3f327d5dd1d39217e703871b | refs/heads/master | 2021-06-30T21:50:49.946086 | 2019-06-18T09:53:36 | 2019-06-18T09:53:36 | 114,696,410 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sci | triangulaire.sci | function x=triangulaire(A,b)
//xia san jiao cheng fa
x(1)=b(1)/A(1,1)
i=2
while i<length(b)+1,
j=1
sum1=0
while j<=i-1,
sum1=sum1+A(i,j)*x(j)
j=j+1,
end
x(i)=(1/A(i,i))*(b(i)-sum1)
i=i+1;
end
endfun... |
d2dadcc7855306e64f215a773a31219c7049bc96 | 46ffb5fda9448453eba4d6787a1568028b241d88 | /ABMLangangen/calibration/cal_7561.337.sci | 025381ae6220ac2e90cda3bc365923a8a5b6b287 | [] | no_license | JusteRaimbault/Models | f81f886dc050445dae68e933e0c052c7f9c0b59c | 52f9c28fe20c8e491fb83e22ef162256eb966d32 | refs/heads/master | 2016-09-10T23:23:05.419418 | 2013-07-30T22:02:34 | 2013-07-30T22:02:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,796 | sci | cal_7561.337.sci | bref=[];bnorm=[];income-mean=[];rents=[];
bref(1)=5000;
bnorm(1)=10000;
income-mean(1)=10000;
rents(1,1)=36.529802855125276;
rents(1,2)=36.52980285512526;
rents(1,3)=36.529802855125254;
rents(1,4)=36.52980285512521;
rents(1,5)=36.529802855125226;
rents(1,6)=36.52980285512523;
rents(1,7)=36.52980285512532;
rents(1,8)=36... |
f82c28607eb43f401f6412772cfa5db38675b354 | b4a784116c78676b155ba6b3f4ba5366881ab800 | /ExpePerceptionDeplacement.sce | c5b095e3fb07a8968338c3cbbd815de6b9afd085 | [] | no_license | EmSavalle/Expe-Comportementale | 6d66b5cabdb91c9daab6fdef3fdb6e88e33a95ec | 798821a7c8ff2ea7251c4a09532846f8075f8853 | refs/heads/master | 2023-02-24T18:25:05.071965 | 2021-02-01T09:53:02 | 2021-02-01T09:53:02 | 310,548,136 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 19,181 | sce | ExpePerceptionDeplacement.sce | scenario = "PerceptionDeplacement";
active_buttons = 11;
button_codes = 1,2,3,4,5,6,7,8,9,10,11;
response_matching = simple_matching;
default_background_color = 255,255,255;
#-----------------Définition des variables--------------------------------------
begin;
#-----------------Chargement des sons--------------------... |
0966cdc5db2128cd8a527339c260aaee5230813f | 6bbc9f4f7e12ef440acd3fe25a51b4f048cde42d | /Image-Enhancement-in-the-Spatial-Domain/Histogram-Stretching.sce | e19747df10b9a3e40829d7bf793372bf59f5a1f2 | [] | no_license | krisbimantara/Image-Processing-SCILAB | 9dee568676b4f2943c54074d8c88c84cb33b3bb2 | bf8e8905efcdd6e3e0096f7a87cce8212fe0f14c | refs/heads/main | 2023-03-27T04:55:37.463238 | 2021-03-29T13:30:26 | 2021-03-29T13:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,365 | sce | Histogram-Stretching.sce | a=imread('bima.jpg');
[r,c,k]=size(a);
rmax=(max(a));
rmin=(min(a));
smin=0;
smax=255;
constant=(smax-smin)/(rmax-rmin);
for i=1:r
for j=1:c
for z=1:k
x(i,j,z)=(constant*(a(i,j,z)-rmin))+smin;
end
end
end
me=x(:,:,1);
hi=x(:,:,2);
bi=x(:,:,3);
h=zeros(1,256);
hme=zeros(1,256);
hhi=ze... |
6a077475d5ffde3d7efa879522907a50e74dd8ec | 36e294af022143c4ad0adaf1a40183c8114cb39a | /Scripts/Get_duty_cycle_data_new.sce | 7b5280a7a2e7e0811aca94f3a96e5eba4d0a1b4c | [] | no_license | pflynn/Spectrum_analysis | d6388a46f686912a4d4a543f18b2a49063374506 | eb31f3349fdf4f16227b25782d40937b126b297e | refs/heads/master | 2016-09-05T17:10:44.896865 | 2011-06-27T15:01:20 | 2011-06-27T15:01:20 | 1,960,672 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 966 | sce | Get_duty_cycle_data_new.sce | //Third stage
// Creating Duty cycle data
for k = start_num_of_bands:end_num_of_bands
//for p = 1:num_of_data_slots
//value = 0;
for j = 1:num_of_samples
number = string(j);
if(j == 1)
A = evstr(read_csv('C:\Documents and Settings\pflynn\Desktop\Threshold data'+ '/th '+ string(k*20) + 'MHz to '+ string(... |
b61956d476af407d51e1913e55c17dc2b2105018 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1535/CH4/EX4.4/Ch04Ex4.sci | 0bf70c437a2d535869b39919d0d61850a61a9377 | [] | 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 | 545 | sci | Ch04Ex4.sci | // Scilab Code Ex4.4 : Page-92 (2010)
lambda = 650e-009; // Wavelength of light used, m
N = 6000e+02; // Number of lines per m on grating, per m
theta = 90; // Angle at which the highest spectral order is obtained, degrees
// We have sin(theta) = n*N*lambda, solving for n
n = sind(theta)/(N*lambda); //... |
b9ccf875476442d21a01e3508dd6cefcf25980dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH4/EX4.6/6.sce | 86d4193ef5716daf44be5ccda892a2f336c550ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 6.sce | clc
// Given that
theta_p = 51 // Polarizing angle of light in glass plate in degree
// Sample Problem 6 on page no. 214
printf("\n # PROBLEM 6 # \n")
mu = tan(theta_p*%pi/180) // by Brewster's law
printf("Standard formula used \n mu=tan(Ip)\n")
printf(" \n Refractive index of material is %f.",mu)
|
6c190872921880fd3759abea0b94f886d3b573fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH5/EX5.7/5_7.txt | 980464300b9da6c7257f2e236a6fb814dacc6eef | [] | 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 | txt | 5_7.txt | //Caption:Find the voltage between far end of feeder and bus bar
//Exa:5.7
clc;
clear;
close;
V_o=240;//bus bar voltage (in Volts)
I_d=0;
I_s=300;//current in series winding (in Amperes)
R_s=0.03;//resistance of series feild winding(in ohms)
R_a=0.02;//resistance of armature winding(in ohms)
R_fe=0.25;//resis... |
39e94615a7e7ea63c4e9571980cd52cd7e12a7c7 | 29d0a9144c1926fef6ef23493d08728073758805 | /cfg/intop1-eth02.tst | 43b38be49de79c4b0734e3d71d1cec52b4a61a44 | [] | no_license | mikma/freeRouter | 47c1516edf6fc5c75cc6ce626cd7ce024147d5a5 | 96106c23a7144558ffb7fb831297194327ee3ef1 | refs/heads/master | 2023-06-08T06:51:14.563806 | 2020-01-22T14:56:13 | 2020-01-22T14:56:13 | 235,618,523 | 0 | 0 | null | 2020-01-22T16:46:19 | 2020-01-22T16:46:18 | null | UTF-8 | Scilab | false | false | 523 | tst | intop1-eth02.tst | description interop1: dot1q encapsulation
exit
addrouter r1
int eth1 eth 0000.0000.1111 $1a$ $1b$
!
vrf def v1
rd 1:1
exit
int eth1.123
vrf for v1
ipv4 addr 1.1.1.1 255.255.255.0
ipv6 addr 1234::1 ffff::
exit
!
addother r2
int eth1 eth 0000.0000.2222 $1b$ $1a$
!
ip routing
ipv6 unicast-routing
interface gigabi... |
6a5cb6014ef057ae4680a18e0f5cfb5f5274763e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH3/EX3.16/Ex3_16.sce | ec8a937e373075131cf971f147acd098fa3c4754 | [] | 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 | 497 | sce | Ex3_16.sce | //EX3_16 PG-42
clc
Rl=100;//load resistance
Es=230;//rms value of input voltage
Rf=0;//ideal diode resistance
Rs=0;//neglecting transformer resistance
f=50;//frequency of the supply
Esm=sqrt(2)*Es;//peak value of the input voltage
Edc=2*Esm/%pi;//as Rf=0 ohm
printf("\n Average DC voltage is %.0f V \n",Edc)
I... |
9a3d8c51d1196e9c6bc40457bca93de3d133fca5 | a224e73b03e44940d761ce34b72d5b3cee86880b | /ex 8.3 slide 7.sce | e4f4eac8657e11d502f71c25b164ec317bd4e839 | [] | no_license | DericsonPablo/controledesistemas | 5092eab41134fe752add986b457278776a1bad90 | 74d4263c4819fa7e4e7b689b38e083dd87440777 | refs/heads/master | 2020-07-31T05:33:17.109455 | 2019-09-24T03:10:19 | 2019-09-24T03:10:19 | 210,500,755 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sce | ex 8.3 slide 7.sce | //ex 8.3 slide 7
s = %s
x = poly(0,'x')
g = 1/((s+2)*(s+4)*(s+6))
//zero = null
//polos = -2; -4; -6
as = ((-2)+(-4)+(-6))/(3-0)
ang1 = ((2*0+1)*180)/(3-0)
ang2 = ((2*1+1)*180)/(3-0)
ang3 = ((2*2+1)*180)/(3-0)
z = 1/(x + 2) + 1/(x + 4) + 1/(x + 6)
roots([3 24 44])
|
0c16368628a2614575062691cae6305692e63a30 | 04ebc1029c20752e734a1d83b49a31329d5283fd | /trust_game_2/boxes.sce | 2dd2ff65659511f3de2361a92cd9eb37b40508db | [] | no_license | jangwoopark/presentation-trust | a1293e481da417c914534a30b1969f092f08e115 | 31621ef8b534bca19d4b9d4a5d57792ff8bb058d | refs/heads/master | 2020-06-27T14:50:42.294466 | 2017-09-12T01:51:08 | 2017-09-12T01:51:08 | 97,063,115 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101,796 | sce | boxes.sce | # red 10 boxes
box { height = 42; width = 140; color = 0,0,0; } red10_1;
box { height = 42; width = 140; color = 0,0,0; } red10_2;
box { height = 42; width = 140; color = 0,0,0; } red10_3;
box { height = 42; width = 140; color = 0,0,0; } red10_4;
box { height = 42; width = 140; color = 0,0,0; } red10_5;
box { height =... |
ec9ff6f89538c2ff683bd85ac129302c822f649a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH4/EX4.3/ch4_3.sce | dc52af731f362a98fa8311fc03511a3c8ed529c4 | [] | 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 | 264 | sce | ch4_3.sce | clear;
clc;
P=.5; //P=V_g*I_g
s=130; //s=V_g/I_g
I_g=sqrt(P/s);
V_g=s*I_g;
E=15;
R_s=(E-V_g)/I_g; printf("gate source resistance=%.2f ohm",R_s);
//Answers have small variations from that in the book due to difference in the rounding off of digits. |
3ac7cd47d244b2ee31489ad7ffddf9982549a330 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1328/CH18/EX18.1/18_1.sce | 6d31d4ba8c196a022354843491be7abc1dfbae97 | [] | 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,010 | sce | 18_1.sce | printf("\t example 18.1 \n");
// specific gravity of benzene is 0.88
// specific heat of benzene is 0.48 Btu/(lb)*(F)
U=50;
A=400;
T1=400;
t1=100;
t2=300;
c=0.48;
w=40000;
C=0.60;
W=10000;
printf("\t values are approximately mentioned in the book \n");
printf("\t for a \n");
M=(7500*8.33*0.88);
printf("\... |
181480e689b81397c9e9ef170fd7ae912d251441 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH5/EX5.9/5_9.sce | 53232014c035025e3c4db2081270f17455ed8263 | [] | 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,380 | sce | 5_9.sce | clear;
clc;
//Example - 5.9
//Page number - 202
printf("Example - 5.9 and Page number - 202\n\n");
//Given
T_1_hotgas = 800;//[K]
P_1_hotgas = 1;//[bar]
T_2_hotgas = 700;//[K]
P_2_hotgas = 1;//[bar]
T_1_air = 470;//[K]
P_1_air = 1;//[bar]
P_2_air = 1;//[bar]
Cp_0_hotgas = 1.08;//[kJ/kg-K] - Mean heat c... |
078cca9b4a9a3b8e0c83201c5c0d839fbef5c652 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/B7_MatrizesMKC.sce | a6551262332d46519395a1a5d3246319bcd5b948 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | B7_MatrizesMKC.sce |
if max(size(M))>13 then
editvar(["M" "K" "C"](Opcao));
BotoesAnalise(2:3).enable = "off"
BotoesMatrizes(3).enable = "off"
for i=1:3; frequencias(i).string = ""; end;
else
Rot = ["Matriz M" "Matriz K" "Matriz C"];
Mat = list(M,K,C);
Temp = x_mdialog(Rot(Opcao),string([1:n]),string([... |
ecb5b76e3985ab2958a1d81f8d295dd82a5403cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH1/EX1.8/Example1_8.sce | 769ee17d8b880585daa2d178aba278b4783d3182 | [] | 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 | 367 | sce | Example1_8.sce | clear ;
clc;
// Example 1.8
printf('Example 1.8\n\n');
// Page no. 28
// Solution
// Using Scientifc notation
x = 2.24 * 10^4 ; //[kg]
y = 2.01 * 10^4 ;//[kg]
D = x - y ;// Difference obtained by using scientific notation //[kg]
printf(' Difference obtained by using scientific notation is %.4e kg.\n He... |
2959f8e267fae62486ddd7cbf4c105c056f02512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH6/EX6.17.a/Exa6_17a.sce | 843d3cca3eea4a9b14f7305c0c8a141132ec12a4 | [] | 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 | Exa6_17a.sce | // Exa 6.17a
clc;
clear;
close;
// given data
R=10;//in Kohm
R1=R;//in Kohm
R2=R;//in Kohm
R3=R;//in Kohm
Rf=5.6;//in Kohm
R4=Rf;//in Kohm
R5=Rf;//in Kohm
RA=2.7;//in Kohm
RB=1.5;//in Kohm
C=0.01;//in uF
C1=C;//in uF
C2=C;//in uF
alfa=3*RB/(RA+RB);
disp("The type of response will be determined by the... |
a0947bff7ba666cff9e75cdf924737c1b0b331a6 | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/decide/taut.tst | 05fd0546548f48c156eec9175768de713422e240 | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 2,855 | tst | taut.tst | COMMENT | |
COMMENT | This is an example of the fact that TAUT sometimes handles |
COMMENT | dependencies unsatisfactorily. Infact in this case the fact |
COMMENT | produced by TAUT has the dependecnies (1 2) instead of no |
COMMENT | dependencies (as it should be using the standard ND rules |
COMMENT | |
RESET;
NAMECO... |
6cd3db1d3c6eb6f57d931a688cd435f073fb936e | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH5/EX5.1/Ex5_1.sce | 55c0b82df48c390d3304f77fd74e71144532bc53 | [] | 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 | Ex5_1.sce | //Ex:5.1
clc;
clear;
close;
v1=0.43;//volts
i1=2.5*10^-3;//in Amps.
v2=0.65;//volts
i2=7.4*10^-3;//in Amps.
r1=v1/i1;
r2=v2/i2;
printf("Diode resistance for 2.5A current = %d ohms",r1);
printf("\n Diode resistance for 0.65V = %f ohms",r2); |
01d26ad19f60fe59b65c6df5dfe8c9548f306ad4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH8/EX8.1/ex8_1.sce | 8166e8c9582ed7a44f401738be5a7a422b310152 | [] | 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 | 330 | sce | ex8_1.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
h=12//in
q=14//in
w=12500//in
p=2.5//in
m=0.067//in
t=2240//in
n=2.5*10^-5//in
//CALCULATIONS
R=(p*h*q)/(w)//in
I=(1*m^3/h)//in
M=((w*n)/(p*h)*t)//lbf in
//RESULTS
printf('the bending moment set up=% f lb... |
7ceb5645bbfc6efc8cc6a32071c323444b07b470 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH10/EX10.2/Ex10_2.sce | 07597db1cee41913391d6511184dceeb873492d2 | [] | 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 | Ex10_2.sce | clc
T=300 //K
k=8.617*10**-5//eV/K
e=1.6*10**-19 //C
DB=10//cm^2/s
tauB0=10^-7//sec
alphatau=0.9967
//(xB/LB)=z
z=acosh(1/alphatau)
disp(z,"xB/LB is=")
LB=sqrt(DB*tauB0)
disp(LB,"LB in cm is=")
xB=z*10^-4
disp(xB,"xB in meter is=")
|
d7bac17413b06eaa1a13c953fc137662c97ef642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH8/EX8.22/8_22.sce | ab69e503da2452a42a1e09b1e4be848d053ab225 | [] | 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 | 8_22.sce | clc
//initialisation of variables
r=12.5//rario
p=0.39*10^6//ft.lb
p1=14//lb/in^2
t=373//Degree C
g=18//ft^3
t1=100//Degree C
V=g/r//ft^3
I=0.2*10^6//ft lb/lb
T=0.59*10^6//ft.lb/lb
D=0.221*10^6//ft.lb/lb
A=0.095*10^6//ft.lb/lb
E=0.264*10^6//ft.lb/lb
E1=0.390*10^6//ft.lb/lb
//CALCULATIONS
W=(E/E1)*100//p... |
25a89772a3e4d92d621102c662ad4dcea0e51d11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.16/Ex5_16.sce | 8f4bc0febc2deb7e787ae86570b6190b2f1d38f7 | [] | 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 | Ex5_16.sce | clc;
R=20*10**3;
I=(R-0.7)/R;
disp('mA',I*1,"I=");
rj=50;
rB=1;
re=rB+rj;
R1=(R*re)/(re+R);
disp(R1);
V=10*(re/(re+1000));
disp('mV',V*1,"V=");
i=0:0.01:6*%pi;
plot(sin(i));
|
e93593b17074db24e10a9c6ac9453600f2a0820a | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.5/ex_5.sce | 0a6ff1b8e36350aa27fdb52f44dfec5a6a239b4d | [] | 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,695 | sce | ex_5.sce | // The equation x^3-5*x+1==0 has real roots.
// the graph of this function can be observed here.
xset('window',4);
x=-2:.01:4; // defining the range of x.
deff('[y]=f... |
44e4255c25ffc938a61810b54254e8aa64684682 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2921/CH8/EX8.3/Ex8_3.sce | 7e257b3d6aecd1af6e212fb3eb91c2a5b535adba | [] | 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 | 424 | sce | Ex8_3.sce | clc;
clear;
mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-8.3 Page No.165\n');
Lf=2; //[in] Free length of spring
Dm=0.620; //[in] Mean diameter of spring
R=Lf/Dm; //[] Free lengtth to mean diameter ratio
mprintf('\n The ratio of the free length of spring to mean diameter o... |
d6fb08d5c7a83571b58ad2577bc087ab00d4db4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.3/example5_3.sce | 8519f105c2eac74fd9d17c6ec83ba9beceb0526d | [] | 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 | example5_3.sce |
//example 5.3
//calculate yield from well
clc;
//given
d=30; //well diameter
L=15; //strainer length
P=50; //coefficient of permeability
s=0.2; //effective size of sand
b=3; //drawdown
r=150; //radius of drawdown
Q=2.72*L*P*b/(log10(r*2*100/d)*24*3.6);
Q=round(Q... |
dd61ab5dd83e65cb437fd6d2ed12514b95dc5295 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH5/EX5.12/Ex5_12.sce | c50f36b6b51a0ec07aae90d94c859dd9f2b7d3b4 | [] | 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 | Ex5_12.sce | //Example number 5.12, Page number 89
clc;clear;
close;
//Variable declaration
m=1.675*10**-27; //mass(kg)
h=6.626*10**-34; //plank constant
E=0.04; //kinetic energy(eV)
e=1.6*10**-19; //charge(c)
n=1;
d110=0.314*10**-9; //spacing(m)
//Calculation
E=E*e; //energy(J)
lamda=h/sqrt(2*m*E);
theta=asin... |
6f42c01c9770cd747c93ec8afab934002cbd0449 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH3/EX3.1/3_1.sce | 2faa10c31c307755e68dce4049f777fad7ea87a6 | [] | 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 | 206 | sce | 3_1.sce | clear;
clc;
l=10;a=0.03;b=0.03;Vr=4;f=1000;
P=a+(%i*b);
Vs=Vr*(exp(P*l));
C=real(Vs);
D=imag(Vs);
printf("Sending end voltage is Vs = %f /_ %f volts",fix(abs(Vs)*100)/100,round(atan(D,C)*180/%pi));
|
0a34293b23b3f20cb17aa421ed292b093e01e5a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH11/EX11.4/example_11_4.sce | 7251ce26687e1226d6a0ffdd330d2011791714ee | [] | 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,437 | sce | example_11_4.sce | //Chapter 11
//Example 11.4
//Page 301
//zerosequence
//run clear command then execute dependancy file and then the source file
//dependency file is pucalc.sci
clc;
//Given
P_g = 300e6;
V_g = 20e3;
X11_g = 0.20;
l = 64;
V_m = 13.2e3;
P_m1 = 200e6;
P_m2 = 100e6;
X11_m = 0.20;
T1_P = 350e6;
T1_vht = 230e3;
T1_vlt = 20e3... |
5c573edb314331eb8e61f94829b2c40d0efa8a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH2/EX2.4/Ex2_4.sce | 8d042e0a50886443bb704bbe4c558d3fb092a3c0 | [] | 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 | 593 | sce | Ex2_4.sce | //EX2_4 PG-2.23
clc
disp("Refer the Figure-2.25 shown")
disp("When forward resistance Rf is neglected then")
disp("the diode behaves as a battery as shown in Figure-2.25(a)")
Vf=0.7;//cut-in voltage
V=10;//supply voltage
Rl=500;//load resistance
If=(V-Vf)/Rl;//applying KVL to the circuit
If=If*1e3
printf("\n... |
82ab24ef9da9b28b88b90aaeb28d3e90237a42d7 | 4f90e96ef629748a7117b9c5010765a5459af6ad | /modules/core/tests/nonreg_tests/bug_16111.tst | 9a54897b5ae60d171813632c846e8883efb2ec56 | [] | no_license | ScilabOrg/scilab | 4b8ddf67e479679edca3661ddf5c60ce67e03d4e | 59989ac47463fc47ca5c246dd4597dd4440329dd | refs/heads/master | 2021-01-25T13:59:01.083633 | 2019-07-30T13:30:28 | 2019-07-31T10:02:03 | 51,158,085 | 62 | 25 | null | 2017-03-24T14:44:09 | 2016-02-05T16:20:32 | Scilab | UTF-8 | Scilab | false | false | 681 | tst | bug_16111.tst | // =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2019 - Stéphane MOTTELET
//
// This file is distributed under the same license as the Scilab package.
// =================================================... |
26fa5f837c581455bc9e486569f761e7a56bda22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH2/EX2.1/Ex2_1.sce | bfb77d8a7ab1d4f902c95049635f75454936b35d | [] | 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 | 460 | sce | Ex2_1.sce |
epsilon=8.854D-12
r=sqrt(.1^2+.1^2)//distance b/w A and C
Fca=(2D-6)*(4D-6)/(4*%pi*epsilon*r^2)//from A to C
Fcb=(4D-6)*(2D-6)/(4*%pi*epsilon*.1^2)//from C to B
Fcd=(4D-6)*(4D-6)/(4*%pi*epsilon*.1^2)//from C to D
//Fr has horizontal and vertical components as Frx and Fry respectively
Frx=Fcd-Fca*cos(45*%pi/180)... |
9f4ff67eb5368b0be0432a9a1cb93a42b3396bc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH2/EX2.11/ex11.sce | cc4cebb9f33305d479fa49d4abe018c6536a4993 | [] | 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 | ex11.sce | clc
clear
//Input data
E1=4000;//Enthalpy at entrance in kJ/Kg
E2=4100;//Enthalpy at exit in kJ/kg
V1=50;//Velocity at entrance in m/s
V2=20;//Velocity at exit in m/s
h1=50;//Height at the entrance
h2=10;//Height at the exit
m=1;//mass flow rate to the system in kJ/s
Q=200;//Heat transfer rate to the system ... |
e9e01cc93ede7d9b37439fa340813c0c61493fd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH3/EX3.4/Ex3_4.sce | 9c7f2513c74b1b146cf97047ad70e78f39057daa | [] | 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 | 160 | sce | Ex3_4.sce |
// Ex3_4
clc;
// Given:
A=180;
// Solution:
z=(40*A)/(0.6*(A^(2/3))+80);
printf("The stable nuclied of the isobaric series is Hf atomic no. = %d",z)
|
1337f5cd0d5719a279bb86ad5b65d73ee1f1070c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.8/Ex5_8.sce | 39d6cabad6e74ae4e9f0afd6502e0308b09f55b5 | [] | 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 | 152 | sce | Ex5_8.sce | //example 5.8
clc; funcprot(0);
Df=1;
B=1.75;
qnet=120;
N60=10;
Fd=1+0.33*Df/B;
Se=2*qnet/N60/Fd*(B/(B+0.3))^2;
disp(Se,"settlement in mm");
|
53d5480942e696a01c6e1d213c4f9a47ff01cca1 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/FP2.prev.tst | f82561e061c105cd1fb20635e38a991f9d8fa402 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | tst | FP2.prev.tst | PrimeFactorization(60) = 2^2*3*5
.toString(3) = 2²3¹5
.toString(4) = <span class="p2">2²</span><span class="p3">3</span>¹<span class="p5">5</span>
.wideToPower(4) = 2^2*3^3*5^3
.root(2) = 2^2*3^2*5^2
.radical() = 30
.multiply(same) = 2^4*3^2*5^2
.valueOf() = 3600
60.reducePowerOf(2) = 2, 15
60.modulus(4) = ... |
d359991ed3a684ea4ccb964ce0ed35b2a01228ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH11/EX11.2/11_2.sce | cb39d403d3074c8bcafcde062b184480802826d7 | [] | 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 | 227 | sce | 11_2.sce | //page 500
//example 11.2 (assuming SI units)
//given signal is Sx=(N/2)*rect(w/4(%pi)B)
clc;
N=1;B=1;
T=input("enter the value of T");
Rx=(N*B)*(sinc(2*(%pi)*B*T));
disp(+'Watt',Rx,"mean square value of the signal is"); |
dabc8e1c188f7a720f2c4237856d229406c95079 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.39/Example39.sce | 2c63e2bc656d5e9beb8c057fa4dd83523363cb3b | [] | 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,582 | sce | Example39.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-39
clear; clc; close; // Clear the work space and console.
// Given data
I_L = 1 ; // Load current in kA
V_m = 750 ; // Peak voltage in kV
// Calculations
// ca... |
611ef5e218f517bbc941443e9d0f9c4b930e7d12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.30/ex3_30.sce | f62643ca1e46f9641a349613740e912e66f31ffd | [] | 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 | 354 | sce | ex3_30.sce | //Exam:3.30
clc;
clear;
close;
angle=20.3;//in degree
wavelength=1.54;//in angstrom
n=1;
a=3.16;//lattice parameter in angstrom
d=n*wavelength/(2*sind(angle));//interplanar spacing
M_indices=a^2/(d^2);
disp(d,'interplanar spacing of reflection plane');
disp(floor(M_indices),'miller indices of the reflection ... |
5220393bb93ebde8851e2a3b896d49ee52ccd1bb | a555eed0df39b378e5935af73497395972e17e56 | /sample-merge.tst | f38a08940ada5544e6dcb8105562dd538de83038 | [] | no_license | iliescu-iulian/only-local-repo | 1466b858dcbad5f82a465df8593b6d0c68d90baa | fcbe44e2de560d5c298f8b5c99776e9539e8ff85 | refs/heads/master | 2020-04-06T14:49:20.371286 | 2018-11-27T14:57:21 | 2018-11-27T14:57:21 | 157,555,414 | 0 | 0 | null | 2018-12-05T11:22:10 | 2018-11-14T13:48:15 | Scilab | UTF-8 | Scilab | false | false | 68 | tst | sample-merge.tst | 1
2
3
4
4
5
update from my laptop
update from GitHub web
6
7
8
9
10
|
68030080ab2e12436a8580e1ef1c090f09647376 | 06a62d768e69fd9dda11b30011c252807e301813 | /simplependulum.sci | 3665e1f016b9f8dd36289ea498926f92e07f0dda | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sci | simplependulum.sci | function [fval] = simplependulum(t, y)
x = y(1);
v = y(2);
l = 98;
g = 980;
fval(1, 1) = v;
fval(2, 1) = -1*(g/l)*sin(x);
endfunction
|
7a1b050e0dba6208c975d12b2153e769edb6f0ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH11/EX11.6.b/solution11_6.sce | 8949422e82e7ca535a9b7c5f8ea6dc3b550304ad | [] | 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,606 | sce | solution11_6.sce |
//Obtain the path of solution file
path = get_absolute_file_path('solution11_6.sce')
//Obtain the path of data file
datapath = path + filesep() + 'data11_6.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Step1: Clutch being brand new, apply uniform-pressure theory
//Consider torque transmission... |
5192c411409001184cafea2be125449601e09836 | a095402148fd6b18b79f79dcaf460ddd3a81cd14 | /exp2/enhancement.sci | 7ff63f5819c7abc37ea0a3196dceba5d02bc24a0 | [] | no_license | avravikiran/sip-lab | b3ccc5b4e4f9d3353aff364adc966d9d46835f10 | 213d7e63bd08da70e286484dcc3d4e55fb43fbcd | refs/heads/master | 2021-06-22T19:03:10.747224 | 2017-08-10T20:59:57 | 2017-08-10T20:59:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,665 | sci | enhancement.sci | function enhancement(pic,RGB,tp1,var1,var2,path)
//***************************************************************
//program for IMAGE ENHANCEMENT
//Author: L.N.Eeti, Research Assistant, CSRE. (28/03/2011)
//this program requires param.txt and RGB.txt file; param.txt contents are
// % name of test image e.g. quickbi... |
b56c554d908d74cd7bca8f7054c8f29cdd86494c | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH6/EX6.9/ex_9.sce | 22facc6a3279c2150a456681985dc3d0185eeb03 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | ex_9.sce | // PG (357)
// 1. The mid-point method is defined by
// y(n+1) = y(n-1) + 2*h*f(xn,yn)--------n>=1
// It is an explicit two-step method.
// The trapezoidal method is defined by
// y(n+1) = yn + h*[f(xn,yn) + f(x(n+1),y(n+1))]------n>=0
// It is an implicit one-step method.
|
05ee774146d3bca2e3217c6cdbdfed0e9b0bf9c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH1/EX1.5/exa_1_5.sce | 36ff00d5e381b2705cb0b150dbeb489de4ae0417 | [] | 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 | 976 | sce | exa_1_5.sce | // Exa 1.5
clc;
clear;
close;
// Given data
format('v',7)
V_CC= 15;// in volt
V_EE= 15;// in volt
V_BE= 0.7;// in volt
R_C= 1;// in M ohm
R_C= R_C*10^6;// in ohm
R_E= R_C;// in ohm
Bita_ac= 100;
I_E = (V_EE-V_BE)/(2*R_E);// in amp
re_desh= (26*10^-3)/I_E;// in ohm
A_d = R_C/re_desh;
disp(A_d,"Voltage ... |
dbe801133f66eb8df5847cd242295cf500662ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.4/ch13_4.sce | 13a7bed55f7e4db798d22a5ac423ea4d35c12606 | [] | 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 | 677 | sce | ch13_4.sce | //Determine the fault current and line to line voltage at the fault .
clear
clc;
Ea=1;
L=(cosd(120)+ %i*sind(120));
Z1=%i*.25;
Z2=%i*.35;
Ia1=Ea/(Z1+Z2);
Ia2=-Ia1;
Iao=0;
Ib1=(L^2)*Ia1;
Ib2=L*Ia2;
Ibo=0;
Ib=Ib1+Ib2 +Ibo;
Iba=1093;
If=Iba*abs(Ib);
Va1=Ea-(Ia1*Z1);
Va2=-Ia2*Z2;
Vao=0;
Va=Va1+Va2+Vao;
... |
0539b98df6fadb8071c3d9c2904fcf98277f6f79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH6/EX6.16/6_16.sce | 98b1bcb5074aaf1a377aae23f95e4eb7b3473ad8 | [] | 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,531 | sce | 6_16.sce | clc;
clear;
//Example 6.16
bpr=40.6; //[K]
Cpf=1.88; //[kJ/kg.K]
Hf=214; //[kJ/kg]
H1=505; //[kJ/kg]
mf_dot=4536; //[kg/h] of feed solution
ic=0.2; //Initial conc
fc=0.5; //Final concentration
m1dot_dash=(ic/fc)*mf_dot //Thisck liquor flow arte[kg/h]
mv_dot=mf_dot-m1do... |
66a4f209d125079e4bd40926300ca3989c959fa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH11/EX11.1/example_11_1.sce | d72cf6b70799b9b407dd88a1085a186f6e97e6f1 | [] | 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 | 370 | sce | example_11_1.sce | //Scilab Code for Example 11.1 of Signals and systems by
//P.Ramakrishna Rao
//Hilbert Transform
clc;
clear;
n=1;
for t=-1:0.01:1
xr(n)=sin(2*%pi*t);
n=n+1;
end
//Computing Hilbertb Transform
x=hilbert(xr);
plot(t,xr);
title('Given Signal x(t)');
xlabel('time t-->');
figure(1);
t=-1:0.1:1;
plot(t,imag(x));
t... |
c99b32972bf845ffc51b77cb924e67e1bd7cf7a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH21/EX21.19.1/ques19_1.sce | 32c0bcd1db4b8d0600ec62df3be7290d5a1dc673 | [] | 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 | 159 | sce | ques19_1.sce | //error no output
//ques18
disp('To find the inverse laplace transform of the function');
syms s t a
f=s/(s^2+a^2)^2;
il=ilaplace(f,s,t);
disp(il);
|
fda122c17f53cc54513b651a36ce05ef751e262d | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.12/15_12.sce | 9f4dc0a460c5299204fb8090b47b3a7f7f12b5ba | [] | 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 | 206 | sce | 15_12.sce | clc;
//page no 550
// problem no 15.12
A=1000;//metropolitian area expressed in sq. km
r=2;//radius of cell in km
// Number of cell sites given as
N=A/(3.464*r^2);
disp(N,'Number of cell sites are'); |
e5054dac5ac0351336b00bdd82dcf20ed9e61247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH7/EX7.3/7_3.sce | db1eeb237e66b56bcc961ff3fdb8ae32ee79a4c0 | [] | 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 | 676 | sce | 7_3.sce | //All the quantities are expressed in SI units
p =101000; //static pressure
T = 320; //static temperature
v = 1000; //velocity
gam = 1.4; //ratio of specific heats
R = 287; //universal gas constant
cp = gam*R/(gam-1); //specif... |
d1f11cdfb13fbfe1f2447fc84185aa6b3607cdd1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH13/EX1.5/Ex13_6.sce | 7ae8b5d09bcc3defb6f82300eb96b33c10d1dc13 | [] | 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 | 197 | sce | Ex13_6.sce |
clc
//initialisation of variables
p=20//psia
t=140//F
v=1//cu ft
n=5//cu ft
E=0.01105//unit
N=0.00562//unit
//CALCULATIONS
M=E+N//unit
//RESULTS
printf('The mixing equals=% f unit',M)
|
c96b55351cfb208b4324a85f0a85fb4dfaa73d02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3594/CH15/EX15.5/Ex15_5.sce | 6c525fa5b667fbb4728342b50a16ed425c58dca1 | [] | 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 | 548 | sce | Ex15_5.sce | //To find the ratio nd/n
clc
//given
//damping torque is directly proposrtional to the angular velocity
C=12*10^6//Modulus of rigidity
l=3//ft
d=1//in
g=32.2//ft/s^2
I=500//lb ft^2 ; moment of inertia
J=%pi*d^4/32
q=C*J/(l*12)
n=(1/(2*%pi))*(q*g*12/(I*12^2))^(1/2)
//part 2
b1=(q*g*12/(I*12^2))
a1=(b1/10.... |
77f4e13d25e1028ff48300655384f5c0f10f1dd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH6/EX6.26/Ex6_26.sce | 29ec85c6ff91cc6508658cf625f525683c43b954 | [] | 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 | 359 | sce | Ex6_26.sce | clear
//
//
//
//Variable declaration
h=2
k=3
l=1 //miller indices
a=0.121
b=0.184
c=0.197 //parameters(nm)
//Calculation
OB=2*b/3 //intercept along y axis(nm)
OC=2*c //intercept along z axis(nm)
//Result
printf("\n intercept along y axis is %0.3f nm",OB)
printf("\n in... |
3d88a399c731121fd74a0f1b54d5a102f4b79a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH6/EX6.2/6_2.sce | c336e4544e9b5fb19179fd69cd1e7bb6cb2323c8 | [] | 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 | 600 | sce | 6_2.sce | clear;
clc;
Zo=75;s=3;d=1/5;
B=2*%pi*d; //B=b*ymax where ymax=position of the current maxima which is 1/5th wavelength away from the load(here)
phi=2*B;
ampK=(s-1)/(s+1); //ampK=amplitude of the reflection coefficient
K=ampK*(exp(%i*phi));
ZR=round(((Zo*(1+K))*100)/100)/(round((1-K)*1000)/1000)... |
c036695a51d1294d452ba47dac27ae0f3d523619 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3622/CH2/EX2.3/Ex2_3.sce | 69f2647c2e00c5cd3de5d05fc1ea52b7055c0ea0 | [] | 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 | 172 | sce | Ex2_3.sce |
//Initialisation of variables
clc
a=10^(-5)
d=1
e=4.8*10^(-10)
g=980
X=4*%pi*a^3*d*g/(3*e)
printf('field required to keep drop stationary is %e esu per cm \n',X)
|
b49065297f35b1263e436793fac169cd623a8d44 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/data_analysis/scilab/2tanks/dynamic/tanks_dynamic_noerror.sce | f5f662bd76ca8e48db429a47d21e7c54bf81e3ec | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,096 | sce | tanks_dynamic_noerror.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
clear xm var jac nc nv i1 i2 nnzeros sparse_dg sparse_dh lower upper var_lin_type constr_lin_type constr_lhs constr_rhs
getd('.');
getd('../');
run_new ... |
5b2e70b495e9e91c2b2acbe449ae08aa85aee06a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3050/CH6/EX6.1/Ex6_1.sce | e45933dfdae796b0f67cb0582d85a64ef5a9ad8d | [] | 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 | Ex6_1.sce | //calculating emf
//Example 6.1
clc
clear
Es=1.5273//emf of known cell in V
Ns=90//null point of known cell in cm
Nu=60//null point of unknown cell in cm
Eu=Nu*Es/Ns//Emf of cell
printf('Thus the emf of cell = %2.4f V',Eu)
|
abe401cd6b738cafb5b25df6cc8c941766c87ef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.31/Example_6_31.sce | e5a47b76d8307d423186afdaba1fdf0aa2559ae7 | [] | 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 | 348 | sce | Example_6_31.sce | // Example 6.31 Sales of a company rose
clc
clear;
SI2=103;
SI3=150;
S2=3945000;
S3=4621000;
ES= (S2*(SI3/100))/(SI2/100);
disp(ES,"Expected sales during the thirs quarter =",S3,"Actual sales in third quarters =", S2,"Actual sales in second quarters =",SI3,"Seasonal Index for third Quarter =",SI2,"Seasonal Ind... |
edbbd2fcc24616f161d347f9b1e8c9e2a7c6db92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH19/EX19.4.1/Ex19_4_1.sce | 7dec72cf7890387c336f8149855986637337f8c8 | [] | 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 | 266 | sce | Ex19_4_1.sce | clear
//given
//page no 394
//find out how much air enter in cylinder
//as th amount water air taken into engine per hour
x=300
c=3.9
t=60.
D=1.2*70200./(1000.)
//dust entering
//engine in 1 year
E=D*9.*250.
De=E/7000.
printf("\n \n dust entering engine %.2f ",De)
|
74d501a95e92fd50dea739d09c4dbd767da7fee6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.57/ex_3_57.sce | cc58be835bfb909d193391d3619c65883fc89b6e | [] | 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 | 379 | sce | ex_3_57.sce | //Example 3.57: resistance , capacitance AND POWER FACTOR
clc;
clear;
close;
f=50;//Hz
r2=120;//ohms
c3=0.4;//micro-F
c4=106;//pF
r3=318;//ohms
r1=((r2*c3*10^-6)/(c4*10^-12));//ohms
c1=((c4*10^-12*r3)/r2);//pF
pf=((r1)/(sqrt(r1^2+(1/(2*%pi*f*c1)^2))));//
disp(round(r1*10^-3),"resistance is,(k-ohm)=")
disp(round(c1*10^1... |
3b4d4cfc910ca8ec0aa71b94168edecb3aca7e18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.1/ex_1_1.sce | 61d37b189e7977a46c6d52eafedeefb7521c2073 | [] | 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 | 564 | sce | ex_1_1.sce | //shifting and scaling
//example 1.1
clear;
clc;
close;
t = 0:1/100:4;
for i = 1:length(t)
x(i) = (3/4)*t(i) ;
end
for i = length(t)+1:2*length(t)
x(i) = 0;
end
figure
a=gca();
t1=0:1/100:8;
plot(t1,x(1:$-1))
xtitle('x(t)')
figure
a=gca();
t2=t1+2;
plot(t2,x(1:$-1))
xtitle('x(t-2)')
a.y_location... |
cd85879b2725b5f594540207441108a639888e6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3763/CH8/EX8.2/Ex8_2.sce | 49be8e1712e46105382484a6399d3662579f7800 | [] | 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 | 279 | sce | Ex8_2.sce | clear
//
//
//
//Variable declaration
H0=64*10**3 //initial field(ampere/m)
T=5 //temperature(K)
Tc=7.26 //transition temperature(K)
//Calculation
H=H0*(1-(T/Tc)**2) //critical field(ampere/m)
//Result
printf("\n critical field is %0.2f *10**3 ampere/m",H/10**3)
|
88f23d3baa25d590fcf6ab8bd0d9430760591423 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH11/EX11.4/Ex11_4.sce | dc87728e8b5ee2e0a4bbe49282518ecf881f159c | [] | 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 | 527 | sce | Ex11_4.sce | //Example 11.4
P=1.01*10^5;//Atmospheric pressure (N/m^2)
h=120*10^3;//Altitude (m)
g=9.80;//Acceleration due to gravity (m/s^2)
rho=P/(h*g);//Average density (kg/m^3)
printf('Average density of the atmosphere = %0.2e kg/m^3',rho)
rho_table=1.29;//Density of air, See Table 11.1 (kg/m^3)
printf('\nRatio of densit... |
b04ffe517cae6d0028cc839760c7d706d3b887bc | b5c67ec6ca2b68ab137bf01b712c2296efa2276d | /code/tst/suite_06_globals.tst | 534c59f5bf57f57bd91217f3fbc600631794aea2 | [
"BSD-3-Clause"
] | permissive | mikekucera/MapleMIX | 32acb8ffa0af64efe9eb1367a40a099de18232f7 | 695307111fbeb360c30d8c3ef30cc182bc3678b4 | refs/heads/master | 2023-06-22T21:57:01.033953 | 2023-06-09T14:43:39 | 2023-06-09T14:43:39 | 27,238,914 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,329 | tst | suite_06_globals.tst | #test
# TEST SUITE 5: GLOBALS ############################################
with(TestTools):
kernelopts(opaquemodules=false):
#libname := libname, "/home/mike/thesis/trunk/maple/pe/current/lib":
libname := libname, "../lib":
# TEST 1 ###########################################################
# very basic
p := proc... |
e6cc1084c8c496951dc178524bf4978ecdfc1ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH2/EX2.11/Ex2_11.sce | d41a8f7d5865b9d39ffd32e2cbc4d0269dd58991 | [] | 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 | 522 | sce | Ex2_11.sce | //Example 2.11
//Also see Example 2.10
a=26;//Acceleration (m/s^2)
x_0=0;//Initial position (m)
x=402;//Final position (m), See Example 2.10
v_0=0;//Initial velocity (m/s)
v=sqrt(v_0^2+2*a*(x-x_0));//Final velocity (m/s)
printf('Final velocity of the dragster = %0.1f m',v)
//Positive value of v considered as it... |
4e208c44936ef14ba1f910ab4e8c2b23aa220d9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH3/EX3.13/13.sce | aedb0b9383e921192eb36f9a9016d5583f09258f | [] | 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 | 620 | sce | 13.sce |
//Variable declaration
lamda=0.675; //wavelength(angstrom)
n=3; //order of diffraction
theta=5+(25/60); //angle(degrees)
//Calculation
theta=theta*%pi/180; //angle(radian)
d=lamda/(2*sin(theta));
theta3=asin(3*lamda/(2*d)); //glancing angle(radian)
theta3=theta3*180/%pi; //glancing angl... |
ed8fbf4d2274679f4fe9f9933c1ff68c7f9aa1a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH2/EX2.6/ex2_6.sce | 7fd3b4832dc5574b1aaec45ca07793048f6e1f85 | [] | 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 | 505 | sce | ex2_6.sce | // Example 2.6
format('v',6)
clc;
clear;
close;
// given data
Vin= 15;// in V
V_K= 0.7;// in V
Vout=0;// in V
R_L= 10;// in kΩ
R_L= R_L*10^3;// in Ω
// The peak output voltage
V_P= Vin-V_K;// in V
// The maximum forward current
I_P= V_P/R_L;// in A
// The peak inverse voltage
PIV= Vin-Vout;// in V
I... |
8d570406ac6cfc43ec0b7e7bf00d9da1ad5e399c | d0be4aa35a2d245d22814309fdcff594f6964c2d | /code/utkarsh_experiment_6.sce | 1fd482a1d411f78049a9d1ec7df8e0af7fa75afe | [] | no_license | utkarshsharma00/digital_circuits_lab_sem_5 | 450bbe574efbf97b00dcd300f22978cf25a5eb36 | fa9a05c6ea2c5f73598d24f77382c1a00259d3d9 | refs/heads/master | 2020-07-23T13:44:41.110959 | 2019-10-21T12:48:16 | 2019-10-21T12:48:16 | 207,578,144 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | utkarsh_experiment_6.sce | clc
f1 = input("Enter the carrier frequency:")
f2 = input("Enter frequency of pulse:")
t = 0:0.001:1
x = cos(2*3.14*f1*t)
y = (squarewave(2*3.14*f2*t)+1)/2
z = x.*y
subplot(3,1,1)
plot2d(t,x)
subplot(3,1,2)
plot2d3(t,y)
subplot(3,1,3)
plot(t,z)
|
18c5e27550b8432b0f8d07a5f8432d95474761af | b26239033e0d21476c77ff50326b32231c2a3b00 | /Workspace/missionX2.sce | 086622ad24882e78130419a8e543296fd76abe81 | [] | no_license | SmartGuyy/Exolife | 1c9a5bfdb8b16523e9681170fe4cb2cb12613e3a | eb477766dffe7edd9022d0cf46028980489c6277 | refs/heads/master | 2021-06-17T03:56:00.785128 | 2017-03-17T09:39:04 | 2017-03-17T09:39:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | missionX2.sce | //1 Load Image
img_input=readpbm("C:\Users\DimitriXPS\Documents\GitHub\Exolife\Exolife\Images\Mission 9\Gliese 581d V2.pbm");
display_gray(median(img_input,2));
|
cc7ae0b0579d55983f5251a585c9634de7c1a349 | 9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124 | /Parcial 3/AgustinDiaz2.sce | 789c2cec7ec66c19b09876fb4c3f590a83182501 | [] | no_license | ignaciolitma/LCC-Metodos-Numericos | 8120eba09ea160e3252542373afc5ddad49a04c9 | e63728e5f15bb469dff205a74901a5b930e1271d | refs/heads/main | 2023-03-12T11:34:36.940908 | 2021-03-01T20:56:12 | 2021-03-01T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,508 | sce | AgustinDiaz2.sce | // Practica 7
// Ejercicio 6
// Hice la resolucion con Scilab y a mano
// a)
function p = resolver_ejercicio6()
x = [-1, 1, 2, 4]
dd = [2, 1, -2, 2]
p = dd(1)
p_n = 1
for i = 2 : 4
p_n = poly(x(1:i-1), 'x', 'r')
p = p + p_n * dd(i)
end
endfunction
// p(x) =
// f[x0] + ... |
28a5be34c6993562595ba8447a70235d7057ff80 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /HL 357_box.sce | d8507eb121fcaa3a913b57f73411193004211736 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,476 | sce | HL 357_box.sce | Name=HL 357_box
PlayerCharacters=Gordon Freeman;Gordon Freeman HEV
BotCharacters=HL Bot 1.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Gordon Freeman
AddedBots=HL Bot 1.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=hl_357_box.map
MapScale=2.0
BlockProjectilePredictors=true
Block... |
f255b0d9d9f43e6a27092b0906011976fe98de27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.43/Ex12_43.sce | af74ba361ec5cf1b7ed90eaf30480c23614a90e9 | [] | 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 | 409 | sce | Ex12_43.sce | //Chapter 12
//page no 538
//given
clc;
clear ;
M=1;
N=1; //no of collision
S1=4; //soliton colllision
S2=5; //soliton colllision
Nc=S1*S1/4*[M*S1/2-M+N]; //minimum no of collision
printf("\n Ncollision for S=4,is %0.0f",Nc);
Nc2=(S2*S2-1)/4*[M*S2/2-M+N]; ... |
05626c1c9105c0d13cd5950bc9daed501b631c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH7/EX7.12/7_12.sce | 210fb8efbcf2a8da88095b4493a08acb3660499e | [] | 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 | 370 | sce | 7_12.sce | clc
//Initialization of variables
g=9.81 //m/s^2
rho=10^3 //kg/m^3
d2=30/100 //cm
d1=60/100 //cm
Pu=105 //kN/m^2
Pd=75 //kN/m^2
Cc=0.65
//calculations
V22=(2*g/(1 - (d2/d1)^4 + (1/Cc -1)^2)) *(Pu-Pd)*10^3 /(rho*g)
V2=sqrt(V22)
Q=%pi/4 *V2 *d2^2
hl=(1/Cc -1)^2 *V2^2 /(2*g)
//results
printf("Flow rate = %.... |
115850de8e87194412dcc75bea55c76010e2c3ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH24/EX24.11/Ex24_11.sce | f40c1946f45dd0790c4096b739e1991016d821aa | [] | 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,541 | sce | Ex24_11.sce | // Example 24_11
clc;funcprot(0);
//Given data
P=5;// Power plant capacity in MW
T_1=27+273;// K
p_1=1;// bar
T_4=1000;// K
p_r=5;// Pressure ratio
n_c=0.85;// Isentropic efficiency of compressor
n_t=0.90;// Isentropic efficiency of turbine
n_com=0.95;// Combustion efficiency
n_m=0.95;// Mechanical efficien... |
de1296b063380e9accb21dcad85e32c66542815f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH17/EX17.15/Ex17_15.sce | 4730e56641347042855ce4d1f5e7c83977c1aec3 | [] | 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 | 105 | sce | Ex17_15.sce | clc;
f0=503000;
QL=6.33;
BW=f0/QL;
disp('khz',BW,"BW=");//The answers vary due to round off error
|
8b69f7c530e9c99f66f2e50498ea3aefb41117f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH18/EX4.1.2/U4_C1_2.sce | 9a6229405ab5edf21621b7c14611ca1187ffdb5a | [] | 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,248 | sce | U4_C1_2.sce | //variable initialization
z=1 //atomic no. of H atom
m=1.68*10^-27; //mass of H atom (kg)
h=1.054*10^-34; //Plan... |
4d2d95ee60725d5c32e11326ae17098acafd4d5f | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch7_22.sce | b9cc022aea30d15fc8acf884f66ba5bdbed787ec | [] | 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 | 379 | sce | ch7_22.sce | clc
disp("Example 7.22")
printf("\n")
//The general equation of exponential decay function is given by
disp("v(t)=A*e(-t/T)+B")
//We need to solve A and B
//At t=0 we get v(0)=A+B (1)
//at t=inf we get B=1 (2)
//Solving (1) and (2)
A=4;B=1;
T=3;
t=0:0.05:10
v=4*exp(-t/T)+1;
figure
a= gca ();
p... |
47a6f0180781806041182f00385412d4431d60b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH4/EX4.10.11/Ex4_11.sce | 018fb93d01ba728eba69564a2391b8fde8ddf362 | [] | 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 | 415 | sce | Ex4_11.sce | //Example 11// Ch 4
clc;
clear;
close;
// given data
d = 0.05; //electron current of an avalanche in uniform field gap of d in meters
t = 0.2*10^-6; //current decline abruptly in t sec
tc = 35*10^-9; //time constant
ve = d/t;//electron drift velocity in m/s
alpha = 1/(tc*ve);//townsend's ionization coefficient... |
44a86324d1aa056c39161a1d218ef19d9d3331d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH12/EX12.10/12_10.sce | a9eae1e7dcf3321bd96a13b76dfe83fbdd32eacd | [] | 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 | 454 | sce | 12_10.sce | h1 = 3037.3; h2 = 561+(0.96*2163.8);
s2 = 1.6718+(0.96*5.3201);
s3s = s2;
x3s = (s3s-0.6493)/7.5009;
h3s = 191.83+(x3s*2392.8);
h23 = 0.8*(h2-h3s); // h2-h3
h3 = h2-h23;
h5 = 561.47; h4 = 191.83;
Qh = 3500; // in kJ/s
w = Qh/(h2-h5);
Wt = 1500;
ws = (Wt+w*(h2-h3))/(h1-h3);
ws_ = 3600*ws ; // in kg/h
h6 = ((ws-w)*h4+w*... |
2d209b04b31fcf00cc3a1e67da1eee5051b920e1 | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP2/Routine.sci | f01a38ace11b34e0643dfe0e10fd76d1e7f6645b | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,960 | sci | Routine.sci | /*
Créateur: Jinshan GUO et Anais Debureaux
*/
//===========Exo1-solsup===========
function [x]=solsup(U,b)
n = size(U)(1); //Nombre lignes de matrice
x = zeros(n,1);
x(n) = 1/U(n,n) * b(n);
for i=n-1:-1:1
if abs(U(i,i)) < %eps then
error("Matrice U est non inversible");
... |
f1ce9168804615cba84b93cc96e36a99a5d19344 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH7/EX7.4/7_4.sce | e716b64bc5940fa2408df7bca5dfe6586e5822a5 | [] | 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 | 315 | sce | 7_4.sce | clc;
clear;
function y=f(x)
y=x-cos(x)
endfunction
x1=0;
if f(x1)<0 then
x2=x1+0.001;
while f(x2)<0
x2=x2+0.001;
end
elseif x2=x1+0.001;
while f(x2)>0
x2=x2+0.001;
end
else disp(x1,"The root is=")
end
x=x2-(x2-x1)*f(x2)/(f(x2)-f(x1));
disp(x,"The root is=") |
1e1358afd136cb70751d6c2f0b7e95de99f2b8bb | 4246cbb6bfbd96e60074b607df96d71e7b4ee070 | /opp6code/thisuser.tst | 6b592d3d1b9770fc41f9a462ef71e873545934d4 | [] | no_license | thangduong3010/PL-SQL | bc0fa5c3400e46acc0ab63156573590935607b5d | 1415772c87750bd30625eacf2bd116fb7e0c0aae | refs/heads/master | 2020-05-22T06:57:54.352234 | 2016-12-26T04:47:27 | 2016-12-26T04:47:27 | 39,061,697 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,152 | tst | thisuser.tst | CREATE OR REPLACE PROCEDURE test_thisuser (count_in IN PLS_INTEGER)
IS
l_name all_users.username%TYPE;
BEGIN
sf_timer.start_timer;
FOR indx IN 1 .. count_in
LOOP
l_name := thisuser.NAME;
END LOOP;
sf_timer.show_elapsed_time ('Packaged Function');
--
sf_timer.start_timer;
F... |
fe1d6b7cad0af0944a55ec1bf37cdfb4cc53b5bc | 69bd2359042ae96321a049f9791fc01024662d12 | /2_1LAB/comment.tst | 0444a3626dbfc550e726b854aa8afe2172e6dd6d | [
"Unlicense"
] | permissive | RustyRaptor/compilers | c29f6c2bca6043fbb1a18450b0430d96a20cf1ae | 2f27179a9219ee61ed4e32b7fd4802e22aa19863 | refs/heads/main | 2023-08-18T02:27:36.432781 | 2021-09-14T15:27:30 | 2021-09-14T15:27:30 | 330,329,335 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 197 | tst | comment.tst | /* this is a sample comment */
and this represents lines of code.
/* this, on the other hand
/* is a nested comment
/* terminnated here */
*/ second termination
/*
*
*/
see how it works
*/ |
dca75eb349efa948f9da310c25409801189c0790 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.12/Ex3_12.sce | 0119b6f1962ea22bdcb075b6e1c146f2234f4368 | [] | 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 | Ex3_12.sce | //===========================================================================
//chapter 3 example 12
clc;clear all;
//variable declaration
u = 150; //capacitance in uF
du = 2.4; //capacitance in uF
v = 120; //capacitance in uF
dv = 1.5; //capacitance in uF
//calcu... |
050ea28da206ad2824946d2f2eacf38135bd3509 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH10/EX10.2/Example10_2.sce | 6260afb1a07fc6663bef9c72fb7e5121b290b28e | [] | 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 | Example10_2.sce | //chapter10,Example10_2,pg 271
R=0.35
n=1.38*10^7
m=1.67*10^-27
q=1.6*10^-19
B=(2*%pi*n*m)/q
E=((B^2)*(q^2)*(R^2))/(2*m)
E=E/q
printf("magnetic field induction\n")
printf("B=%.2f wb/m2",B)
printf("\nmaximum energy of proton\n")
printf("E=%.2f ev",E) |
7737010d98892f47edc398abd8c897db85fbbf1c | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_2_g.tst | bad1847d2053b5177b56ba92bc6005eaee9977fe | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,156 | tst | test_ods_fsed_2_g.tst | ** File Info
Version: 1.0
Num Logs = 0
Num Trans = 0
Num Writers = 0
Init Tranlog = 0
Total Entries = 5
Tranlog Offset = 0
Transaction Id = 20
Index Free List = n/a
Total Size of Data = 29196
Data Transformation Id = 19
Index Transformation Id = 57
** Entry Info for: all
num: 0000000000000000 pos: 00000000000... |
1c7c313ab2b25f8ca4c9fb65039d60979a1f06cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3651/CH1/EX1.5/Ex1_5.sce | 0f5c737f80791aa1e61a7b8c18eed9f4487b3955 | [] | 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 | 390 | sce | Ex1_5.sce | //variable declaration
I=5.14; //Ionization energy
A=3.65; //Electron Affinity
e=(1.6*10**-19);
E=8.85*10**-12;
//calculations
E_c=I-A //Energy required
r=e**2/(4*%pi*E*E_c*e) //Distance of separation
//Result
printf('Energy required=%0.2f eV ... |
0ca9811cd6da90089828814206d4d00f35ff95b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH12/EX12.5/Ex12_5.sce | 8bc32b22a9878f4ca1e1d0569f06b1ca0ce35e11 | [] | 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,238 | sce | Ex12_5.sce | // chapter 12
// example 12.5
// Destermine values of resonant components Lr and Cr, peak switching current, peak voltage rating of the resonant capacitor
// page-778-780
clear;
clc;
// given
Edc=18; // in V (unregulated DC voltage)
E0=12; // in V (output voltage)
fr=1; // in MHz
P0=12; // in W
// calculate
fr=fr*1E6; ... |
15d9dff569cba6895ed5a13f3a3ee9678a4d823c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2615/CH11/EX49.1/49.sce | 5f5e51e5602c4f8c32f6737f76ce7056b3963c0a | [] | 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 | 49.sce | clc
//initialisation of variables
q=29.43//kg
v=10//m/sec
p=2//kg
g=9.81//m/sec
//CALCULATIONS
a=q/g//kg*m^-1 sec^2
V=v-a*(p/a)//m/sec
//RESULTS
printf('The velocity of the body three secounds after =% f m/sec',V)
|
e65090ab8abeb87bb47731faf8be60cb6744633d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH13/EX13.5/Ch13Ex5.sce | 19c50ecd4f573c92f0ebce3f1b6a7ce3e17139ed | [] | 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,204 | sce | Ch13Ex5.sce | // Scilab Code Ex13.5 Page-650 (2011)
clc;clear;
K = 7.0;....// Dielectric constant of the slab
d = 0.01;....// Distance between the two parallel plates, m
V_0 = 100;....// Potential difference across the plates, V
eps_0 = 8.85e-12;....// Electric permability of the free space, C-square/N-meter-square
E_0 = V_0/... |
cbd7bcd48137e3daf392df99da48e55ba3337f4f | 29d0a9144c1926fef6ef23493d08728073758805 | /cfg/conn-pppoe03.tst | ccd9a789ecfef6f78ef5ac17b361f306172fc3d5 | [] | no_license | mikma/freeRouter | 47c1516edf6fc5c75cc6ce626cd7ce024147d5a5 | 96106c23a7144558ffb7fb831297194327ee3ef1 | refs/heads/master | 2023-06-08T06:51:14.563806 | 2020-01-22T14:56:13 | 2020-01-22T14:56:13 | 235,618,523 | 0 | 0 | null | 2020-01-22T16:46:19 | 2020-01-22T16:46:18 | null | UTF-8 | Scilab | false | false | 560 | tst | conn-pppoe03.tst | description ppp relay over pppoe
addrouter r1
int eth1 eth 0000.0000.1111 $1a$ $1b$
!
vrf def v1
rd 1:1
exit
int di1
enc ppp
vrf for v1
ipv4 addr 1.1.1.1 255.255.255.252
exit
int eth1
p2poe client di1
exit
!
addrouter r2
int eth1 eth 0000.0000.2222 $1b$ $1a$
int ser1 ser - $2a$ $2b$
!
int eth1
p2poe relay s... |
829f2a4f4e8afc26163c727c16d4ae7fea2352c5 | c0d66a31afddea0650dd2970d6887bbe06254804 | /svm/svm.sce | c90d101b3039e19058602c267ee3dc1e8915e47f | [] | no_license | shohei/ml-experiments | d534e9809110f0fa905790c132abb1c23643f2a4 | d28415ba0ca0521f0c2faaf3ed0f1964aac83823 | refs/heads/master | 2021-06-16T06:42:20.007170 | 2017-05-17T00:03:05 | 2017-05-17T00:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sce | svm.sce | N=40;
c1 = [1,1];
c2 = [5,5];
c1x=grand(N/2,1,'nor',c1(1),1);
c1y=grand(N/2,1,'nor',c1(2),1);
label1=ones(N/2,1)*(-1);
c2x=grand(N/2,1,'nor',c2(1),1);
c2y=grand(N/2,1,'nor',c2(2),1);
label2=ones(N/2,1);
s=ones(N,1)*200;
points=[c1x,c1y,label1;c2x,c2y,label2];
gcf().color_map = wintercolormap(64);
scatter(points(:,1),p... |
d9100a8f6361f6e431e843cf452017444399f45f | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/reactdif/stepreactdif.sce | 7fba266f0ca67f9522bf3d337443384dee29ba71 | [] | 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 | 670 | sce | stepreactdif.sce | function [result]=stepreactdif(jobname,step,nsubsteps, dt, reactdifinputs,a,ksq,umat)
//set up the constants
in=reactdifinputs.consts;
concs=reactdifinputs.initialconcs;
//jobname="1"
n1=in(1); //n1
n2=in(2); //n2
n3=in(3); //n3
h=in(4); //h
nspec=in(5);
difpar=reactdifinputs.difpar... |
494cbe2e41cd8c4b6632877585af9b45ae904c6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH20/EX20.2/Ex20_2.sce | d93338bc09c1099eccbdb34166be3b2ae92e574d | [] | 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 | 530 | sce | Ex20_2.sce | clc
// Given that
n=0.5//exponent that depends on tool and workpiece material
C=400//constant
// Sample Problem on page no. 555
printf("\n # Increasing tool life by Reducing the Cutting Speed # \n")
V1=poly(0,"V1")
r=0.5// it is the ratio of V2/V1 where V1 and V2 are the initial and final cutting speed of... |
da65ed6410908e55107a3f038507df770fa844e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH4/EX4.3.b/4_3b.sce | 6b87bd78cadf28dd3ccedb135708e0f833291298 | [] | 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 | 483 | sce | 4_3b.sce | clc
//initialisation of variables
h3=174 //kj/kg
h4=178.02 //kj/kg
ieff=0.50 //isentropic efficiency of compression
wt=903.8 //kj/kg
feff=0.75 //furnace efficiency
ieeff=0.85//isentropic expansion efficiency
wp=4.02 //kj/kg
h1=2801 //kj/kg
//CALCULATIONS
hx=((h4-h3)/0.5)+174
wr=wp/ieff
atu=ieeff*wt
hs=h1... |
9baac567003733f108e392e222ec4ec9268b39df | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/startup_rtsx.sce | 21a1c62f9bc94ad93519f869f5bf3d53ca541e37 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 6,485 | sce | startup_rtsx.sce | // startup_RTSX.sce
// www.controlsystemslab.com July 2012
// script file to load all RTSX functions
printf("\nRobotic Tools for Scilab/Xcos (RTSX) Version 1.00\n");
printf("by Control Systems Lab, April, 2013\n");
printf("http://www.controlsystemslab.com/rtsx\n");
funcprot(0); // suppress warning when ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.